1 2015-08-05 Filip Pizlo <fpizlo@apple.com>
3 Unreviewed, roll out http://trac.webkit.org/changeset/187972.
5 * WebCoreSupport/WebFixedPositionContent.mm:
6 (WebFixedPositionContentDataLock):
7 (-[WebFixedPositionContent scrollOrZoomChanged:]):
8 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
9 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
10 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
11 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
13 2015-08-04 Filip Pizlo <fpizlo@apple.com>
15 Rename Mutex to DeprecatedMutex
16 https://bugs.webkit.org/show_bug.cgi?id=147675
18 Reviewed by Geoffrey Garen.
20 * WebCoreSupport/WebFixedPositionContent.mm:
21 (WebFixedPositionContentDataLock):
22 (-[WebFixedPositionContent scrollOrZoomChanged:]):
23 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
24 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
25 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
26 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
28 2015-08-04 Anders Carlsson <andersca@apple.com>
30 Remove database thread pause code
31 https://bugs.webkit.org/show_bug.cgi?id=147669
33 Reviewed by Daniel Bates.
35 * Misc/WebUIKitSupport.mm:
36 (WebKitSetBackgroundAndForegroundNotificationNames):
37 (applicationDidEnterBackground): Deleted.
38 (applicationWillEnterForeground): Deleted.
40 2015-07-21 Tim Horton <timothy_horton@apple.com>
42 Expose shrink-wrapping as UIKit support SPI
43 https://bugs.webkit.org/show_bug.cgi?id=147148
44 <rdar://problem/21920008>
49 2015-07-21 Tim Horton <timothy_horton@apple.com>
51 Expose shrink-wrapping as UIKit support SPI
52 https://bugs.webkit.org/show_bug.cgi?id=147148
53 <rdar://problem/21920008>
55 Reviewed by Simon Fraser.
57 * Misc/WebUIKitSupport.h:
58 * Misc/WebUIKitSupport.mm:
59 (WebKitCreatePathWithShrinkWrappedRects):
61 2015-07-02 Timothy Horton <timothy_horton@apple.com>
63 iOS WebKitLegacy should match WebKit2's viewport behavior
64 https://bugs.webkit.org/show_bug.cgi?id=146564
65 <rdar://problem/20574017>
67 Reviewed by Brent Fulgham.
69 * WebCoreSupport/WebChromeClientIOS.mm:
70 (dictionaryForViewportArguments):
72 2015-07-02 Timothy Horton <timothy_horton@apple.com>
74 iOS WebKitLegacy should match WebKit2's viewport behavior
75 https://bugs.webkit.org/show_bug.cgi?id=146540
76 <rdar://problem/20574017>
78 Reviewed by Dan Bernstein.
82 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
84 Unreviewed, attempt to fix the iOS build after r185968.
86 * WebCoreSupport/WebInspectorClientIOS.mm:
87 (WebInspectorFrontendClient::startWindowDrag):
89 2015-06-02 Brady Eidson <beidson@apple.com>
91 WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
92 rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
94 Reviewed by Alex Christensen.
96 * WebView/WebPDFViewPlaceholder.mm:
97 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
99 2015-05-25 Dan Bernstein <mitz@apple.com>
101 ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
102 https://bugs.webkit.org/show_bug.cgi?id=145372
104 Reviewed by Sam Weinig.
106 * Misc/WebGeolocationCoreLocationProvider.mm:
107 (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
108 (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
109 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
110 (-[WebGeolocationCoreLocationProvider start]): Ditto.
111 (-[WebGeolocationCoreLocationProvider stop]): Ditto.
112 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
114 2015-04-28 Brady Eidson <beidson@apple.com>
116 Consolidate most "frame load" arguments into FrameLoadRequest.
117 https://bugs.webkit.org/show_bug.cgi?id=144276
119 Reviewed by Alexey Proskuryakov.
121 * WebView/WebPDFViewPlaceholder.mm:
122 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
124 2015-04-13 Beth Dakin <bdakin@apple.com>
126 Add force property to MouseEvents
127 https://bugs.webkit.org/show_bug.cgi?id=143569
129 rdar://problem/20472954
131 Reviewed by Darin Adler.
133 Send the appropriate force with this simulated click event.
134 * WebView/WebPDFViewPlaceholder.mm:
135 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
137 2015-03-31 Myles C. Maxfield <mmaxfield@apple.com>
139 Move ExpansionBehaviorFlags and TextDirection to their own file
140 https://bugs.webkit.org/show_bug.cgi?id=143273
142 Reviewed by Simon Fraser.
144 This is a mechanical change. It just moves code around.
146 This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
148 * WebCoreSupport/WebFrameIOS.mm:
149 * WebCoreSupport/WebVisiblePosition.mm:
151 2015-03-09 David Kilzer <ddkilzer@apple.com>
153 [iOS] Fix build when compiling with dead code stripping disabled
154 <http://webkit.org/b/142467>
156 Reviewed by Simon Fraser.
158 * WebCoreSupport/WebInspectorClientIOS.mm:
159 (WebInspectorFrontendClient::save): Add missing method.
161 2015-02-14 Alexey Proskuryakov <ap@apple.com>
163 rel="noreferrer" should make window.opener null
164 https://bugs.webkit.org/show_bug.cgi?id=141579
166 Reviewed by Darin Adler.
168 * WebView/WebPDFViewPlaceholder.mm:
169 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
170 function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
172 2015-02-03 Enrica Casucci <enrica@apple.com>
174 [iOS] Add support for deleteFromInputWithFlags.
175 https://bugs.webkit.org/show_bug.cgi?id=141216
176 rdar://problem/19130081
178 Reviewed by Benjamin Poulain.
180 Adopts the new method as soon as it is available.
181 The patch also removes some obsolete code used for staging.
183 * DefaultDelegates/WebDefaultUIKitDelegate.m:
184 (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
185 (-[WebDefaultUIKitDelegate deleteFromInput]):
186 (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
187 (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
188 * WebView/WebUIKitDelegate.h:
190 2015-01-22 Andreas Kling <akling@apple.com>
192 Remove unused class EmojiFallbackFontSelector.
193 <https://webkit.org/b/140809>
195 Reviewed by Antti Koivisto.
197 This class no longer has any clients.
199 * Misc/EmojiFallbackFontSelector.cpp: Removed.
200 * Misc/EmojiFallbackFontSelector.h: Removed.
202 2015-01-13 Chris Dumez <cdumez@apple.com>
204 Unreviewed iOS build fix after r178375
206 Match FontSelector API changes.
208 * Misc/EmojiFallbackFontSelector.cpp:
209 (EmojiFallbackFontSelector::fallbackFontDataAt):
210 (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
211 * Misc/EmojiFallbackFontSelector.h:
213 2014-12-07 Dan Bernstein <mitz@apple.com>
215 Introduce and deploy a function that allocates and returns an instance of a soft-linked class
216 https://bugs.webkit.org/show_bug.cgi?id=139348
218 Reviewed by Anders Carlsson.
220 In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
221 picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
222 to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
223 doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
224 avoiding the ambiguity.
226 * Misc/WebGeolocationCoreLocationProvider.mm:
227 (-[WebGeolocationCoreLocationProvider createLocationManager]):
229 2014-12-06 Anders Carlsson <andersca@apple.com>
231 Fix build with newer versions of clang.
232 rdar://problem/18978687
234 Cast the result of +alloc to the right type.
236 * Misc/WebGeolocationCoreLocationProvider.mm:
237 (-[WebGeolocationCoreLocationProvider createLocationManager]):
238 * WebCoreSupport/WebSelectionRect.m:
239 (+[WebSelectionRect selectionRect]):
241 2014-11-20 Benjamin Poulain <bpoulain@apple.com>
243 Remove the remaining vestiges of minimal-ui
244 https://bugs.webkit.org/show_bug.cgi?id=138890
246 Reviewed by Sam Weinig.
248 * WebCoreSupport/WebChromeClientIOS.mm:
249 (dictionaryForViewportArguments):
252 2014-11-19 Daniel Bates <dabates@apple.com>
254 [iOS] Make WebKit build with public iOS SDK
255 https://bugs.webkit.org/show_bug.cgi?id=136863
257 Reviewed by David Kilzer.
259 * Misc/WebGeolocationCoreLocationProvider.mm: Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
260 * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
261 * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
263 2014-11-14 Daniel Bates <dabates@apple.com>
265 [iOS] CoreGraphics SPI not available in public SDK
266 https://bugs.webkit.org/show_bug.cgi?id=138709
268 Reviewed by David Kilzer.
270 Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
272 * WebCoreSupport/WebFixedPositionContent.mm:
274 2014-10-20 Andy Estes <aestes@apple.com>
278 * WebCoreSupport/WebFrameIOS.mm:
279 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
280 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
281 * WebCoreSupport/WebVisiblePosition.mm:
282 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
283 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
285 2014-10-15 Chris Dumez <cdumez@apple.com>
287 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
288 https://bugs.webkit.org/show_bug.cgi?id=137727
290 Reviewed by Darin Adler.
292 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
294 * WebCoreSupport/WebVisiblePosition.mm:
295 (-[DOMHTMLInputElement startPosition]):
296 (-[DOMHTMLInputElement endPosition]):
297 (-[DOMHTMLTextAreaElement startPosition]):
298 (-[DOMHTMLTextAreaElement endPosition]):
300 2014-10-03 Tim Horton <timothy_horton@apple.com>
302 REGRESSION (r165896): UIWebView PDFs have a forced black background
303 https://bugs.webkit.org/show_bug.cgi?id=137387
304 <rdar://problem/17948411>
306 Reviewed by David Kilzer.
308 * WebView/WebPDFViewPlaceholder.h:
309 * WebView/WebPDFViewPlaceholder.mm:
310 (-[WebPDFViewPlaceholder layout]):
311 Remove an ill-advised attempt to force the PDF background color from WebKit.
312 The idea was that we would maintain Safari's black background except if there
313 were no pages in the PDF, in which case we would use white instead to avoid
314 having an all-black view. However, this broke clients who didn't want a black
315 background, because we were now forcing it to black. Also, we don't need to
316 maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
317 This wasn't an important part of the patch, in any case.
319 2014-10-03 Tim Horton <timothy_horton@apple.com>
321 REGRESSION (r173265): UIWebView PDF loading is completely broken
322 https://bugs.webkit.org/show_bug.cgi?id=137386
323 <rdar://problem/18524717>
325 Reviewed by David Kilzer.
327 * WebView/WebPDFViewPlaceholder.h:
328 * WebView/WebPDFViewPlaceholder.mm:
329 (-[WebPDFViewPlaceholder layout]):
330 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
331 Restore important code that creates the CGDataProvider and sets _didFinishLoad
332 and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
333 removed in the aforementioned revision.
335 2014-10-01 Christophe Dumez <cdumez@apple.com>
337 Have is<>(T*) function do a null check on the pointer argument
338 https://bugs.webkit.org/show_bug.cgi?id=137333
340 Reviewed by Gavin Barraclough.
342 Have is<>(T*) function do a null check on the argument instead of a
343 simple assertion. This makes sense for 2 reasons:
344 1. It is more consistent with downcast<>(T*), which will succeed even
345 if the argument is a nullptr.
346 2. It simplifies the code a bit as it gets rid of a lot of explicit
349 * WebCoreSupport/WebChromeClientIOS.mm:
350 (WebChromeClientIOS::focusedElementChanged):
352 2014-09-29 Daniel Bates <dabates@apple.com>
354 [iOS] Remove CoreLocation workaround
355 https://bugs.webkit.org/show_bug.cgi?id=137198
357 Reviewed by Dan Bernstein.
359 Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
360 committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
362 * Misc/WebGeolocationCoreLocationProvider.mm:
363 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
364 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
366 2014-09-24 Daniel Bates <dabates@apple.com>
368 [iOS] Another iOS build fix; workaround for CoreLocation
369 https://bugs.webkit.org/show_bug.cgi?id=137104
370 <rdar://problem/18450785>
372 Rubber-stamped by Benjamin Poulain.
374 Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
375 and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
376 We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
378 * Misc/WebGeolocationCoreLocationProvider.mm:
379 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
380 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
382 2014-09-24 Daniel Bates <dabates@apple.com>
384 [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
385 https://bugs.webkit.org/show_bug.cgi?id=137101
386 <rdar://problem/18449815>
388 Reviewed by Mark Lam.
390 * Misc/WebGeolocationCoreLocationProvider.mm:
391 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
392 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
394 2014-09-24 Christophe Dumez <cdumez@apple.com>
396 Use is<HTML*Element>() instead of isHTML*Element() - Part 1
397 https://bugs.webkit.org/show_bug.cgi?id=137068
399 Reviewed by Ryosuke Niwa.
401 Start using is<HTML*Element>() instead of isHTML*Element().
402 Remaining usages will be updated in a follow-up patch to
403 reduce the size of the change.
405 * WebCoreSupport/WebChromeClientIOS.mm:
406 (WebChromeClientIOS::focusedElementChanged):
408 2014-09-21 Timothy Hatcher <timothy@apple.com>
410 Make the Web Inspector use a separate web process.
412 https://bugs.webkit.org/show_bug.cgi?id=135120
414 Reviewed by Anders Carlsson.
416 * WebCoreSupport/WebInspectorClientIOS.mm:
417 (WebInspectorClient::WebInspectorClient):
418 Removed m_frontendClient initialization since it is
419 now a std::unique_ptr that defaults to nullptr.
421 2014-09-23 Chris Dumez <cdumez@apple.com>
423 Use downcast<HTML*Element>() instead of toHTML*Element()
424 https://bugs.webkit.org/show_bug.cgi?id=137007
426 Reviewed by Benjamin Poulain.
428 Use downcast<HTML*Element>() instead of toHTML*Element().
430 * WebCoreSupport/WebChromeClientIOS.mm:
431 (WebChromeClientIOS::focusedElementChanged):
433 2014-09-17 Daniel Bates <dabates@apple.com>
435 Unreviewed, rolling out r173695.
437 Broke building third-party Legacy WebKit apps; will
442 "[iOS] Make WebCore build with public iOS SDK"
443 https://bugs.webkit.org/show_bug.cgi?id=136487
444 http://trac.webkit.org/changeset/173695
446 2014-09-17 Daniel Bates <dabates@apple.com>
448 [iOS] Make WebCore build with public iOS SDK
449 https://bugs.webkit.org/show_bug.cgi?id=136487
451 Reviewed by David Kilzer.
453 Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
455 * WebCoreSupport/WebFixedPositionContent.mm:
457 2014-09-05 Simon Fraser <simon.fraser@apple.com>
459 Remove some PLATFORM(IOS) code in Color.h/cpp
460 https://bugs.webkit.org/show_bug.cgi?id=136582
462 Reviewed by Dan Bates.
464 createCGColorWithDeviceWhite() is only used here so make it a local static function.
466 * WebView/WebPDFViewIOS.mm:
467 (createCGColorWithDeviceWhite):
469 2014-09-04 Pratik Solanki <psolanki@apple.com>
471 Remove iOS specific disk image cache
472 https://bugs.webkit.org/show_bug.cgi?id=136517
474 Reviewed by Antti Koivisto.
476 Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
477 this now since we don't enable it in WebKit2 on iOS.
479 * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
480 * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
481 * WebView/WebPDFViewPlaceholder.mm:
482 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
483 (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
484 (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
486 2014-08-31 Tim Horton <timothy_horton@apple.com>
488 Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
489 https://bugs.webkit.org/show_bug.cgi?id=136416
491 Reviewed by Dan Bernstein.
493 * WebView/WebPDFViewIOS.mm:
494 (-[WebPDFView drawPage:]):
495 (-[WebPDFView drawRect:]):
496 * WebView/WebPlainWhiteView.mm:
497 We only end up filling, so only set the fill color.
499 2014-08-22 Simon Fraser <simon.fraser@apple.com>
501 Implement paint flashing in the WK1 InspectorOverlay page
502 https://bugs.webkit.org/show_bug.cgi?id=136138
504 Reviewed by Sam Weinig, Joseph Pecoraro.
506 Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
507 We avoid allocating backing store for this canvas until we have paint rects.
509 Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
510 an array of rects, and pushes them to the page when they change, before forcing a paint.
512 Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
513 WebKit WebInspectorClient, but don't yet implement paint flashing there.
515 * WebCoreSupport/WebInspectorClientIOS.mm:
516 (WebInspectorClient::setShowPaintRects):
517 (WebInspectorClient::showPaintRect):
519 2014-08-18 Andy Estes <aestes@apple.com>
521 Fix the iOS build after r172709.
523 * WebView/WebPDFViewPlaceholder.mm:
524 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
526 2014-07-03 Daniel Bates <dabates@apple.com>
529 https://bugs.webkit.org/show_bug.cgi?id=134500
531 Rubber-stamped by Anders Carlsson.
533 Substitute WTF::move() for std::move().
535 * WebCoreSupport/WebFixedPositionContent.mm:
536 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
537 * WebCoreSupport/WebInspectorClientIOS.mm:
538 (WebInspectorFrontendClient::WebInspectorFrontendClient):
540 2014-07-01 Alex Christensen <achristensen@webkit.org>
542 [iOS] Compile fix with pointer lock enabled.
543 https://bugs.webkit.org/show_bug.cgi?id=134472
545 Reviewed by Pratik Solanki.
547 * WebView/WebPDFViewPlaceholder.mm:
548 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
549 Add parameters required for pointer lock.
551 2014-06-05 Benjamin Poulain <bpoulain@apple.com>
553 [iOS][WK2] Add device orientation
554 https://bugs.webkit.org/show_bug.cgi?id=133530
556 Reviewed by Tim Horton.
558 Change WebKit1 to provide the deviceOrientation as pull instead of push.
560 * DefaultDelegates/WebDefaultUIKitDelegate.m:
561 (-[WebDefaultUIKitDelegate deviceOrientation]):
562 * WebCoreSupport/WebChromeClientIOS.h:
563 * WebCoreSupport/WebChromeClientIOS.mm:
564 (WebChromeClientIOS::deviceOrientation):
565 * WebView/WebUIKitDelegate.h:
567 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
569 [iOS] Switch geolocation to an explicit authorization query model
570 https://bugs.webkit.org/show_bug.cgi?id=132717
571 <rdar://problem/16762390>
573 Reviewed by Sam Weinig.
575 WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
577 The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
578 The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
579 listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
581 We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
582 before invoking "start".
583 If "start" is called and the authorization is not granted, we assume geolocation was reset since
584 the last time authorization was requested, and we reset the client.
587 WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
588 to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
590 * Misc/WebGeolocationCoreLocationProvider.h:
591 * Misc/WebGeolocationCoreLocationProvider.mm:
592 (-[WebGeolocationCoreLocationProvider createLocationManager]):
593 (-[WebGeolocationCoreLocationProvider dealloc]):
594 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
595 (isAuthorizationGranted):
596 (-[WebGeolocationCoreLocationProvider start]):
597 (-[WebGeolocationCoreLocationProvider stop]):
598 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
599 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
600 (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
601 * Misc/WebGeolocationProviderIOS.mm:
602 (-[WebGeolocationProviderIOS suspend]):
603 (-[WebGeolocationProviderIOS resume]):
604 (-[WebGeolocationProviderIOS registerWebView:]):
605 (-[WebGeolocationProviderIOS unregisterWebView:]):
606 (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
607 (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
608 (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
609 (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
610 (-[WebGeolocationProviderIOS stopTrackingWebView:]):
611 (-[WebGeolocationProviderIOS resetGeolocation]):
612 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
613 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
614 (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
615 (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
616 (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
617 (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
618 (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
619 (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
620 (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
621 (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
622 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
623 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
625 2014-04-30 Anders Carlsson <andersca@apple.com>
627 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
628 https://bugs.webkit.org/show_bug.cgi?id=132399
629 <rdar://problem/15920046>
631 Reviewed by Dan Bernstein.
633 Import WebKitLegacy headers instead of WebKit headers.
635 * DefaultDelegates/WebDefaultFormDelegate.h:
636 * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
637 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
638 * DefaultDelegates/WebDefaultUIKitDelegate.h:
639 * Misc/WebGeolocationProviderIOS.h:
640 * Misc/WebNSStringExtrasIPhone.h:
641 * WebCoreSupport/WebFrameIOS.h:
642 * WebCoreSupport/WebFrameIOS.mm:
643 * WebCoreSupport/WebFrameIPhone.h:
644 * WebCoreSupport/WebSelectionRect.h:
645 * WebCoreSupport/WebVisiblePosition.h:
646 * WebView/WebPDFViewIOS.h:
647 * WebView/WebPDFViewIOS.mm:
648 * WebView/WebPDFViewIPhone.h:
649 * WebView/WebPDFViewPlaceholder.h:
650 * WebView/WebPDFViewPlaceholder.mm:
651 * WebView/WebPlainWhiteView.h:
652 * WebView/WebUIKitDelegate.h:
654 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
656 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
657 https://bugs.webkit.org/show_bug.cgi?id=132110
659 Reviewed by Tim Horton.
661 Updates callers to use '.' instead of '->'.
663 No new tests are necessary because there should be no behavior change.
665 * Misc/EmojiFallbackFontSelector.cpp:
666 (EmojiFallbackFontSelector::getFallbackFontData):
668 2014-04-17 Daniel Bates <dabates@apple.com>
670 [iOS] Hook up screen.{availHeight, availWidth, height, width}
671 https://bugs.webkit.org/show_bug.cgi?id=131821
672 <rdar://problem/16413795>
674 Reviewed by Benjamin Poulain and Tim Horton.
676 Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
678 Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
680 * WebCoreSupport/WebChromeClientIOS.h:
681 * WebCoreSupport/WebChromeClientIOS.mm:
682 (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
683 (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
684 should consult it's associated WAKWindow for the available screen size.
686 2014-04-08 Alexey Proskuryakov <ap@apple.com>
688 Rename Clipboard to DataTransfer
689 https://bugs.webkit.org/show_bug.cgi?id=131371
691 Reviewed by Anders Carlsson.
693 * WebView/WebPDFViewPlaceholder.mm:
695 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
697 [iOS] Remove the legacy string drawing code
698 https://bugs.webkit.org/show_bug.cgi?id=131088
700 Reviewed by Sam Weinig.
702 * Misc/WebNSStringDrawing.h: Removed.
703 * Misc/WebNSStringDrawing.mm: Removed.
704 * Misc/WebUIKitSupport.h:
706 2014-04-02 Mark Rowe <mrowe@apple.com>
708 Build fix after r166684.
710 * WebView/WebPDFViewPlaceholder.mm:
711 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
713 2014-03-31 Anders Carlsson <andersca@apple.com>
717 * WebCoreSupport/WebChromeClientIOS.h:
718 * WebCoreSupport/WebChromeClientIOS.mm:
719 * WebCoreSupport/WebFixedPositionContent.mm:
720 * WebCoreSupport/WebFixedPositionContentInternal.h:
722 2014-03-30 Dan Bernstein <mitz@apple.com>
724 Tried to fix the iOS build.
726 * Misc/WebGeolocationCoreLocationProvider.mm:
727 (-[WebGeolocationCoreLocationProvider start]):
728 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
730 2014-03-27 Enrica Casucci <enrica@apple.com>
732 Add support for AirPlay picker for iOS.
733 https://bugs.webkit.org/show_bug.cgi?id=130876
734 <rdar://problem/15349859>
736 Reviewed by Benjamin Poulain.
738 Adds support for the AirPlay picker for WebKit.
739 The actual picker is implemented in UIKit.
741 * DefaultDelegates/WebDefaultUIKitDelegate.m:
742 (-[WebDefaultUIKitDelegate interactionLocation]):
743 (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
744 * WebCoreSupport/WebChromeClientIOS.mm:
745 (WebChromeClientIOS::showPlaybackTargetPicker):
746 * WebCoreSupport/WebFrameIOS.h:
747 * WebCoreSupport/WebFrameIOS.mm:
748 (-[WebFrame elementRectAtPoint:]):
749 * WebView/WebUIKitDelegate.h:
751 2014-03-27 Enrica Casucci <enrica@apple.com>
753 Add support for AirPlay picker in WK2 for iOS.
754 https://bugs.webkit.org/show_bug.cgi?id=130855
755 <rdar://problem/15349859>
757 Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
759 Adds stub for new WebKit chrome client method.
761 * WebCoreSupport/WebChromeClientIOS.h:
762 * WebCoreSupport/WebChromeClientIOS.mm:
763 (WebChromeClientIOS::showAirPlayRoutePicker):
765 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
767 [iOS] Inspector View Indication Support
768 https://bugs.webkit.org/show_bug.cgi?id=130709
770 Reviewed by Simon Fraser.
772 * WebCoreSupport/WebInspectorClientIOS.mm:
773 (WebInspectorClient::showInspectorIndication):
774 (WebInspectorClient::hideInspectorIndication):
777 2014-03-22 Darin Adler <darin@apple.com>
779 Remove String::deprecatedCharacters
780 https://bugs.webkit.org/show_bug.cgi?id=126854
782 Reviewed by Sam Weinig.
784 * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
785 * Misc/WebNSStringDrawing.mm:
786 (+[NSString _web_setWordRoundingEnabled:]):
787 (+[NSString _web_wordRoundingEnabled]):
788 (+[NSString _web_setWordRoundingAllowed:]):
789 (+[NSString _web_wordRoundingAllowed]):
790 (+[NSString _web_setAscentRoundingEnabled:]):
791 (+[NSString _web_ascentRoundingEnabled]):
792 (-[NSString _web_drawAtPoint:withFont:]):
793 (-[NSString _web_sizeWithFont:]):
794 (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
795 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
796 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
797 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
798 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
799 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
800 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
801 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
802 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
803 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
804 (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
805 (-[NSString _web_sizeInRect:withFont:ellipsis:]):
806 (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
807 (-[NSString _web_sizeForWidth:withAttributes:]):
808 (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
809 (-[NSString _web_sizeInRect:withAttributes:]):
810 (-[NSString _web_drawInRect:withAttributes:]):
811 Emptied out all these functions since callers aren't really using them any more.
813 2014-03-21 Tim Horton <timothy_horton@apple.com>
815 Always retrieve the screen scale factor from WKSI
816 <rdar://problem/16329679>
818 Reviewed by Sam Weinig.
820 * Misc/WebUIKitSupport.mm:
821 (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
823 2014-03-19 Tim Horton <timothy_horton@apple.com>
825 [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
826 https://bugs.webkit.org/show_bug.cgi?id=130444
827 <rdar://problem/15580682>
829 Reviewed by Sam Weinig.
831 * WebView/WebPDFViewPlaceholder.h:
832 * WebView/WebPDFViewPlaceholder.mm:
833 (-[WebPDFViewPlaceholder layout]):
834 Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
837 Don't divide by zero if we have no pages, instead return an empty bounding size.
839 (-[WebPDFViewPlaceholder _computePageRects:]):
840 If we have an empty document, set the background color to white.
841 Otherwise, set it to black. It's not clear that black is the ideal
842 background color, but this retains existing behavior.
844 2014-03-14 Maciej Stachowiak <mjs@apple.com>
846 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
847 https://bugs.webkit.org/show_bug.cgi?id=130276
848 <rdar://problem/16266927>
850 Reviewed by Simon Fraser.
852 * WebCoreSupport/WebCaretChangeListener.h:
853 * WebCoreSupport/WebInspectorClientIOS.mm:
854 * WebView/WebPlainWhiteView.h:
855 * WebView/WebPlainWhiteView.mm:
857 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
859 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
860 https://bugs.webkit.org/show_bug.cgi?id=129612
862 Reviewed by Darin Adler.
864 For new code use static NeverDestroyed<T> instead.
866 * Misc/EmojiFallbackFontSelector.cpp:
867 (EmojiFallbackFontSelector::getFallbackFontData):
868 * WebCoreSupport/WebFixedPositionContent.mm:
869 (WebFixedPositionContentDataLock):
871 2014-03-13 Benjamin Poulain <bpoulain@apple.com>
873 The viewport code should not depend on WebKitSystemInterface
874 https://bugs.webkit.org/show_bug.cgi?id=130218
876 Reviewed by Tim Horton.
878 * WebCoreSupport/WebChromeClientIOS.h:
879 * WebCoreSupport/WebChromeClientIOS.mm:
880 (WebChromeClientIOS::viewportScreenSize):
881 Get the viewport size from WebKitSystemInterface.
883 2014-03-12 Enrica Casucci <enrica@apple.com>
885 Incorrect reference counting of Range in WebFrame.
886 https://bugs.webkit.org/show_bug.cgi?id=130160
887 <rdar://problem/16282535>
889 Reviewed by Anders Carlsson.
891 * WebCoreSupport/WebFrameIOS.mm:
892 (-[WebFrame selectionRects]):
894 2014-03-12 Simon Fraser <simon.fraser@apple.com>
897 https://bugs.webkit.org/show_bug.cgi?id=130146
899 Reviewed by Beth Dakin.
901 Fix spelling (constained -> constrained).
903 * WebCoreSupport/WebFixedPositionContent.mm:
904 (-[WebFixedPositionContent scrollOrZoomChanged:]):
905 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
906 (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
907 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
908 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
910 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
912 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
913 https://bugs.webkit.org/show_bug.cgi?id=128681
915 Reviewed by Timothy Hatcher.
917 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
918 WebCore/inspector/*. Besides files in there, a few other files in
919 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
920 and WebCore/testing were touched.
922 * WebCoreSupport/WebInspectorClientIOS.mm:
924 2014-02-12 Benjamin Poulain <bpoulain@apple.com>
926 [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
927 https://bugs.webkit.org/show_bug.cgi?id=128639
929 Reviewed by Andreas Kling.
931 * WebCoreSupport/WebChromeClientIOS.h:
932 * WebCoreSupport/WebChromeClientIOS.mm:
933 (WebChromeClientIOS::didReceiveMobileDocType):
935 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
937 Build fix after r163739.
939 * WebCoreSupport/WebFrameIOS.mm:
940 (-[WebFrame collapseSelection]):
941 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
943 2014-02-03 Dan Bernstein <mitz@apple.com>
945 More iOS build fixing.
947 * Misc/WebNSStringDrawing.mm:
948 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
949 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
951 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
953 Remove inline member functions of FrameSelection that access m_selection
954 https://bugs.webkit.org/show_bug.cgi?id=127986
956 Reviewed by Enrica Casucci.
958 * WebCoreSupport/WebFrameIOS.mm:
959 (-[WebFrame extendSelection:]):
960 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
961 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
962 (-[WebFrame expandSelectionToSentence]):
963 (-[WebFrame setBaseWritingDirection:]):
964 (-[WebFrame smartExtendRangedSelection:]):
966 2014-01-30 Andrei Bucur <abucur@adobe.com>
968 Remove the ACCELERATED_COMPOSITING flag
969 https://bugs.webkit.org/show_bug.cgi?id=127833
971 Reviewed by Antti Koivisto.
973 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
976 * WebCoreSupport/WebChromeClientIOS.h:
977 * WebCoreSupport/WebChromeClientIOS.mm:
978 (WebChromeClientIOS::attachRootGraphicsLayer):
979 * WebView/WebUIKitDelegate.h:
981 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
983 Unreviewed iOS build fix. FALLTHROUGHs for iOS.
985 * Misc/WebNSStringDrawing.mm:
988 2014-01-27 Andy Estes <aestes@apple.com>
990 Scrub WebKit API headers of WTF macros
991 https://bugs.webkit.org/show_bug.cgi?id=127706
993 Reviewed by David Kilzer.
995 * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
998 2014-01-15 Sam Weinig <sam@webkit.org>
1000 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
1001 https://bugs.webkit.org/show_bug.cgi?id=126856
1003 Reviewed by Ryosuke Niwa.
1005 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
1006 now unnecessary up-conversions to UTF-16 in the process.
1008 * Misc/WebNSStringDrawing.mm:
1010 2014-01-16 Anders Carlsson <andersca@apple.com>
1012 Change all uses of FINAL to final now that all our compilers support it
1013 https://bugs.webkit.org/show_bug.cgi?id=127142
1015 Reviewed by Benjamin Poulain.
1017 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1019 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
1021 Remove workaround for compilers not supporting explicit override control
1022 https://bugs.webkit.org/show_bug.cgi?id=127111
1024 Reviewed by Anders Carlsson.
1026 Now all compilers support explicit override control, this workaround can be removed.
1028 * Misc/EmojiFallbackFontSelector.h:
1029 * Storage/WebSQLiteDatabaseTrackerClient.h:
1030 * WebCoreSupport/PopupMenuIOS.h:
1031 * WebCoreSupport/SearchPopupMenuIOS.h:
1032 * WebCoreSupport/WebChromeClientIOS.h:
1033 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1035 2014-01-16 Andy Estes <aestes@apple.com>
1037 [iOS] Fix build issues with exported headers
1039 * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
1042 2014-01-14 Simon Fraser <simon.fraser@apple.com>
1044 Avoid PLATFORM() macros in exported headers.
1046 * WebView/WebPDFViewPlaceholder.h:
1048 2014-01-14 Simon Fraser <simon.fraser@apple.com>
1050 Clean up exports and headers for iOS.
1052 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
1053 * WebCoreSupport/WebFrameIOS.h: Ditto.
1054 * WebCoreSupport/WebSelectionRect.h: Ditto.
1056 2014-01-14 Dean Jackson <dino@apple.com>
1058 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
1062 2014-01-14 Simon Fraser <simon.fraser@apple.com>
1064 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
1066 * WebCoreSupport/WebInspectorClientIOS.mm:
1067 (WebInspectorClient::indicate):
1068 (WebInspectorClient::hideIndication):
1070 2014-01-13 Simon Fraser <simon.fraser@apple.com>
1072 More work towards getting iOS WK1 building.
1074 * WebCoreSupport/WebFrameIOS.mm:
1075 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
1076 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
1078 2014-01-12 Darin Adler <darin@apple.com>
1080 Add type checking to isEqual methods
1081 https://bugs.webkit.org/show_bug.cgi?id=126862
1083 Reviewed by Anders Carlsson.
1085 * WebCoreSupport/WebVisiblePosition.mm:
1086 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
1087 Add a FIXME about the lack of a hash method override. Simplified by
1088 removing the unneeded local variables.
1090 2014-01-02 Andy Estes <aestes@apple.com>
1092 [iOS] Upstream remainder of minimal-ui viewport changes
1093 https://bugs.webkit.org/show_bug.cgi?id=126410
1095 Reviewed by Sam Weinig.
1097 * WebCoreSupport/WebChromeClientIOS.mm:
1098 (dictionaryForViewportArguments):
1101 2013-12-31 Andy Estes <aestes@apple.com>
1103 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1104 https://bugs.webkit.org/show_bug.cgi?id=125746
1106 Reviewed by David Kilzer.
1108 * WebCoreSupport/WebVisiblePosition.mm:
1109 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1110 to mention iOS rather than iPhone.
1112 2013-12-27 Daniel Bates <dabates@apple.com>
1114 [iOS] Upstream WebCore/page changes
1115 https://bugs.webkit.org/show_bug.cgi?id=126180
1117 Reviewed by Darin Adler.
1119 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1121 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
1123 Consolidate various frame snapshot capabilities.
1124 https://bugs.webkit.org/show_bug.cgi?id=124325
1126 Reviewed by Darin Adler.
1128 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1130 2013-12-04 Andy Estes <aestes@apple.com>
1132 [iOS] Upstream build fixes in Source/WebKit/ios/
1133 https://bugs.webkit.org/show_bug.cgi?id=125230
1135 Reviewed by Sam Weinig.
1137 * DefaultDelegates/WebDefaultUIKitDelegate.m:
1138 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1139 * Misc/WebNSStringDrawing.mm:
1141 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1142 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1143 * Misc/WebUIKitSupport.mm:
1145 * WebCoreSupport/WebChromeClientIOS.h:
1146 * WebCoreSupport/WebChromeClientIOS.mm:
1147 (WebChromeClientIOS::didReceiveMobileDocType):
1148 (WebChromeClientIOS::focusedElementChanged):
1149 * WebCoreSupport/WebFrameIOS.mm:
1150 (-[WebFrame clearSelection]):
1151 (-[WebFrame selectionState]):
1152 (-[WebFrame collapseSelection]):
1153 (-[WebFrame extendSelection:]):
1154 (-[WebFrame selectionRects]):
1155 (-[WebFrame setRangedSelectionWithExtentPoint:]):
1156 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1157 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1158 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1159 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1160 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1161 (-[WebFrame expandSelectionToSentence]):
1162 (-[WebFrame setBaseWritingDirection:]):
1163 (-[WebFrame moveSelectionToStart]):
1164 (-[WebFrame moveSelectionToEnd]):
1165 (-[WebFrame moveSelectionToPoint:]):
1166 (-[WebFrame setSelectionGranularity:]):
1167 (-[WebFrame smartExtendRangedSelection:]):
1168 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1169 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1170 * WebCoreSupport/WebInspectorClientIOS.mm:
1171 (WebInspectorClient::WebInspectorClient):
1172 (WebInspectorClient::didSetSearchingForNode):
1173 (WebInspectorClient::setupRemoteConnection):
1174 (WebInspectorClient::teardownRemoteConnection):
1175 * WebCoreSupport/WebVisiblePosition.mm:
1176 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1177 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1178 (-[DOMHTMLInputElement startPosition]):
1179 (-[DOMHTMLInputElement endPosition]):
1180 (-[DOMHTMLTextAreaElement startPosition]):
1181 (-[DOMHTMLTextAreaElement endPosition]):
1182 * WebView/WebPDFViewIOS.mm:
1183 (+[WebPDFView shadowColor]):
1184 (+[WebPDFView backgroundColor]):
1185 (-[WebPDFView _checkPDFTitle]):
1186 * WebView/WebPDFViewPlaceholder.mm:
1187 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1188 * WebView/WebUIKitDelegate.h:
1190 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
1192 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1193 https://bugs.webkit.org/show_bug.cgi?id=124613
1195 Reviewed by Timothy Hatcher.
1197 * WebCoreSupport/WebInspectorClientIOS.mm:
1198 (WebInspectorClient::WebInspectorClient):
1199 (WebInspectorClient::inspectorDestroyed):
1201 2013-12-03 Ralph Thomas <ralpht@gmail.com>
1203 Typo: FixedPositionConstaint -> FixedPositionConstraint
1204 https://bugs.webkit.org/show_bug.cgi?id=125171
1206 Reviewed by Simon Fraser.
1208 * WebCoreSupport/WebFixedPositionContent.mm:
1209 (-[WebFixedPositionContent scrollOrZoomChanged:]):
1211 2013-11-18 Commit Queue <commit-queue@webkit.org>
1213 Unreviewed, rolling out r159455.
1214 http://trac.webkit.org/changeset/159455
1215 https://bugs.webkit.org/show_bug.cgi?id=124568
1217 broke two api tests (see bug 124564) (Requested by thorton on
1220 * WebCoreSupport/WebFrameIOS.mm:
1222 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
1224 Consolidate various frame snapshot capabilities.
1225 https://bugs.webkit.org/show_bug.cgi?id=124325
1227 Reviewed by Timothy Hatcher.
1229 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1231 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
1233 Remove a PLATFORM(IOS) from WebKit Private Header
1234 https://bugs.webkit.org/show_bug.cgi?id=124014
1236 Reviewed by Timothy Hatcher.
1240 2013-10-29 Andy Estes <aestes@apple.com>
1242 [iOS] Upstream Source/WebKit/ios/
1243 https://bugs.webkit.org/show_bug.cgi?id=123470
1245 Reviewed by Sam Weinig.
1247 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1248 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1249 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1250 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1251 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1252 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1253 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1254 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1255 * Misc/EmojiFallbackFontSelector.cpp: Added.
1256 * Misc/EmojiFallbackFontSelector.h: Added.
1257 * Misc/MemoryMeasure.h: Added.
1258 * Misc/MemoryMeasure.mm: Added.
1259 * Misc/WebGeolocationCoreLocationProvider.h: Added.
1260 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1261 * Misc/WebGeolocationProviderIOS.h: Added.
1262 * Misc/WebGeolocationProviderIOS.mm: Added.
1263 * Misc/WebNSStringDrawing.h: Added.
1264 * Misc/WebNSStringDrawing.mm: Added.
1265 * Misc/WebNSStringExtrasIOS.h: Added.
1266 * Misc/WebNSStringExtrasIOS.m: Added.
1267 * Misc/WebNSStringExtrasIPhone.h: Added.
1268 * Misc/WebUIKitSupport.h: Added.
1269 * Misc/WebUIKitSupport.mm: Added.
1270 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1271 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1272 * WebCoreSupport/PopupMenuIOS.h: Added.
1273 * WebCoreSupport/PopupMenuIOS.mm: Added.
1274 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1275 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1276 * WebCoreSupport/WebCaretChangeListener.h: Added.
1277 * WebCoreSupport/WebChromeClientIOS.h: Added.
1278 * WebCoreSupport/WebChromeClientIOS.mm: Added.
1279 * WebCoreSupport/WebFixedPositionContent.h: Added.
1280 * WebCoreSupport/WebFixedPositionContent.mm: Added.
1281 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1282 * WebCoreSupport/WebFrameIOS.h: Added.
1283 * WebCoreSupport/WebFrameIOS.mm: Added.
1284 * WebCoreSupport/WebFrameIPhone.h: Added.
1285 * WebCoreSupport/WebGeolocation.mm: Added.
1286 * WebCoreSupport/WebGeolocationInternal.h: Added.
1287 * WebCoreSupport/WebGeolocationPrivate.h: Added.
1288 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1289 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1290 * WebCoreSupport/WebSelectionRect.h: Added.
1291 * WebCoreSupport/WebSelectionRect.m: Added.
1292 * WebCoreSupport/WebVisiblePosition.h: Added.
1293 * WebCoreSupport/WebVisiblePosition.mm: Added.
1294 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1295 * WebKit.iOS.exp: Added.
1296 * WebView/WebFrameViewWAKCompatibility.m: Added.
1297 * WebView/WebMailDelegate.h: Added.
1298 * WebView/WebPDFViewIOS.h: Added.
1299 * WebView/WebPDFViewIOS.mm: Added.
1300 * WebView/WebPDFViewIPhone.h: Added.
1301 * WebView/WebPDFViewPlaceholder.h: Added.
1302 * WebView/WebPDFViewPlaceholder.mm: Added.
1303 * WebView/WebPlainWhiteView.h: Added.
1304 * WebView/WebPlainWhiteView.mm: Added.
1305 * WebView/WebUIKitDelegate.h: Added.
1307 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
1309 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1310 https://bugs.webkit.org/show_bug.cgi?id=123111
1312 Reviewed by Timothy Hatcher.
1314 iOS does not have a local inspector, only remote. So give it a custom
1315 implementation separate from the WebKit/mac WebInspectorClient
1316 implementation which handles an attaching/detaching local inspector.
1318 * WebKit.xcodeproj/project.pbxproj:
1319 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1320 (WebInspectorClient::WebInspectorClient):
1321 (WebInspectorClient::inspectorDestroyed):
1322 (WebInspectorClient::openInspectorFrontend):
1323 (WebInspectorClient::bringFrontendToFront):
1324 (WebInspectorClient::closeInspectorFrontend):
1325 (WebInspectorClient::didResizeMainFrame):
1326 (WebInspectorClient::highlight):
1327 (WebInspectorClient::hideHighlight):
1328 (WebInspectorClient::didSetSearchingForNode):
1329 (WebInspectorClient::sendMessageToFrontend):
1330 (WebInspectorClient::sendMessageToBackend):
1331 (WebInspectorClient::setupRemoteConnection):
1332 (WebInspectorClient::teardownRemoteConnection):
1333 (WebInspectorClient::hasLocalSession):
1334 (WebInspectorClient::canBeRemotelyInspected):
1335 (WebInspectorClient::inspectedWebView):
1336 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1337 (WebInspectorFrontendClient::attachAvailabilityChanged):
1338 (WebInspectorFrontendClient::frontendLoaded):
1339 (WebInspectorFrontendClient::localizedStringsURL):
1340 (WebInspectorFrontendClient::bringToFront):
1341 (WebInspectorFrontendClient::closeWindow):
1342 (WebInspectorFrontendClient::disconnectFromBackend):
1343 (WebInspectorFrontendClient::attachWindow):
1344 (WebInspectorFrontendClient::detachWindow):
1345 (WebInspectorFrontendClient::setAttachedWindowHeight):
1346 (WebInspectorFrontendClient::setAttachedWindowWidth):
1347 (WebInspectorFrontendClient::setToolbarHeight):
1348 (WebInspectorFrontendClient::inspectedURLChanged):
1349 (WebInspectorFrontendClient::updateWindowTitle):
1350 (WebInspectorFrontendClient::save):
1351 (WebInspectorFrontendClient::append):