1 2015-02-14 Alexey Proskuryakov <ap@apple.com>
3 rel="noreferrer" should make window.opener null
4 https://bugs.webkit.org/show_bug.cgi?id=141579
6 Reviewed by Darin Adler.
8 * WebView/WebPDFViewPlaceholder.mm:
9 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
10 function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
12 2015-02-03 Enrica Casucci <enrica@apple.com>
14 [iOS] Add support for deleteFromInputWithFlags.
15 https://bugs.webkit.org/show_bug.cgi?id=141216
16 rdar://problem/19130081
18 Reviewed by Benjamin Poulain.
20 Adopts the new method as soon as it is available.
21 The patch also removes some obsolete code used for staging.
23 * DefaultDelegates/WebDefaultUIKitDelegate.m:
24 (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
25 (-[WebDefaultUIKitDelegate deleteFromInput]):
26 (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
27 (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
28 * WebView/WebUIKitDelegate.h:
30 2015-01-22 Andreas Kling <akling@apple.com>
32 Remove unused class EmojiFallbackFontSelector.
33 <https://webkit.org/b/140809>
35 Reviewed by Antti Koivisto.
37 This class no longer has any clients.
39 * Misc/EmojiFallbackFontSelector.cpp: Removed.
40 * Misc/EmojiFallbackFontSelector.h: Removed.
42 2015-01-13 Chris Dumez <cdumez@apple.com>
44 Unreviewed iOS build fix after r178375
46 Match FontSelector API changes.
48 * Misc/EmojiFallbackFontSelector.cpp:
49 (EmojiFallbackFontSelector::fallbackFontDataAt):
50 (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
51 * Misc/EmojiFallbackFontSelector.h:
53 2014-12-07 Dan Bernstein <mitz@apple.com>
55 Introduce and deploy a function that allocates and returns an instance of a soft-linked class
56 https://bugs.webkit.org/show_bug.cgi?id=139348
58 Reviewed by Anders Carlsson.
60 In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
61 picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
62 to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
63 doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
64 avoiding the ambiguity.
66 * Misc/WebGeolocationCoreLocationProvider.mm:
67 (-[WebGeolocationCoreLocationProvider createLocationManager]):
69 2014-12-06 Anders Carlsson <andersca@apple.com>
71 Fix build with newer versions of clang.
72 rdar://problem/18978687
74 Cast the result of +alloc to the right type.
76 * Misc/WebGeolocationCoreLocationProvider.mm:
77 (-[WebGeolocationCoreLocationProvider createLocationManager]):
78 * WebCoreSupport/WebSelectionRect.m:
79 (+[WebSelectionRect selectionRect]):
81 2014-11-20 Benjamin Poulain <bpoulain@apple.com>
83 Remove the remaining vestiges of minimal-ui
84 https://bugs.webkit.org/show_bug.cgi?id=138890
86 Reviewed by Sam Weinig.
88 * WebCoreSupport/WebChromeClientIOS.mm:
89 (dictionaryForViewportArguments):
92 2014-11-19 Daniel Bates <dabates@apple.com>
94 [iOS] Make WebKit build with public iOS SDK
95 https://bugs.webkit.org/show_bug.cgi?id=136863
97 Reviewed by David Kilzer.
99 * Misc/WebGeolocationCoreLocationProvider.mm: Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
100 * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
101 * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
103 2014-11-14 Daniel Bates <dabates@apple.com>
105 [iOS] CoreGraphics SPI not available in public SDK
106 https://bugs.webkit.org/show_bug.cgi?id=138709
108 Reviewed by David Kilzer.
110 Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
112 * WebCoreSupport/WebFixedPositionContent.mm:
114 2014-10-20 Andy Estes <aestes@apple.com>
118 * WebCoreSupport/WebFrameIOS.mm:
119 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
120 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
121 * WebCoreSupport/WebVisiblePosition.mm:
122 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
123 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
125 2014-10-15 Chris Dumez <cdumez@apple.com>
127 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
128 https://bugs.webkit.org/show_bug.cgi?id=137727
130 Reviewed by Darin Adler.
132 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
134 * WebCoreSupport/WebVisiblePosition.mm:
135 (-[DOMHTMLInputElement startPosition]):
136 (-[DOMHTMLInputElement endPosition]):
137 (-[DOMHTMLTextAreaElement startPosition]):
138 (-[DOMHTMLTextAreaElement endPosition]):
140 2014-10-03 Tim Horton <timothy_horton@apple.com>
142 REGRESSION (r165896): UIWebView PDFs have a forced black background
143 https://bugs.webkit.org/show_bug.cgi?id=137387
144 <rdar://problem/17948411>
146 Reviewed by David Kilzer.
148 * WebView/WebPDFViewPlaceholder.h:
149 * WebView/WebPDFViewPlaceholder.mm:
150 (-[WebPDFViewPlaceholder layout]):
151 Remove an ill-advised attempt to force the PDF background color from WebKit.
152 The idea was that we would maintain Safari's black background except if there
153 were no pages in the PDF, in which case we would use white instead to avoid
154 having an all-black view. However, this broke clients who didn't want a black
155 background, because we were now forcing it to black. Also, we don't need to
156 maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
157 This wasn't an important part of the patch, in any case.
159 2014-10-03 Tim Horton <timothy_horton@apple.com>
161 REGRESSION (r173265): UIWebView PDF loading is completely broken
162 https://bugs.webkit.org/show_bug.cgi?id=137386
163 <rdar://problem/18524717>
165 Reviewed by David Kilzer.
167 * WebView/WebPDFViewPlaceholder.h:
168 * WebView/WebPDFViewPlaceholder.mm:
169 (-[WebPDFViewPlaceholder layout]):
170 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
171 Restore important code that creates the CGDataProvider and sets _didFinishLoad
172 and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
173 removed in the aforementioned revision.
175 2014-10-01 Christophe Dumez <cdumez@apple.com>
177 Have is<>(T*) function do a null check on the pointer argument
178 https://bugs.webkit.org/show_bug.cgi?id=137333
180 Reviewed by Gavin Barraclough.
182 Have is<>(T*) function do a null check on the argument instead of a
183 simple assertion. This makes sense for 2 reasons:
184 1. It is more consistent with downcast<>(T*), which will succeed even
185 if the argument is a nullptr.
186 2. It simplifies the code a bit as it gets rid of a lot of explicit
189 * WebCoreSupport/WebChromeClientIOS.mm:
190 (WebChromeClientIOS::focusedElementChanged):
192 2014-09-29 Daniel Bates <dabates@apple.com>
194 [iOS] Remove CoreLocation workaround
195 https://bugs.webkit.org/show_bug.cgi?id=137198
197 Reviewed by Dan Bernstein.
199 Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
200 committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
202 * Misc/WebGeolocationCoreLocationProvider.mm:
203 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
204 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
206 2014-09-24 Daniel Bates <dabates@apple.com>
208 [iOS] Another iOS build fix; workaround for CoreLocation
209 https://bugs.webkit.org/show_bug.cgi?id=137104
210 <rdar://problem/18450785>
212 Rubber-stamped by Benjamin Poulain.
214 Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
215 and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
216 We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
218 * Misc/WebGeolocationCoreLocationProvider.mm:
219 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
220 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
222 2014-09-24 Daniel Bates <dabates@apple.com>
224 [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
225 https://bugs.webkit.org/show_bug.cgi?id=137101
226 <rdar://problem/18449815>
228 Reviewed by Mark Lam.
230 * Misc/WebGeolocationCoreLocationProvider.mm:
231 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
232 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
234 2014-09-24 Christophe Dumez <cdumez@apple.com>
236 Use is<HTML*Element>() instead of isHTML*Element() - Part 1
237 https://bugs.webkit.org/show_bug.cgi?id=137068
239 Reviewed by Ryosuke Niwa.
241 Start using is<HTML*Element>() instead of isHTML*Element().
242 Remaining usages will be updated in a follow-up patch to
243 reduce the size of the change.
245 * WebCoreSupport/WebChromeClientIOS.mm:
246 (WebChromeClientIOS::focusedElementChanged):
248 2014-09-21 Timothy Hatcher <timothy@apple.com>
250 Make the Web Inspector use a separate web process.
252 https://bugs.webkit.org/show_bug.cgi?id=135120
254 Reviewed by Anders Carlsson.
256 * WebCoreSupport/WebInspectorClientIOS.mm:
257 (WebInspectorClient::WebInspectorClient):
258 Removed m_frontendClient initialization since it is
259 now a std::unique_ptr that defaults to nullptr.
261 2014-09-23 Chris Dumez <cdumez@apple.com>
263 Use downcast<HTML*Element>() instead of toHTML*Element()
264 https://bugs.webkit.org/show_bug.cgi?id=137007
266 Reviewed by Benjamin Poulain.
268 Use downcast<HTML*Element>() instead of toHTML*Element().
270 * WebCoreSupport/WebChromeClientIOS.mm:
271 (WebChromeClientIOS::focusedElementChanged):
273 2014-09-17 Daniel Bates <dabates@apple.com>
275 Unreviewed, rolling out r173695.
277 Broke building third-party Legacy WebKit apps; will
282 "[iOS] Make WebCore build with public iOS SDK"
283 https://bugs.webkit.org/show_bug.cgi?id=136487
284 http://trac.webkit.org/changeset/173695
286 2014-09-17 Daniel Bates <dabates@apple.com>
288 [iOS] Make WebCore build with public iOS SDK
289 https://bugs.webkit.org/show_bug.cgi?id=136487
291 Reviewed by David Kilzer.
293 Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
295 * WebCoreSupport/WebFixedPositionContent.mm:
297 2014-09-05 Simon Fraser <simon.fraser@apple.com>
299 Remove some PLATFORM(IOS) code in Color.h/cpp
300 https://bugs.webkit.org/show_bug.cgi?id=136582
302 Reviewed by Dan Bates.
304 createCGColorWithDeviceWhite() is only used here so make it a local static function.
306 * WebView/WebPDFViewIOS.mm:
307 (createCGColorWithDeviceWhite):
309 2014-09-04 Pratik Solanki <psolanki@apple.com>
311 Remove iOS specific disk image cache
312 https://bugs.webkit.org/show_bug.cgi?id=136517
314 Reviewed by Antti Koivisto.
316 Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
317 this now since we don't enable it in WebKit2 on iOS.
319 * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
320 * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
321 * WebView/WebPDFViewPlaceholder.mm:
322 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
323 (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
324 (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
326 2014-08-31 Tim Horton <timothy_horton@apple.com>
328 Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
329 https://bugs.webkit.org/show_bug.cgi?id=136416
331 Reviewed by Dan Bernstein.
333 * WebView/WebPDFViewIOS.mm:
334 (-[WebPDFView drawPage:]):
335 (-[WebPDFView drawRect:]):
336 * WebView/WebPlainWhiteView.mm:
337 We only end up filling, so only set the fill color.
339 2014-08-22 Simon Fraser <simon.fraser@apple.com>
341 Implement paint flashing in the WK1 InspectorOverlay page
342 https://bugs.webkit.org/show_bug.cgi?id=136138
344 Reviewed by Sam Weinig, Joseph Pecoraro.
346 Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
347 We avoid allocating backing store for this canvas until we have paint rects.
349 Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
350 an array of rects, and pushes them to the page when they change, before forcing a paint.
352 Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
353 WebKit WebInspectorClient, but don't yet implement paint flashing there.
355 * WebCoreSupport/WebInspectorClientIOS.mm:
356 (WebInspectorClient::setShowPaintRects):
357 (WebInspectorClient::showPaintRect):
359 2014-08-18 Andy Estes <aestes@apple.com>
361 Fix the iOS build after r172709.
363 * WebView/WebPDFViewPlaceholder.mm:
364 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
366 2014-07-03 Daniel Bates <dabates@apple.com>
369 https://bugs.webkit.org/show_bug.cgi?id=134500
371 Rubber-stamped by Anders Carlsson.
373 Substitute WTF::move() for std::move().
375 * WebCoreSupport/WebFixedPositionContent.mm:
376 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
377 * WebCoreSupport/WebInspectorClientIOS.mm:
378 (WebInspectorFrontendClient::WebInspectorFrontendClient):
380 2014-07-01 Alex Christensen <achristensen@webkit.org>
382 [iOS] Compile fix with pointer lock enabled.
383 https://bugs.webkit.org/show_bug.cgi?id=134472
385 Reviewed by Pratik Solanki.
387 * WebView/WebPDFViewPlaceholder.mm:
388 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
389 Add parameters required for pointer lock.
391 2014-06-05 Benjamin Poulain <bpoulain@apple.com>
393 [iOS][WK2] Add device orientation
394 https://bugs.webkit.org/show_bug.cgi?id=133530
396 Reviewed by Tim Horton.
398 Change WebKit1 to provide the deviceOrientation as pull instead of push.
400 * DefaultDelegates/WebDefaultUIKitDelegate.m:
401 (-[WebDefaultUIKitDelegate deviceOrientation]):
402 * WebCoreSupport/WebChromeClientIOS.h:
403 * WebCoreSupport/WebChromeClientIOS.mm:
404 (WebChromeClientIOS::deviceOrientation):
405 * WebView/WebUIKitDelegate.h:
407 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
409 [iOS] Switch geolocation to an explicit authorization query model
410 https://bugs.webkit.org/show_bug.cgi?id=132717
411 <rdar://problem/16762390>
413 Reviewed by Sam Weinig.
415 WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
417 The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
418 The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
419 listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
421 We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
422 before invoking "start".
423 If "start" is called and the authorization is not granted, we assume geolocation was reset since
424 the last time authorization was requested, and we reset the client.
427 WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
428 to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
430 * Misc/WebGeolocationCoreLocationProvider.h:
431 * Misc/WebGeolocationCoreLocationProvider.mm:
432 (-[WebGeolocationCoreLocationProvider createLocationManager]):
433 (-[WebGeolocationCoreLocationProvider dealloc]):
434 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
435 (isAuthorizationGranted):
436 (-[WebGeolocationCoreLocationProvider start]):
437 (-[WebGeolocationCoreLocationProvider stop]):
438 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
439 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
440 (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
441 * Misc/WebGeolocationProviderIOS.mm:
442 (-[WebGeolocationProviderIOS suspend]):
443 (-[WebGeolocationProviderIOS resume]):
444 (-[WebGeolocationProviderIOS registerWebView:]):
445 (-[WebGeolocationProviderIOS unregisterWebView:]):
446 (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
447 (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
448 (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
449 (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
450 (-[WebGeolocationProviderIOS stopTrackingWebView:]):
451 (-[WebGeolocationProviderIOS resetGeolocation]):
452 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
453 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
454 (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
455 (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
456 (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
457 (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
458 (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
459 (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
460 (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
461 (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
462 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
463 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
465 2014-04-30 Anders Carlsson <andersca@apple.com>
467 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
468 https://bugs.webkit.org/show_bug.cgi?id=132399
469 <rdar://problem/15920046>
471 Reviewed by Dan Bernstein.
473 Import WebKitLegacy headers instead of WebKit headers.
475 * DefaultDelegates/WebDefaultFormDelegate.h:
476 * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
477 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
478 * DefaultDelegates/WebDefaultUIKitDelegate.h:
479 * Misc/WebGeolocationProviderIOS.h:
480 * Misc/WebNSStringExtrasIPhone.h:
481 * WebCoreSupport/WebFrameIOS.h:
482 * WebCoreSupport/WebFrameIOS.mm:
483 * WebCoreSupport/WebFrameIPhone.h:
484 * WebCoreSupport/WebSelectionRect.h:
485 * WebCoreSupport/WebVisiblePosition.h:
486 * WebView/WebPDFViewIOS.h:
487 * WebView/WebPDFViewIOS.mm:
488 * WebView/WebPDFViewIPhone.h:
489 * WebView/WebPDFViewPlaceholder.h:
490 * WebView/WebPDFViewPlaceholder.mm:
491 * WebView/WebPlainWhiteView.h:
492 * WebView/WebUIKitDelegate.h:
494 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
496 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
497 https://bugs.webkit.org/show_bug.cgi?id=132110
499 Reviewed by Tim Horton.
501 Updates callers to use '.' instead of '->'.
503 No new tests are necessary because there should be no behavior change.
505 * Misc/EmojiFallbackFontSelector.cpp:
506 (EmojiFallbackFontSelector::getFallbackFontData):
508 2014-04-17 Daniel Bates <dabates@apple.com>
510 [iOS] Hook up screen.{availHeight, availWidth, height, width}
511 https://bugs.webkit.org/show_bug.cgi?id=131821
512 <rdar://problem/16413795>
514 Reviewed by Benjamin Poulain and Tim Horton.
516 Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
518 Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
520 * WebCoreSupport/WebChromeClientIOS.h:
521 * WebCoreSupport/WebChromeClientIOS.mm:
522 (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
523 (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
524 should consult it's associated WAKWindow for the available screen size.
526 2014-04-08 Alexey Proskuryakov <ap@apple.com>
528 Rename Clipboard to DataTransfer
529 https://bugs.webkit.org/show_bug.cgi?id=131371
531 Reviewed by Anders Carlsson.
533 * WebView/WebPDFViewPlaceholder.mm:
535 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
537 [iOS] Remove the legacy string drawing code
538 https://bugs.webkit.org/show_bug.cgi?id=131088
540 Reviewed by Sam Weinig.
542 * Misc/WebNSStringDrawing.h: Removed.
543 * Misc/WebNSStringDrawing.mm: Removed.
544 * Misc/WebUIKitSupport.h:
546 2014-04-02 Mark Rowe <mrowe@apple.com>
548 Build fix after r166684.
550 * WebView/WebPDFViewPlaceholder.mm:
551 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
553 2014-03-31 Anders Carlsson <andersca@apple.com>
557 * WebCoreSupport/WebChromeClientIOS.h:
558 * WebCoreSupport/WebChromeClientIOS.mm:
559 * WebCoreSupport/WebFixedPositionContent.mm:
560 * WebCoreSupport/WebFixedPositionContentInternal.h:
562 2014-03-30 Dan Bernstein <mitz@apple.com>
564 Tried to fix the iOS build.
566 * Misc/WebGeolocationCoreLocationProvider.mm:
567 (-[WebGeolocationCoreLocationProvider start]):
568 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
570 2014-03-27 Enrica Casucci <enrica@apple.com>
572 Add support for AirPlay picker for iOS.
573 https://bugs.webkit.org/show_bug.cgi?id=130876
574 <rdar://problem/15349859>
576 Reviewed by Benjamin Poulain.
578 Adds support for the AirPlay picker for WebKit.
579 The actual picker is implemented in UIKit.
581 * DefaultDelegates/WebDefaultUIKitDelegate.m:
582 (-[WebDefaultUIKitDelegate interactionLocation]):
583 (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
584 * WebCoreSupport/WebChromeClientIOS.mm:
585 (WebChromeClientIOS::showPlaybackTargetPicker):
586 * WebCoreSupport/WebFrameIOS.h:
587 * WebCoreSupport/WebFrameIOS.mm:
588 (-[WebFrame elementRectAtPoint:]):
589 * WebView/WebUIKitDelegate.h:
591 2014-03-27 Enrica Casucci <enrica@apple.com>
593 Add support for AirPlay picker in WK2 for iOS.
594 https://bugs.webkit.org/show_bug.cgi?id=130855
595 <rdar://problem/15349859>
597 Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
599 Adds stub for new WebKit chrome client method.
601 * WebCoreSupport/WebChromeClientIOS.h:
602 * WebCoreSupport/WebChromeClientIOS.mm:
603 (WebChromeClientIOS::showAirPlayRoutePicker):
605 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
607 [iOS] Inspector View Indication Support
608 https://bugs.webkit.org/show_bug.cgi?id=130709
610 Reviewed by Simon Fraser.
612 * WebCoreSupport/WebInspectorClientIOS.mm:
613 (WebInspectorClient::showInspectorIndication):
614 (WebInspectorClient::hideInspectorIndication):
617 2014-03-22 Darin Adler <darin@apple.com>
619 Remove String::deprecatedCharacters
620 https://bugs.webkit.org/show_bug.cgi?id=126854
622 Reviewed by Sam Weinig.
624 * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
625 * Misc/WebNSStringDrawing.mm:
626 (+[NSString _web_setWordRoundingEnabled:]):
627 (+[NSString _web_wordRoundingEnabled]):
628 (+[NSString _web_setWordRoundingAllowed:]):
629 (+[NSString _web_wordRoundingAllowed]):
630 (+[NSString _web_setAscentRoundingEnabled:]):
631 (+[NSString _web_ascentRoundingEnabled]):
632 (-[NSString _web_drawAtPoint:withFont:]):
633 (-[NSString _web_sizeWithFont:]):
634 (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
635 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
636 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
637 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
638 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
639 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
640 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
641 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
642 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
643 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
644 (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
645 (-[NSString _web_sizeInRect:withFont:ellipsis:]):
646 (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
647 (-[NSString _web_sizeForWidth:withAttributes:]):
648 (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
649 (-[NSString _web_sizeInRect:withAttributes:]):
650 (-[NSString _web_drawInRect:withAttributes:]):
651 Emptied out all these functions since callers aren't really using them any more.
653 2014-03-21 Tim Horton <timothy_horton@apple.com>
655 Always retrieve the screen scale factor from WKSI
656 <rdar://problem/16329679>
658 Reviewed by Sam Weinig.
660 * Misc/WebUIKitSupport.mm:
661 (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
663 2014-03-19 Tim Horton <timothy_horton@apple.com>
665 [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
666 https://bugs.webkit.org/show_bug.cgi?id=130444
667 <rdar://problem/15580682>
669 Reviewed by Sam Weinig.
671 * WebView/WebPDFViewPlaceholder.h:
672 * WebView/WebPDFViewPlaceholder.mm:
673 (-[WebPDFViewPlaceholder layout]):
674 Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
677 Don't divide by zero if we have no pages, instead return an empty bounding size.
679 (-[WebPDFViewPlaceholder _computePageRects:]):
680 If we have an empty document, set the background color to white.
681 Otherwise, set it to black. It's not clear that black is the ideal
682 background color, but this retains existing behavior.
684 2014-03-14 Maciej Stachowiak <mjs@apple.com>
686 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
687 https://bugs.webkit.org/show_bug.cgi?id=130276
688 <rdar://problem/16266927>
690 Reviewed by Simon Fraser.
692 * WebCoreSupport/WebCaretChangeListener.h:
693 * WebCoreSupport/WebInspectorClientIOS.mm:
694 * WebView/WebPlainWhiteView.h:
695 * WebView/WebPlainWhiteView.mm:
697 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
699 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
700 https://bugs.webkit.org/show_bug.cgi?id=129612
702 Reviewed by Darin Adler.
704 For new code use static NeverDestroyed<T> instead.
706 * Misc/EmojiFallbackFontSelector.cpp:
707 (EmojiFallbackFontSelector::getFallbackFontData):
708 * WebCoreSupport/WebFixedPositionContent.mm:
709 (WebFixedPositionContentDataLock):
711 2014-03-13 Benjamin Poulain <bpoulain@apple.com>
713 The viewport code should not depend on WebKitSystemInterface
714 https://bugs.webkit.org/show_bug.cgi?id=130218
716 Reviewed by Tim Horton.
718 * WebCoreSupport/WebChromeClientIOS.h:
719 * WebCoreSupport/WebChromeClientIOS.mm:
720 (WebChromeClientIOS::viewportScreenSize):
721 Get the viewport size from WebKitSystemInterface.
723 2014-03-12 Enrica Casucci <enrica@apple.com>
725 Incorrect reference counting of Range in WebFrame.
726 https://bugs.webkit.org/show_bug.cgi?id=130160
727 <rdar://problem/16282535>
729 Reviewed by Anders Carlsson.
731 * WebCoreSupport/WebFrameIOS.mm:
732 (-[WebFrame selectionRects]):
734 2014-03-12 Simon Fraser <simon.fraser@apple.com>
737 https://bugs.webkit.org/show_bug.cgi?id=130146
739 Reviewed by Beth Dakin.
741 Fix spelling (constained -> constrained).
743 * WebCoreSupport/WebFixedPositionContent.mm:
744 (-[WebFixedPositionContent scrollOrZoomChanged:]):
745 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
746 (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
747 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
748 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
750 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
752 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
753 https://bugs.webkit.org/show_bug.cgi?id=128681
755 Reviewed by Timothy Hatcher.
757 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
758 WebCore/inspector/*. Besides files in there, a few other files in
759 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
760 and WebCore/testing were touched.
762 * WebCoreSupport/WebInspectorClientIOS.mm:
764 2014-02-12 Benjamin Poulain <bpoulain@apple.com>
766 [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
767 https://bugs.webkit.org/show_bug.cgi?id=128639
769 Reviewed by Andreas Kling.
771 * WebCoreSupport/WebChromeClientIOS.h:
772 * WebCoreSupport/WebChromeClientIOS.mm:
773 (WebChromeClientIOS::didReceiveMobileDocType):
775 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
777 Build fix after r163739.
779 * WebCoreSupport/WebFrameIOS.mm:
780 (-[WebFrame collapseSelection]):
781 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
783 2014-02-03 Dan Bernstein <mitz@apple.com>
785 More iOS build fixing.
787 * Misc/WebNSStringDrawing.mm:
788 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
789 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
791 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
793 Remove inline member functions of FrameSelection that access m_selection
794 https://bugs.webkit.org/show_bug.cgi?id=127986
796 Reviewed by Enrica Casucci.
798 * WebCoreSupport/WebFrameIOS.mm:
799 (-[WebFrame extendSelection:]):
800 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
801 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
802 (-[WebFrame expandSelectionToSentence]):
803 (-[WebFrame setBaseWritingDirection:]):
804 (-[WebFrame smartExtendRangedSelection:]):
806 2014-01-30 Andrei Bucur <abucur@adobe.com>
808 Remove the ACCELERATED_COMPOSITING flag
809 https://bugs.webkit.org/show_bug.cgi?id=127833
811 Reviewed by Antti Koivisto.
813 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
816 * WebCoreSupport/WebChromeClientIOS.h:
817 * WebCoreSupport/WebChromeClientIOS.mm:
818 (WebChromeClientIOS::attachRootGraphicsLayer):
819 * WebView/WebUIKitDelegate.h:
821 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
823 Unreviewed iOS build fix. FALLTHROUGHs for iOS.
825 * Misc/WebNSStringDrawing.mm:
828 2014-01-27 Andy Estes <aestes@apple.com>
830 Scrub WebKit API headers of WTF macros
831 https://bugs.webkit.org/show_bug.cgi?id=127706
833 Reviewed by David Kilzer.
835 * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
838 2014-01-15 Sam Weinig <sam@webkit.org>
840 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
841 https://bugs.webkit.org/show_bug.cgi?id=126856
843 Reviewed by Ryosuke Niwa.
845 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
846 now unnecessary up-conversions to UTF-16 in the process.
848 * Misc/WebNSStringDrawing.mm:
850 2014-01-16 Anders Carlsson <andersca@apple.com>
852 Change all uses of FINAL to final now that all our compilers support it
853 https://bugs.webkit.org/show_bug.cgi?id=127142
855 Reviewed by Benjamin Poulain.
857 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
859 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
861 Remove workaround for compilers not supporting explicit override control
862 https://bugs.webkit.org/show_bug.cgi?id=127111
864 Reviewed by Anders Carlsson.
866 Now all compilers support explicit override control, this workaround can be removed.
868 * Misc/EmojiFallbackFontSelector.h:
869 * Storage/WebSQLiteDatabaseTrackerClient.h:
870 * WebCoreSupport/PopupMenuIOS.h:
871 * WebCoreSupport/SearchPopupMenuIOS.h:
872 * WebCoreSupport/WebChromeClientIOS.h:
873 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
875 2014-01-16 Andy Estes <aestes@apple.com>
877 [iOS] Fix build issues with exported headers
879 * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
882 2014-01-14 Simon Fraser <simon.fraser@apple.com>
884 Avoid PLATFORM() macros in exported headers.
886 * WebView/WebPDFViewPlaceholder.h:
888 2014-01-14 Simon Fraser <simon.fraser@apple.com>
890 Clean up exports and headers for iOS.
892 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
893 * WebCoreSupport/WebFrameIOS.h: Ditto.
894 * WebCoreSupport/WebSelectionRect.h: Ditto.
896 2014-01-14 Dean Jackson <dino@apple.com>
898 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
902 2014-01-14 Simon Fraser <simon.fraser@apple.com>
904 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
906 * WebCoreSupport/WebInspectorClientIOS.mm:
907 (WebInspectorClient::indicate):
908 (WebInspectorClient::hideIndication):
910 2014-01-13 Simon Fraser <simon.fraser@apple.com>
912 More work towards getting iOS WK1 building.
914 * WebCoreSupport/WebFrameIOS.mm:
915 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
916 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
918 2014-01-12 Darin Adler <darin@apple.com>
920 Add type checking to isEqual methods
921 https://bugs.webkit.org/show_bug.cgi?id=126862
923 Reviewed by Anders Carlsson.
925 * WebCoreSupport/WebVisiblePosition.mm:
926 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
927 Add a FIXME about the lack of a hash method override. Simplified by
928 removing the unneeded local variables.
930 2014-01-02 Andy Estes <aestes@apple.com>
932 [iOS] Upstream remainder of minimal-ui viewport changes
933 https://bugs.webkit.org/show_bug.cgi?id=126410
935 Reviewed by Sam Weinig.
937 * WebCoreSupport/WebChromeClientIOS.mm:
938 (dictionaryForViewportArguments):
941 2013-12-31 Andy Estes <aestes@apple.com>
943 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
944 https://bugs.webkit.org/show_bug.cgi?id=125746
946 Reviewed by David Kilzer.
948 * WebCoreSupport/WebVisiblePosition.mm:
949 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
950 to mention iOS rather than iPhone.
952 2013-12-27 Daniel Bates <dabates@apple.com>
954 [iOS] Upstream WebCore/page changes
955 https://bugs.webkit.org/show_bug.cgi?id=126180
957 Reviewed by Darin Adler.
959 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
961 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
963 Consolidate various frame snapshot capabilities.
964 https://bugs.webkit.org/show_bug.cgi?id=124325
966 Reviewed by Darin Adler.
968 * WebCoreSupport/WebFrameIOS.mm: use new header file.
970 2013-12-04 Andy Estes <aestes@apple.com>
972 [iOS] Upstream build fixes in Source/WebKit/ios/
973 https://bugs.webkit.org/show_bug.cgi?id=125230
975 Reviewed by Sam Weinig.
977 * DefaultDelegates/WebDefaultUIKitDelegate.m:
978 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
979 * Misc/WebNSStringDrawing.mm:
981 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
982 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
983 * Misc/WebUIKitSupport.mm:
985 * WebCoreSupport/WebChromeClientIOS.h:
986 * WebCoreSupport/WebChromeClientIOS.mm:
987 (WebChromeClientIOS::didReceiveMobileDocType):
988 (WebChromeClientIOS::focusedElementChanged):
989 * WebCoreSupport/WebFrameIOS.mm:
990 (-[WebFrame clearSelection]):
991 (-[WebFrame selectionState]):
992 (-[WebFrame collapseSelection]):
993 (-[WebFrame extendSelection:]):
994 (-[WebFrame selectionRects]):
995 (-[WebFrame setRangedSelectionWithExtentPoint:]):
996 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
997 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
998 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
999 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1000 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1001 (-[WebFrame expandSelectionToSentence]):
1002 (-[WebFrame setBaseWritingDirection:]):
1003 (-[WebFrame moveSelectionToStart]):
1004 (-[WebFrame moveSelectionToEnd]):
1005 (-[WebFrame moveSelectionToPoint:]):
1006 (-[WebFrame setSelectionGranularity:]):
1007 (-[WebFrame smartExtendRangedSelection:]):
1008 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1009 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1010 * WebCoreSupport/WebInspectorClientIOS.mm:
1011 (WebInspectorClient::WebInspectorClient):
1012 (WebInspectorClient::didSetSearchingForNode):
1013 (WebInspectorClient::setupRemoteConnection):
1014 (WebInspectorClient::teardownRemoteConnection):
1015 * WebCoreSupport/WebVisiblePosition.mm:
1016 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1017 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1018 (-[DOMHTMLInputElement startPosition]):
1019 (-[DOMHTMLInputElement endPosition]):
1020 (-[DOMHTMLTextAreaElement startPosition]):
1021 (-[DOMHTMLTextAreaElement endPosition]):
1022 * WebView/WebPDFViewIOS.mm:
1023 (+[WebPDFView shadowColor]):
1024 (+[WebPDFView backgroundColor]):
1025 (-[WebPDFView _checkPDFTitle]):
1026 * WebView/WebPDFViewPlaceholder.mm:
1027 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1028 * WebView/WebUIKitDelegate.h:
1030 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
1032 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1033 https://bugs.webkit.org/show_bug.cgi?id=124613
1035 Reviewed by Timothy Hatcher.
1037 * WebCoreSupport/WebInspectorClientIOS.mm:
1038 (WebInspectorClient::WebInspectorClient):
1039 (WebInspectorClient::inspectorDestroyed):
1041 2013-12-03 Ralph Thomas <ralpht@gmail.com>
1043 Typo: FixedPositionConstaint -> FixedPositionConstraint
1044 https://bugs.webkit.org/show_bug.cgi?id=125171
1046 Reviewed by Simon Fraser.
1048 * WebCoreSupport/WebFixedPositionContent.mm:
1049 (-[WebFixedPositionContent scrollOrZoomChanged:]):
1051 2013-11-18 Commit Queue <commit-queue@webkit.org>
1053 Unreviewed, rolling out r159455.
1054 http://trac.webkit.org/changeset/159455
1055 https://bugs.webkit.org/show_bug.cgi?id=124568
1057 broke two api tests (see bug 124564) (Requested by thorton on
1060 * WebCoreSupport/WebFrameIOS.mm:
1062 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
1064 Consolidate various frame snapshot capabilities.
1065 https://bugs.webkit.org/show_bug.cgi?id=124325
1067 Reviewed by Timothy Hatcher.
1069 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1071 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
1073 Remove a PLATFORM(IOS) from WebKit Private Header
1074 https://bugs.webkit.org/show_bug.cgi?id=124014
1076 Reviewed by Timothy Hatcher.
1080 2013-10-29 Andy Estes <aestes@apple.com>
1082 [iOS] Upstream Source/WebKit/ios/
1083 https://bugs.webkit.org/show_bug.cgi?id=123470
1085 Reviewed by Sam Weinig.
1087 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1088 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1089 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1090 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1091 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1092 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1093 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1094 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1095 * Misc/EmojiFallbackFontSelector.cpp: Added.
1096 * Misc/EmojiFallbackFontSelector.h: Added.
1097 * Misc/MemoryMeasure.h: Added.
1098 * Misc/MemoryMeasure.mm: Added.
1099 * Misc/WebGeolocationCoreLocationProvider.h: Added.
1100 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1101 * Misc/WebGeolocationProviderIOS.h: Added.
1102 * Misc/WebGeolocationProviderIOS.mm: Added.
1103 * Misc/WebNSStringDrawing.h: Added.
1104 * Misc/WebNSStringDrawing.mm: Added.
1105 * Misc/WebNSStringExtrasIOS.h: Added.
1106 * Misc/WebNSStringExtrasIOS.m: Added.
1107 * Misc/WebNSStringExtrasIPhone.h: Added.
1108 * Misc/WebUIKitSupport.h: Added.
1109 * Misc/WebUIKitSupport.mm: Added.
1110 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1111 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1112 * WebCoreSupport/PopupMenuIOS.h: Added.
1113 * WebCoreSupport/PopupMenuIOS.mm: Added.
1114 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1115 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1116 * WebCoreSupport/WebCaretChangeListener.h: Added.
1117 * WebCoreSupport/WebChromeClientIOS.h: Added.
1118 * WebCoreSupport/WebChromeClientIOS.mm: Added.
1119 * WebCoreSupport/WebFixedPositionContent.h: Added.
1120 * WebCoreSupport/WebFixedPositionContent.mm: Added.
1121 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1122 * WebCoreSupport/WebFrameIOS.h: Added.
1123 * WebCoreSupport/WebFrameIOS.mm: Added.
1124 * WebCoreSupport/WebFrameIPhone.h: Added.
1125 * WebCoreSupport/WebGeolocation.mm: Added.
1126 * WebCoreSupport/WebGeolocationInternal.h: Added.
1127 * WebCoreSupport/WebGeolocationPrivate.h: Added.
1128 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1129 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1130 * WebCoreSupport/WebSelectionRect.h: Added.
1131 * WebCoreSupport/WebSelectionRect.m: Added.
1132 * WebCoreSupport/WebVisiblePosition.h: Added.
1133 * WebCoreSupport/WebVisiblePosition.mm: Added.
1134 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1135 * WebKit.iOS.exp: Added.
1136 * WebView/WebFrameViewWAKCompatibility.m: Added.
1137 * WebView/WebMailDelegate.h: Added.
1138 * WebView/WebPDFViewIOS.h: Added.
1139 * WebView/WebPDFViewIOS.mm: Added.
1140 * WebView/WebPDFViewIPhone.h: Added.
1141 * WebView/WebPDFViewPlaceholder.h: Added.
1142 * WebView/WebPDFViewPlaceholder.mm: Added.
1143 * WebView/WebPlainWhiteView.h: Added.
1144 * WebView/WebPlainWhiteView.mm: Added.
1145 * WebView/WebUIKitDelegate.h: Added.
1147 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
1149 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1150 https://bugs.webkit.org/show_bug.cgi?id=123111
1152 Reviewed by Timothy Hatcher.
1154 iOS does not have a local inspector, only remote. So give it a custom
1155 implementation separate from the WebKit/mac WebInspectorClient
1156 implementation which handles an attaching/detaching local inspector.
1158 * WebKit.xcodeproj/project.pbxproj:
1159 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1160 (WebInspectorClient::WebInspectorClient):
1161 (WebInspectorClient::inspectorDestroyed):
1162 (WebInspectorClient::openInspectorFrontend):
1163 (WebInspectorClient::bringFrontendToFront):
1164 (WebInspectorClient::closeInspectorFrontend):
1165 (WebInspectorClient::didResizeMainFrame):
1166 (WebInspectorClient::highlight):
1167 (WebInspectorClient::hideHighlight):
1168 (WebInspectorClient::didSetSearchingForNode):
1169 (WebInspectorClient::sendMessageToFrontend):
1170 (WebInspectorClient::sendMessageToBackend):
1171 (WebInspectorClient::setupRemoteConnection):
1172 (WebInspectorClient::teardownRemoteConnection):
1173 (WebInspectorClient::hasLocalSession):
1174 (WebInspectorClient::canBeRemotelyInspected):
1175 (WebInspectorClient::inspectedWebView):
1176 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1177 (WebInspectorFrontendClient::attachAvailabilityChanged):
1178 (WebInspectorFrontendClient::frontendLoaded):
1179 (WebInspectorFrontendClient::localizedStringsURL):
1180 (WebInspectorFrontendClient::bringToFront):
1181 (WebInspectorFrontendClient::closeWindow):
1182 (WebInspectorFrontendClient::disconnectFromBackend):
1183 (WebInspectorFrontendClient::attachWindow):
1184 (WebInspectorFrontendClient::detachWindow):
1185 (WebInspectorFrontendClient::setAttachedWindowHeight):
1186 (WebInspectorFrontendClient::setAttachedWindowWidth):
1187 (WebInspectorFrontendClient::setToolbarHeight):
1188 (WebInspectorFrontendClient::inspectedURLChanged):
1189 (WebInspectorFrontendClient::updateWindowTitle):
1190 (WebInspectorFrontendClient::save):
1191 (WebInspectorFrontendClient::append):