1 2015-06-02 Brady Eidson <beidson@apple.com>
3 WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
4 rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
6 Reviewed by Alex Christensen.
8 * WebView/WebPDFViewPlaceholder.mm:
9 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
11 2015-05-25 Dan Bernstein <mitz@apple.com>
13 ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
14 https://bugs.webkit.org/show_bug.cgi?id=145372
16 Reviewed by Sam Weinig.
18 * Misc/WebGeolocationCoreLocationProvider.mm:
19 (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
20 (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
21 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
22 (-[WebGeolocationCoreLocationProvider start]): Ditto.
23 (-[WebGeolocationCoreLocationProvider stop]): Ditto.
24 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
26 2015-04-28 Brady Eidson <beidson@apple.com>
28 Consolidate most "frame load" arguments into FrameLoadRequest.
29 https://bugs.webkit.org/show_bug.cgi?id=144276
31 Reviewed by Alexey Proskuryakov.
33 * WebView/WebPDFViewPlaceholder.mm:
34 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
36 2015-04-13 Beth Dakin <bdakin@apple.com>
38 Add force property to MouseEvents
39 https://bugs.webkit.org/show_bug.cgi?id=143569
41 rdar://problem/20472954
43 Reviewed by Darin Adler.
45 Send the appropriate force with this simulated click event.
46 * WebView/WebPDFViewPlaceholder.mm:
47 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
49 2015-03-31 Myles C. Maxfield <mmaxfield@apple.com>
51 Move ExpansionBehaviorFlags and TextDirection to their own file
52 https://bugs.webkit.org/show_bug.cgi?id=143273
54 Reviewed by Simon Fraser.
56 This is a mechanical change. It just moves code around.
58 This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
60 * WebCoreSupport/WebFrameIOS.mm:
61 * WebCoreSupport/WebVisiblePosition.mm:
63 2015-03-09 David Kilzer <ddkilzer@apple.com>
65 [iOS] Fix build when compiling with dead code stripping disabled
66 <http://webkit.org/b/142467>
68 Reviewed by Simon Fraser.
70 * WebCoreSupport/WebInspectorClientIOS.mm:
71 (WebInspectorFrontendClient::save): Add missing method.
73 2015-02-14 Alexey Proskuryakov <ap@apple.com>
75 rel="noreferrer" should make window.opener null
76 https://bugs.webkit.org/show_bug.cgi?id=141579
78 Reviewed by Darin Adler.
80 * WebView/WebPDFViewPlaceholder.mm:
81 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
82 function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
84 2015-02-03 Enrica Casucci <enrica@apple.com>
86 [iOS] Add support for deleteFromInputWithFlags.
87 https://bugs.webkit.org/show_bug.cgi?id=141216
88 rdar://problem/19130081
90 Reviewed by Benjamin Poulain.
92 Adopts the new method as soon as it is available.
93 The patch also removes some obsolete code used for staging.
95 * DefaultDelegates/WebDefaultUIKitDelegate.m:
96 (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
97 (-[WebDefaultUIKitDelegate deleteFromInput]):
98 (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
99 (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
100 * WebView/WebUIKitDelegate.h:
102 2015-01-22 Andreas Kling <akling@apple.com>
104 Remove unused class EmojiFallbackFontSelector.
105 <https://webkit.org/b/140809>
107 Reviewed by Antti Koivisto.
109 This class no longer has any clients.
111 * Misc/EmojiFallbackFontSelector.cpp: Removed.
112 * Misc/EmojiFallbackFontSelector.h: Removed.
114 2015-01-13 Chris Dumez <cdumez@apple.com>
116 Unreviewed iOS build fix after r178375
118 Match FontSelector API changes.
120 * Misc/EmojiFallbackFontSelector.cpp:
121 (EmojiFallbackFontSelector::fallbackFontDataAt):
122 (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
123 * Misc/EmojiFallbackFontSelector.h:
125 2014-12-07 Dan Bernstein <mitz@apple.com>
127 Introduce and deploy a function that allocates and returns an instance of a soft-linked class
128 https://bugs.webkit.org/show_bug.cgi?id=139348
130 Reviewed by Anders Carlsson.
132 In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
133 picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
134 to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
135 doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
136 avoiding the ambiguity.
138 * Misc/WebGeolocationCoreLocationProvider.mm:
139 (-[WebGeolocationCoreLocationProvider createLocationManager]):
141 2014-12-06 Anders Carlsson <andersca@apple.com>
143 Fix build with newer versions of clang.
144 rdar://problem/18978687
146 Cast the result of +alloc to the right type.
148 * Misc/WebGeolocationCoreLocationProvider.mm:
149 (-[WebGeolocationCoreLocationProvider createLocationManager]):
150 * WebCoreSupport/WebSelectionRect.m:
151 (+[WebSelectionRect selectionRect]):
153 2014-11-20 Benjamin Poulain <bpoulain@apple.com>
155 Remove the remaining vestiges of minimal-ui
156 https://bugs.webkit.org/show_bug.cgi?id=138890
158 Reviewed by Sam Weinig.
160 * WebCoreSupport/WebChromeClientIOS.mm:
161 (dictionaryForViewportArguments):
164 2014-11-19 Daniel Bates <dabates@apple.com>
166 [iOS] Make WebKit build with public iOS SDK
167 https://bugs.webkit.org/show_bug.cgi?id=136863
169 Reviewed by David Kilzer.
171 * Misc/WebGeolocationCoreLocationProvider.mm: Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
172 * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
173 * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
175 2014-11-14 Daniel Bates <dabates@apple.com>
177 [iOS] CoreGraphics SPI not available in public SDK
178 https://bugs.webkit.org/show_bug.cgi?id=138709
180 Reviewed by David Kilzer.
182 Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
184 * WebCoreSupport/WebFixedPositionContent.mm:
186 2014-10-20 Andy Estes <aestes@apple.com>
190 * WebCoreSupport/WebFrameIOS.mm:
191 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
192 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
193 * WebCoreSupport/WebVisiblePosition.mm:
194 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
195 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
197 2014-10-15 Chris Dumez <cdumez@apple.com>
199 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
200 https://bugs.webkit.org/show_bug.cgi?id=137727
202 Reviewed by Darin Adler.
204 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
206 * WebCoreSupport/WebVisiblePosition.mm:
207 (-[DOMHTMLInputElement startPosition]):
208 (-[DOMHTMLInputElement endPosition]):
209 (-[DOMHTMLTextAreaElement startPosition]):
210 (-[DOMHTMLTextAreaElement endPosition]):
212 2014-10-03 Tim Horton <timothy_horton@apple.com>
214 REGRESSION (r165896): UIWebView PDFs have a forced black background
215 https://bugs.webkit.org/show_bug.cgi?id=137387
216 <rdar://problem/17948411>
218 Reviewed by David Kilzer.
220 * WebView/WebPDFViewPlaceholder.h:
221 * WebView/WebPDFViewPlaceholder.mm:
222 (-[WebPDFViewPlaceholder layout]):
223 Remove an ill-advised attempt to force the PDF background color from WebKit.
224 The idea was that we would maintain Safari's black background except if there
225 were no pages in the PDF, in which case we would use white instead to avoid
226 having an all-black view. However, this broke clients who didn't want a black
227 background, because we were now forcing it to black. Also, we don't need to
228 maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
229 This wasn't an important part of the patch, in any case.
231 2014-10-03 Tim Horton <timothy_horton@apple.com>
233 REGRESSION (r173265): UIWebView PDF loading is completely broken
234 https://bugs.webkit.org/show_bug.cgi?id=137386
235 <rdar://problem/18524717>
237 Reviewed by David Kilzer.
239 * WebView/WebPDFViewPlaceholder.h:
240 * WebView/WebPDFViewPlaceholder.mm:
241 (-[WebPDFViewPlaceholder layout]):
242 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
243 Restore important code that creates the CGDataProvider and sets _didFinishLoad
244 and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
245 removed in the aforementioned revision.
247 2014-10-01 Christophe Dumez <cdumez@apple.com>
249 Have is<>(T*) function do a null check on the pointer argument
250 https://bugs.webkit.org/show_bug.cgi?id=137333
252 Reviewed by Gavin Barraclough.
254 Have is<>(T*) function do a null check on the argument instead of a
255 simple assertion. This makes sense for 2 reasons:
256 1. It is more consistent with downcast<>(T*), which will succeed even
257 if the argument is a nullptr.
258 2. It simplifies the code a bit as it gets rid of a lot of explicit
261 * WebCoreSupport/WebChromeClientIOS.mm:
262 (WebChromeClientIOS::focusedElementChanged):
264 2014-09-29 Daniel Bates <dabates@apple.com>
266 [iOS] Remove CoreLocation workaround
267 https://bugs.webkit.org/show_bug.cgi?id=137198
269 Reviewed by Dan Bernstein.
271 Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
272 committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
274 * Misc/WebGeolocationCoreLocationProvider.mm:
275 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
276 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
278 2014-09-24 Daniel Bates <dabates@apple.com>
280 [iOS] Another iOS build fix; workaround for CoreLocation
281 https://bugs.webkit.org/show_bug.cgi?id=137104
282 <rdar://problem/18450785>
284 Rubber-stamped by Benjamin Poulain.
286 Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
287 and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
288 We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
290 * Misc/WebGeolocationCoreLocationProvider.mm:
291 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
292 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
294 2014-09-24 Daniel Bates <dabates@apple.com>
296 [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
297 https://bugs.webkit.org/show_bug.cgi?id=137101
298 <rdar://problem/18449815>
300 Reviewed by Mark Lam.
302 * Misc/WebGeolocationCoreLocationProvider.mm:
303 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
304 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
306 2014-09-24 Christophe Dumez <cdumez@apple.com>
308 Use is<HTML*Element>() instead of isHTML*Element() - Part 1
309 https://bugs.webkit.org/show_bug.cgi?id=137068
311 Reviewed by Ryosuke Niwa.
313 Start using is<HTML*Element>() instead of isHTML*Element().
314 Remaining usages will be updated in a follow-up patch to
315 reduce the size of the change.
317 * WebCoreSupport/WebChromeClientIOS.mm:
318 (WebChromeClientIOS::focusedElementChanged):
320 2014-09-21 Timothy Hatcher <timothy@apple.com>
322 Make the Web Inspector use a separate web process.
324 https://bugs.webkit.org/show_bug.cgi?id=135120
326 Reviewed by Anders Carlsson.
328 * WebCoreSupport/WebInspectorClientIOS.mm:
329 (WebInspectorClient::WebInspectorClient):
330 Removed m_frontendClient initialization since it is
331 now a std::unique_ptr that defaults to nullptr.
333 2014-09-23 Chris Dumez <cdumez@apple.com>
335 Use downcast<HTML*Element>() instead of toHTML*Element()
336 https://bugs.webkit.org/show_bug.cgi?id=137007
338 Reviewed by Benjamin Poulain.
340 Use downcast<HTML*Element>() instead of toHTML*Element().
342 * WebCoreSupport/WebChromeClientIOS.mm:
343 (WebChromeClientIOS::focusedElementChanged):
345 2014-09-17 Daniel Bates <dabates@apple.com>
347 Unreviewed, rolling out r173695.
349 Broke building third-party Legacy WebKit apps; will
354 "[iOS] Make WebCore build with public iOS SDK"
355 https://bugs.webkit.org/show_bug.cgi?id=136487
356 http://trac.webkit.org/changeset/173695
358 2014-09-17 Daniel Bates <dabates@apple.com>
360 [iOS] Make WebCore build with public iOS SDK
361 https://bugs.webkit.org/show_bug.cgi?id=136487
363 Reviewed by David Kilzer.
365 Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
367 * WebCoreSupport/WebFixedPositionContent.mm:
369 2014-09-05 Simon Fraser <simon.fraser@apple.com>
371 Remove some PLATFORM(IOS) code in Color.h/cpp
372 https://bugs.webkit.org/show_bug.cgi?id=136582
374 Reviewed by Dan Bates.
376 createCGColorWithDeviceWhite() is only used here so make it a local static function.
378 * WebView/WebPDFViewIOS.mm:
379 (createCGColorWithDeviceWhite):
381 2014-09-04 Pratik Solanki <psolanki@apple.com>
383 Remove iOS specific disk image cache
384 https://bugs.webkit.org/show_bug.cgi?id=136517
386 Reviewed by Antti Koivisto.
388 Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
389 this now since we don't enable it in WebKit2 on iOS.
391 * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
392 * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
393 * WebView/WebPDFViewPlaceholder.mm:
394 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
395 (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
396 (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
398 2014-08-31 Tim Horton <timothy_horton@apple.com>
400 Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
401 https://bugs.webkit.org/show_bug.cgi?id=136416
403 Reviewed by Dan Bernstein.
405 * WebView/WebPDFViewIOS.mm:
406 (-[WebPDFView drawPage:]):
407 (-[WebPDFView drawRect:]):
408 * WebView/WebPlainWhiteView.mm:
409 We only end up filling, so only set the fill color.
411 2014-08-22 Simon Fraser <simon.fraser@apple.com>
413 Implement paint flashing in the WK1 InspectorOverlay page
414 https://bugs.webkit.org/show_bug.cgi?id=136138
416 Reviewed by Sam Weinig, Joseph Pecoraro.
418 Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
419 We avoid allocating backing store for this canvas until we have paint rects.
421 Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
422 an array of rects, and pushes them to the page when they change, before forcing a paint.
424 Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
425 WebKit WebInspectorClient, but don't yet implement paint flashing there.
427 * WebCoreSupport/WebInspectorClientIOS.mm:
428 (WebInspectorClient::setShowPaintRects):
429 (WebInspectorClient::showPaintRect):
431 2014-08-18 Andy Estes <aestes@apple.com>
433 Fix the iOS build after r172709.
435 * WebView/WebPDFViewPlaceholder.mm:
436 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
438 2014-07-03 Daniel Bates <dabates@apple.com>
441 https://bugs.webkit.org/show_bug.cgi?id=134500
443 Rubber-stamped by Anders Carlsson.
445 Substitute WTF::move() for std::move().
447 * WebCoreSupport/WebFixedPositionContent.mm:
448 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
449 * WebCoreSupport/WebInspectorClientIOS.mm:
450 (WebInspectorFrontendClient::WebInspectorFrontendClient):
452 2014-07-01 Alex Christensen <achristensen@webkit.org>
454 [iOS] Compile fix with pointer lock enabled.
455 https://bugs.webkit.org/show_bug.cgi?id=134472
457 Reviewed by Pratik Solanki.
459 * WebView/WebPDFViewPlaceholder.mm:
460 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
461 Add parameters required for pointer lock.
463 2014-06-05 Benjamin Poulain <bpoulain@apple.com>
465 [iOS][WK2] Add device orientation
466 https://bugs.webkit.org/show_bug.cgi?id=133530
468 Reviewed by Tim Horton.
470 Change WebKit1 to provide the deviceOrientation as pull instead of push.
472 * DefaultDelegates/WebDefaultUIKitDelegate.m:
473 (-[WebDefaultUIKitDelegate deviceOrientation]):
474 * WebCoreSupport/WebChromeClientIOS.h:
475 * WebCoreSupport/WebChromeClientIOS.mm:
476 (WebChromeClientIOS::deviceOrientation):
477 * WebView/WebUIKitDelegate.h:
479 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
481 [iOS] Switch geolocation to an explicit authorization query model
482 https://bugs.webkit.org/show_bug.cgi?id=132717
483 <rdar://problem/16762390>
485 Reviewed by Sam Weinig.
487 WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
489 The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
490 The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
491 listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
493 We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
494 before invoking "start".
495 If "start" is called and the authorization is not granted, we assume geolocation was reset since
496 the last time authorization was requested, and we reset the client.
499 WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
500 to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
502 * Misc/WebGeolocationCoreLocationProvider.h:
503 * Misc/WebGeolocationCoreLocationProvider.mm:
504 (-[WebGeolocationCoreLocationProvider createLocationManager]):
505 (-[WebGeolocationCoreLocationProvider dealloc]):
506 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
507 (isAuthorizationGranted):
508 (-[WebGeolocationCoreLocationProvider start]):
509 (-[WebGeolocationCoreLocationProvider stop]):
510 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
511 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
512 (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
513 * Misc/WebGeolocationProviderIOS.mm:
514 (-[WebGeolocationProviderIOS suspend]):
515 (-[WebGeolocationProviderIOS resume]):
516 (-[WebGeolocationProviderIOS registerWebView:]):
517 (-[WebGeolocationProviderIOS unregisterWebView:]):
518 (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
519 (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
520 (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
521 (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
522 (-[WebGeolocationProviderIOS stopTrackingWebView:]):
523 (-[WebGeolocationProviderIOS resetGeolocation]):
524 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
525 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
526 (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
527 (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
528 (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
529 (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
530 (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
531 (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
532 (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
533 (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
534 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
535 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
537 2014-04-30 Anders Carlsson <andersca@apple.com>
539 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
540 https://bugs.webkit.org/show_bug.cgi?id=132399
541 <rdar://problem/15920046>
543 Reviewed by Dan Bernstein.
545 Import WebKitLegacy headers instead of WebKit headers.
547 * DefaultDelegates/WebDefaultFormDelegate.h:
548 * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
549 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
550 * DefaultDelegates/WebDefaultUIKitDelegate.h:
551 * Misc/WebGeolocationProviderIOS.h:
552 * Misc/WebNSStringExtrasIPhone.h:
553 * WebCoreSupport/WebFrameIOS.h:
554 * WebCoreSupport/WebFrameIOS.mm:
555 * WebCoreSupport/WebFrameIPhone.h:
556 * WebCoreSupport/WebSelectionRect.h:
557 * WebCoreSupport/WebVisiblePosition.h:
558 * WebView/WebPDFViewIOS.h:
559 * WebView/WebPDFViewIOS.mm:
560 * WebView/WebPDFViewIPhone.h:
561 * WebView/WebPDFViewPlaceholder.h:
562 * WebView/WebPDFViewPlaceholder.mm:
563 * WebView/WebPlainWhiteView.h:
564 * WebView/WebUIKitDelegate.h:
566 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
568 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
569 https://bugs.webkit.org/show_bug.cgi?id=132110
571 Reviewed by Tim Horton.
573 Updates callers to use '.' instead of '->'.
575 No new tests are necessary because there should be no behavior change.
577 * Misc/EmojiFallbackFontSelector.cpp:
578 (EmojiFallbackFontSelector::getFallbackFontData):
580 2014-04-17 Daniel Bates <dabates@apple.com>
582 [iOS] Hook up screen.{availHeight, availWidth, height, width}
583 https://bugs.webkit.org/show_bug.cgi?id=131821
584 <rdar://problem/16413795>
586 Reviewed by Benjamin Poulain and Tim Horton.
588 Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
590 Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
592 * WebCoreSupport/WebChromeClientIOS.h:
593 * WebCoreSupport/WebChromeClientIOS.mm:
594 (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
595 (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
596 should consult it's associated WAKWindow for the available screen size.
598 2014-04-08 Alexey Proskuryakov <ap@apple.com>
600 Rename Clipboard to DataTransfer
601 https://bugs.webkit.org/show_bug.cgi?id=131371
603 Reviewed by Anders Carlsson.
605 * WebView/WebPDFViewPlaceholder.mm:
607 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
609 [iOS] Remove the legacy string drawing code
610 https://bugs.webkit.org/show_bug.cgi?id=131088
612 Reviewed by Sam Weinig.
614 * Misc/WebNSStringDrawing.h: Removed.
615 * Misc/WebNSStringDrawing.mm: Removed.
616 * Misc/WebUIKitSupport.h:
618 2014-04-02 Mark Rowe <mrowe@apple.com>
620 Build fix after r166684.
622 * WebView/WebPDFViewPlaceholder.mm:
623 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
625 2014-03-31 Anders Carlsson <andersca@apple.com>
629 * WebCoreSupport/WebChromeClientIOS.h:
630 * WebCoreSupport/WebChromeClientIOS.mm:
631 * WebCoreSupport/WebFixedPositionContent.mm:
632 * WebCoreSupport/WebFixedPositionContentInternal.h:
634 2014-03-30 Dan Bernstein <mitz@apple.com>
636 Tried to fix the iOS build.
638 * Misc/WebGeolocationCoreLocationProvider.mm:
639 (-[WebGeolocationCoreLocationProvider start]):
640 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
642 2014-03-27 Enrica Casucci <enrica@apple.com>
644 Add support for AirPlay picker for iOS.
645 https://bugs.webkit.org/show_bug.cgi?id=130876
646 <rdar://problem/15349859>
648 Reviewed by Benjamin Poulain.
650 Adds support for the AirPlay picker for WebKit.
651 The actual picker is implemented in UIKit.
653 * DefaultDelegates/WebDefaultUIKitDelegate.m:
654 (-[WebDefaultUIKitDelegate interactionLocation]):
655 (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
656 * WebCoreSupport/WebChromeClientIOS.mm:
657 (WebChromeClientIOS::showPlaybackTargetPicker):
658 * WebCoreSupport/WebFrameIOS.h:
659 * WebCoreSupport/WebFrameIOS.mm:
660 (-[WebFrame elementRectAtPoint:]):
661 * WebView/WebUIKitDelegate.h:
663 2014-03-27 Enrica Casucci <enrica@apple.com>
665 Add support for AirPlay picker in WK2 for iOS.
666 https://bugs.webkit.org/show_bug.cgi?id=130855
667 <rdar://problem/15349859>
669 Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
671 Adds stub for new WebKit chrome client method.
673 * WebCoreSupport/WebChromeClientIOS.h:
674 * WebCoreSupport/WebChromeClientIOS.mm:
675 (WebChromeClientIOS::showAirPlayRoutePicker):
677 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
679 [iOS] Inspector View Indication Support
680 https://bugs.webkit.org/show_bug.cgi?id=130709
682 Reviewed by Simon Fraser.
684 * WebCoreSupport/WebInspectorClientIOS.mm:
685 (WebInspectorClient::showInspectorIndication):
686 (WebInspectorClient::hideInspectorIndication):
689 2014-03-22 Darin Adler <darin@apple.com>
691 Remove String::deprecatedCharacters
692 https://bugs.webkit.org/show_bug.cgi?id=126854
694 Reviewed by Sam Weinig.
696 * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
697 * Misc/WebNSStringDrawing.mm:
698 (+[NSString _web_setWordRoundingEnabled:]):
699 (+[NSString _web_wordRoundingEnabled]):
700 (+[NSString _web_setWordRoundingAllowed:]):
701 (+[NSString _web_wordRoundingAllowed]):
702 (+[NSString _web_setAscentRoundingEnabled:]):
703 (+[NSString _web_ascentRoundingEnabled]):
704 (-[NSString _web_drawAtPoint:withFont:]):
705 (-[NSString _web_sizeWithFont:]):
706 (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
707 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
708 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
709 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
710 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
711 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
712 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
713 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
714 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
715 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
716 (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
717 (-[NSString _web_sizeInRect:withFont:ellipsis:]):
718 (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
719 (-[NSString _web_sizeForWidth:withAttributes:]):
720 (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
721 (-[NSString _web_sizeInRect:withAttributes:]):
722 (-[NSString _web_drawInRect:withAttributes:]):
723 Emptied out all these functions since callers aren't really using them any more.
725 2014-03-21 Tim Horton <timothy_horton@apple.com>
727 Always retrieve the screen scale factor from WKSI
728 <rdar://problem/16329679>
730 Reviewed by Sam Weinig.
732 * Misc/WebUIKitSupport.mm:
733 (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
735 2014-03-19 Tim Horton <timothy_horton@apple.com>
737 [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
738 https://bugs.webkit.org/show_bug.cgi?id=130444
739 <rdar://problem/15580682>
741 Reviewed by Sam Weinig.
743 * WebView/WebPDFViewPlaceholder.h:
744 * WebView/WebPDFViewPlaceholder.mm:
745 (-[WebPDFViewPlaceholder layout]):
746 Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
749 Don't divide by zero if we have no pages, instead return an empty bounding size.
751 (-[WebPDFViewPlaceholder _computePageRects:]):
752 If we have an empty document, set the background color to white.
753 Otherwise, set it to black. It's not clear that black is the ideal
754 background color, but this retains existing behavior.
756 2014-03-14 Maciej Stachowiak <mjs@apple.com>
758 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
759 https://bugs.webkit.org/show_bug.cgi?id=130276
760 <rdar://problem/16266927>
762 Reviewed by Simon Fraser.
764 * WebCoreSupport/WebCaretChangeListener.h:
765 * WebCoreSupport/WebInspectorClientIOS.mm:
766 * WebView/WebPlainWhiteView.h:
767 * WebView/WebPlainWhiteView.mm:
769 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
771 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
772 https://bugs.webkit.org/show_bug.cgi?id=129612
774 Reviewed by Darin Adler.
776 For new code use static NeverDestroyed<T> instead.
778 * Misc/EmojiFallbackFontSelector.cpp:
779 (EmojiFallbackFontSelector::getFallbackFontData):
780 * WebCoreSupport/WebFixedPositionContent.mm:
781 (WebFixedPositionContentDataLock):
783 2014-03-13 Benjamin Poulain <bpoulain@apple.com>
785 The viewport code should not depend on WebKitSystemInterface
786 https://bugs.webkit.org/show_bug.cgi?id=130218
788 Reviewed by Tim Horton.
790 * WebCoreSupport/WebChromeClientIOS.h:
791 * WebCoreSupport/WebChromeClientIOS.mm:
792 (WebChromeClientIOS::viewportScreenSize):
793 Get the viewport size from WebKitSystemInterface.
795 2014-03-12 Enrica Casucci <enrica@apple.com>
797 Incorrect reference counting of Range in WebFrame.
798 https://bugs.webkit.org/show_bug.cgi?id=130160
799 <rdar://problem/16282535>
801 Reviewed by Anders Carlsson.
803 * WebCoreSupport/WebFrameIOS.mm:
804 (-[WebFrame selectionRects]):
806 2014-03-12 Simon Fraser <simon.fraser@apple.com>
809 https://bugs.webkit.org/show_bug.cgi?id=130146
811 Reviewed by Beth Dakin.
813 Fix spelling (constained -> constrained).
815 * WebCoreSupport/WebFixedPositionContent.mm:
816 (-[WebFixedPositionContent scrollOrZoomChanged:]):
817 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
818 (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
819 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
820 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
822 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
824 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
825 https://bugs.webkit.org/show_bug.cgi?id=128681
827 Reviewed by Timothy Hatcher.
829 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
830 WebCore/inspector/*. Besides files in there, a few other files in
831 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
832 and WebCore/testing were touched.
834 * WebCoreSupport/WebInspectorClientIOS.mm:
836 2014-02-12 Benjamin Poulain <bpoulain@apple.com>
838 [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
839 https://bugs.webkit.org/show_bug.cgi?id=128639
841 Reviewed by Andreas Kling.
843 * WebCoreSupport/WebChromeClientIOS.h:
844 * WebCoreSupport/WebChromeClientIOS.mm:
845 (WebChromeClientIOS::didReceiveMobileDocType):
847 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
849 Build fix after r163739.
851 * WebCoreSupport/WebFrameIOS.mm:
852 (-[WebFrame collapseSelection]):
853 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
855 2014-02-03 Dan Bernstein <mitz@apple.com>
857 More iOS build fixing.
859 * Misc/WebNSStringDrawing.mm:
860 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
861 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
863 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
865 Remove inline member functions of FrameSelection that access m_selection
866 https://bugs.webkit.org/show_bug.cgi?id=127986
868 Reviewed by Enrica Casucci.
870 * WebCoreSupport/WebFrameIOS.mm:
871 (-[WebFrame extendSelection:]):
872 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
873 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
874 (-[WebFrame expandSelectionToSentence]):
875 (-[WebFrame setBaseWritingDirection:]):
876 (-[WebFrame smartExtendRangedSelection:]):
878 2014-01-30 Andrei Bucur <abucur@adobe.com>
880 Remove the ACCELERATED_COMPOSITING flag
881 https://bugs.webkit.org/show_bug.cgi?id=127833
883 Reviewed by Antti Koivisto.
885 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
888 * WebCoreSupport/WebChromeClientIOS.h:
889 * WebCoreSupport/WebChromeClientIOS.mm:
890 (WebChromeClientIOS::attachRootGraphicsLayer):
891 * WebView/WebUIKitDelegate.h:
893 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
895 Unreviewed iOS build fix. FALLTHROUGHs for iOS.
897 * Misc/WebNSStringDrawing.mm:
900 2014-01-27 Andy Estes <aestes@apple.com>
902 Scrub WebKit API headers of WTF macros
903 https://bugs.webkit.org/show_bug.cgi?id=127706
905 Reviewed by David Kilzer.
907 * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
910 2014-01-15 Sam Weinig <sam@webkit.org>
912 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
913 https://bugs.webkit.org/show_bug.cgi?id=126856
915 Reviewed by Ryosuke Niwa.
917 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
918 now unnecessary up-conversions to UTF-16 in the process.
920 * Misc/WebNSStringDrawing.mm:
922 2014-01-16 Anders Carlsson <andersca@apple.com>
924 Change all uses of FINAL to final now that all our compilers support it
925 https://bugs.webkit.org/show_bug.cgi?id=127142
927 Reviewed by Benjamin Poulain.
929 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
931 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
933 Remove workaround for compilers not supporting explicit override control
934 https://bugs.webkit.org/show_bug.cgi?id=127111
936 Reviewed by Anders Carlsson.
938 Now all compilers support explicit override control, this workaround can be removed.
940 * Misc/EmojiFallbackFontSelector.h:
941 * Storage/WebSQLiteDatabaseTrackerClient.h:
942 * WebCoreSupport/PopupMenuIOS.h:
943 * WebCoreSupport/SearchPopupMenuIOS.h:
944 * WebCoreSupport/WebChromeClientIOS.h:
945 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
947 2014-01-16 Andy Estes <aestes@apple.com>
949 [iOS] Fix build issues with exported headers
951 * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
954 2014-01-14 Simon Fraser <simon.fraser@apple.com>
956 Avoid PLATFORM() macros in exported headers.
958 * WebView/WebPDFViewPlaceholder.h:
960 2014-01-14 Simon Fraser <simon.fraser@apple.com>
962 Clean up exports and headers for iOS.
964 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
965 * WebCoreSupport/WebFrameIOS.h: Ditto.
966 * WebCoreSupport/WebSelectionRect.h: Ditto.
968 2014-01-14 Dean Jackson <dino@apple.com>
970 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
974 2014-01-14 Simon Fraser <simon.fraser@apple.com>
976 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
978 * WebCoreSupport/WebInspectorClientIOS.mm:
979 (WebInspectorClient::indicate):
980 (WebInspectorClient::hideIndication):
982 2014-01-13 Simon Fraser <simon.fraser@apple.com>
984 More work towards getting iOS WK1 building.
986 * WebCoreSupport/WebFrameIOS.mm:
987 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
988 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
990 2014-01-12 Darin Adler <darin@apple.com>
992 Add type checking to isEqual methods
993 https://bugs.webkit.org/show_bug.cgi?id=126862
995 Reviewed by Anders Carlsson.
997 * WebCoreSupport/WebVisiblePosition.mm:
998 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
999 Add a FIXME about the lack of a hash method override. Simplified by
1000 removing the unneeded local variables.
1002 2014-01-02 Andy Estes <aestes@apple.com>
1004 [iOS] Upstream remainder of minimal-ui viewport changes
1005 https://bugs.webkit.org/show_bug.cgi?id=126410
1007 Reviewed by Sam Weinig.
1009 * WebCoreSupport/WebChromeClientIOS.mm:
1010 (dictionaryForViewportArguments):
1013 2013-12-31 Andy Estes <aestes@apple.com>
1015 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1016 https://bugs.webkit.org/show_bug.cgi?id=125746
1018 Reviewed by David Kilzer.
1020 * WebCoreSupport/WebVisiblePosition.mm:
1021 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1022 to mention iOS rather than iPhone.
1024 2013-12-27 Daniel Bates <dabates@apple.com>
1026 [iOS] Upstream WebCore/page changes
1027 https://bugs.webkit.org/show_bug.cgi?id=126180
1029 Reviewed by Darin Adler.
1031 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1033 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
1035 Consolidate various frame snapshot capabilities.
1036 https://bugs.webkit.org/show_bug.cgi?id=124325
1038 Reviewed by Darin Adler.
1040 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1042 2013-12-04 Andy Estes <aestes@apple.com>
1044 [iOS] Upstream build fixes in Source/WebKit/ios/
1045 https://bugs.webkit.org/show_bug.cgi?id=125230
1047 Reviewed by Sam Weinig.
1049 * DefaultDelegates/WebDefaultUIKitDelegate.m:
1050 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1051 * Misc/WebNSStringDrawing.mm:
1053 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1054 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1055 * Misc/WebUIKitSupport.mm:
1057 * WebCoreSupport/WebChromeClientIOS.h:
1058 * WebCoreSupport/WebChromeClientIOS.mm:
1059 (WebChromeClientIOS::didReceiveMobileDocType):
1060 (WebChromeClientIOS::focusedElementChanged):
1061 * WebCoreSupport/WebFrameIOS.mm:
1062 (-[WebFrame clearSelection]):
1063 (-[WebFrame selectionState]):
1064 (-[WebFrame collapseSelection]):
1065 (-[WebFrame extendSelection:]):
1066 (-[WebFrame selectionRects]):
1067 (-[WebFrame setRangedSelectionWithExtentPoint:]):
1068 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1069 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1070 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1071 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1072 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1073 (-[WebFrame expandSelectionToSentence]):
1074 (-[WebFrame setBaseWritingDirection:]):
1075 (-[WebFrame moveSelectionToStart]):
1076 (-[WebFrame moveSelectionToEnd]):
1077 (-[WebFrame moveSelectionToPoint:]):
1078 (-[WebFrame setSelectionGranularity:]):
1079 (-[WebFrame smartExtendRangedSelection:]):
1080 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1081 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1082 * WebCoreSupport/WebInspectorClientIOS.mm:
1083 (WebInspectorClient::WebInspectorClient):
1084 (WebInspectorClient::didSetSearchingForNode):
1085 (WebInspectorClient::setupRemoteConnection):
1086 (WebInspectorClient::teardownRemoteConnection):
1087 * WebCoreSupport/WebVisiblePosition.mm:
1088 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1089 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1090 (-[DOMHTMLInputElement startPosition]):
1091 (-[DOMHTMLInputElement endPosition]):
1092 (-[DOMHTMLTextAreaElement startPosition]):
1093 (-[DOMHTMLTextAreaElement endPosition]):
1094 * WebView/WebPDFViewIOS.mm:
1095 (+[WebPDFView shadowColor]):
1096 (+[WebPDFView backgroundColor]):
1097 (-[WebPDFView _checkPDFTitle]):
1098 * WebView/WebPDFViewPlaceholder.mm:
1099 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1100 * WebView/WebUIKitDelegate.h:
1102 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
1104 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1105 https://bugs.webkit.org/show_bug.cgi?id=124613
1107 Reviewed by Timothy Hatcher.
1109 * WebCoreSupport/WebInspectorClientIOS.mm:
1110 (WebInspectorClient::WebInspectorClient):
1111 (WebInspectorClient::inspectorDestroyed):
1113 2013-12-03 Ralph Thomas <ralpht@gmail.com>
1115 Typo: FixedPositionConstaint -> FixedPositionConstraint
1116 https://bugs.webkit.org/show_bug.cgi?id=125171
1118 Reviewed by Simon Fraser.
1120 * WebCoreSupport/WebFixedPositionContent.mm:
1121 (-[WebFixedPositionContent scrollOrZoomChanged:]):
1123 2013-11-18 Commit Queue <commit-queue@webkit.org>
1125 Unreviewed, rolling out r159455.
1126 http://trac.webkit.org/changeset/159455
1127 https://bugs.webkit.org/show_bug.cgi?id=124568
1129 broke two api tests (see bug 124564) (Requested by thorton on
1132 * WebCoreSupport/WebFrameIOS.mm:
1134 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
1136 Consolidate various frame snapshot capabilities.
1137 https://bugs.webkit.org/show_bug.cgi?id=124325
1139 Reviewed by Timothy Hatcher.
1141 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1143 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
1145 Remove a PLATFORM(IOS) from WebKit Private Header
1146 https://bugs.webkit.org/show_bug.cgi?id=124014
1148 Reviewed by Timothy Hatcher.
1152 2013-10-29 Andy Estes <aestes@apple.com>
1154 [iOS] Upstream Source/WebKit/ios/
1155 https://bugs.webkit.org/show_bug.cgi?id=123470
1157 Reviewed by Sam Weinig.
1159 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1160 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1161 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1162 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1163 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1164 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1165 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1166 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1167 * Misc/EmojiFallbackFontSelector.cpp: Added.
1168 * Misc/EmojiFallbackFontSelector.h: Added.
1169 * Misc/MemoryMeasure.h: Added.
1170 * Misc/MemoryMeasure.mm: Added.
1171 * Misc/WebGeolocationCoreLocationProvider.h: Added.
1172 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1173 * Misc/WebGeolocationProviderIOS.h: Added.
1174 * Misc/WebGeolocationProviderIOS.mm: Added.
1175 * Misc/WebNSStringDrawing.h: Added.
1176 * Misc/WebNSStringDrawing.mm: Added.
1177 * Misc/WebNSStringExtrasIOS.h: Added.
1178 * Misc/WebNSStringExtrasIOS.m: Added.
1179 * Misc/WebNSStringExtrasIPhone.h: Added.
1180 * Misc/WebUIKitSupport.h: Added.
1181 * Misc/WebUIKitSupport.mm: Added.
1182 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1183 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1184 * WebCoreSupport/PopupMenuIOS.h: Added.
1185 * WebCoreSupport/PopupMenuIOS.mm: Added.
1186 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1187 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1188 * WebCoreSupport/WebCaretChangeListener.h: Added.
1189 * WebCoreSupport/WebChromeClientIOS.h: Added.
1190 * WebCoreSupport/WebChromeClientIOS.mm: Added.
1191 * WebCoreSupport/WebFixedPositionContent.h: Added.
1192 * WebCoreSupport/WebFixedPositionContent.mm: Added.
1193 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1194 * WebCoreSupport/WebFrameIOS.h: Added.
1195 * WebCoreSupport/WebFrameIOS.mm: Added.
1196 * WebCoreSupport/WebFrameIPhone.h: Added.
1197 * WebCoreSupport/WebGeolocation.mm: Added.
1198 * WebCoreSupport/WebGeolocationInternal.h: Added.
1199 * WebCoreSupport/WebGeolocationPrivate.h: Added.
1200 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1201 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1202 * WebCoreSupport/WebSelectionRect.h: Added.
1203 * WebCoreSupport/WebSelectionRect.m: Added.
1204 * WebCoreSupport/WebVisiblePosition.h: Added.
1205 * WebCoreSupport/WebVisiblePosition.mm: Added.
1206 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1207 * WebKit.iOS.exp: Added.
1208 * WebView/WebFrameViewWAKCompatibility.m: Added.
1209 * WebView/WebMailDelegate.h: Added.
1210 * WebView/WebPDFViewIOS.h: Added.
1211 * WebView/WebPDFViewIOS.mm: Added.
1212 * WebView/WebPDFViewIPhone.h: Added.
1213 * WebView/WebPDFViewPlaceholder.h: Added.
1214 * WebView/WebPDFViewPlaceholder.mm: Added.
1215 * WebView/WebPlainWhiteView.h: Added.
1216 * WebView/WebPlainWhiteView.mm: Added.
1217 * WebView/WebUIKitDelegate.h: Added.
1219 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
1221 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1222 https://bugs.webkit.org/show_bug.cgi?id=123111
1224 Reviewed by Timothy Hatcher.
1226 iOS does not have a local inspector, only remote. So give it a custom
1227 implementation separate from the WebKit/mac WebInspectorClient
1228 implementation which handles an attaching/detaching local inspector.
1230 * WebKit.xcodeproj/project.pbxproj:
1231 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1232 (WebInspectorClient::WebInspectorClient):
1233 (WebInspectorClient::inspectorDestroyed):
1234 (WebInspectorClient::openInspectorFrontend):
1235 (WebInspectorClient::bringFrontendToFront):
1236 (WebInspectorClient::closeInspectorFrontend):
1237 (WebInspectorClient::didResizeMainFrame):
1238 (WebInspectorClient::highlight):
1239 (WebInspectorClient::hideHighlight):
1240 (WebInspectorClient::didSetSearchingForNode):
1241 (WebInspectorClient::sendMessageToFrontend):
1242 (WebInspectorClient::sendMessageToBackend):
1243 (WebInspectorClient::setupRemoteConnection):
1244 (WebInspectorClient::teardownRemoteConnection):
1245 (WebInspectorClient::hasLocalSession):
1246 (WebInspectorClient::canBeRemotelyInspected):
1247 (WebInspectorClient::inspectedWebView):
1248 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1249 (WebInspectorFrontendClient::attachAvailabilityChanged):
1250 (WebInspectorFrontendClient::frontendLoaded):
1251 (WebInspectorFrontendClient::localizedStringsURL):
1252 (WebInspectorFrontendClient::bringToFront):
1253 (WebInspectorFrontendClient::closeWindow):
1254 (WebInspectorFrontendClient::disconnectFromBackend):
1255 (WebInspectorFrontendClient::attachWindow):
1256 (WebInspectorFrontendClient::detachWindow):
1257 (WebInspectorFrontendClient::setAttachedWindowHeight):
1258 (WebInspectorFrontendClient::setAttachedWindowWidth):
1259 (WebInspectorFrontendClient::setToolbarHeight):
1260 (WebInspectorFrontendClient::inspectedURLChanged):
1261 (WebInspectorFrontendClient::updateWindowTitle):
1262 (WebInspectorFrontendClient::save):
1263 (WebInspectorFrontendClient::append):