1 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
3 Unreviewed, attempt to fix the iOS build after r185968.
5 * WebCoreSupport/WebInspectorClientIOS.mm:
6 (WebInspectorFrontendClient::startWindowDrag):
8 2015-06-02 Brady Eidson <beidson@apple.com>
10 WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
11 rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
13 Reviewed by Alex Christensen.
15 * WebView/WebPDFViewPlaceholder.mm:
16 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
18 2015-05-25 Dan Bernstein <mitz@apple.com>
20 ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
21 https://bugs.webkit.org/show_bug.cgi?id=145372
23 Reviewed by Sam Weinig.
25 * Misc/WebGeolocationCoreLocationProvider.mm:
26 (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
27 (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
28 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
29 (-[WebGeolocationCoreLocationProvider start]): Ditto.
30 (-[WebGeolocationCoreLocationProvider stop]): Ditto.
31 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
33 2015-04-28 Brady Eidson <beidson@apple.com>
35 Consolidate most "frame load" arguments into FrameLoadRequest.
36 https://bugs.webkit.org/show_bug.cgi?id=144276
38 Reviewed by Alexey Proskuryakov.
40 * WebView/WebPDFViewPlaceholder.mm:
41 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
43 2015-04-13 Beth Dakin <bdakin@apple.com>
45 Add force property to MouseEvents
46 https://bugs.webkit.org/show_bug.cgi?id=143569
48 rdar://problem/20472954
50 Reviewed by Darin Adler.
52 Send the appropriate force with this simulated click event.
53 * WebView/WebPDFViewPlaceholder.mm:
54 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
56 2015-03-31 Myles C. Maxfield <mmaxfield@apple.com>
58 Move ExpansionBehaviorFlags and TextDirection to their own file
59 https://bugs.webkit.org/show_bug.cgi?id=143273
61 Reviewed by Simon Fraser.
63 This is a mechanical change. It just moves code around.
65 This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
67 * WebCoreSupport/WebFrameIOS.mm:
68 * WebCoreSupport/WebVisiblePosition.mm:
70 2015-03-09 David Kilzer <ddkilzer@apple.com>
72 [iOS] Fix build when compiling with dead code stripping disabled
73 <http://webkit.org/b/142467>
75 Reviewed by Simon Fraser.
77 * WebCoreSupport/WebInspectorClientIOS.mm:
78 (WebInspectorFrontendClient::save): Add missing method.
80 2015-02-14 Alexey Proskuryakov <ap@apple.com>
82 rel="noreferrer" should make window.opener null
83 https://bugs.webkit.org/show_bug.cgi?id=141579
85 Reviewed by Darin Adler.
87 * WebView/WebPDFViewPlaceholder.mm:
88 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
89 function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
91 2015-02-03 Enrica Casucci <enrica@apple.com>
93 [iOS] Add support for deleteFromInputWithFlags.
94 https://bugs.webkit.org/show_bug.cgi?id=141216
95 rdar://problem/19130081
97 Reviewed by Benjamin Poulain.
99 Adopts the new method as soon as it is available.
100 The patch also removes some obsolete code used for staging.
102 * DefaultDelegates/WebDefaultUIKitDelegate.m:
103 (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
104 (-[WebDefaultUIKitDelegate deleteFromInput]):
105 (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
106 (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
107 * WebView/WebUIKitDelegate.h:
109 2015-01-22 Andreas Kling <akling@apple.com>
111 Remove unused class EmojiFallbackFontSelector.
112 <https://webkit.org/b/140809>
114 Reviewed by Antti Koivisto.
116 This class no longer has any clients.
118 * Misc/EmojiFallbackFontSelector.cpp: Removed.
119 * Misc/EmojiFallbackFontSelector.h: Removed.
121 2015-01-13 Chris Dumez <cdumez@apple.com>
123 Unreviewed iOS build fix after r178375
125 Match FontSelector API changes.
127 * Misc/EmojiFallbackFontSelector.cpp:
128 (EmojiFallbackFontSelector::fallbackFontDataAt):
129 (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
130 * Misc/EmojiFallbackFontSelector.h:
132 2014-12-07 Dan Bernstein <mitz@apple.com>
134 Introduce and deploy a function that allocates and returns an instance of a soft-linked class
135 https://bugs.webkit.org/show_bug.cgi?id=139348
137 Reviewed by Anders Carlsson.
139 In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
140 picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
141 to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
142 doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
143 avoiding the ambiguity.
145 * Misc/WebGeolocationCoreLocationProvider.mm:
146 (-[WebGeolocationCoreLocationProvider createLocationManager]):
148 2014-12-06 Anders Carlsson <andersca@apple.com>
150 Fix build with newer versions of clang.
151 rdar://problem/18978687
153 Cast the result of +alloc to the right type.
155 * Misc/WebGeolocationCoreLocationProvider.mm:
156 (-[WebGeolocationCoreLocationProvider createLocationManager]):
157 * WebCoreSupport/WebSelectionRect.m:
158 (+[WebSelectionRect selectionRect]):
160 2014-11-20 Benjamin Poulain <bpoulain@apple.com>
162 Remove the remaining vestiges of minimal-ui
163 https://bugs.webkit.org/show_bug.cgi?id=138890
165 Reviewed by Sam Weinig.
167 * WebCoreSupport/WebChromeClientIOS.mm:
168 (dictionaryForViewportArguments):
171 2014-11-19 Daniel Bates <dabates@apple.com>
173 [iOS] Make WebKit build with public iOS SDK
174 https://bugs.webkit.org/show_bug.cgi?id=136863
176 Reviewed by David Kilzer.
178 * Misc/WebGeolocationCoreLocationProvider.mm: Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
179 * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
180 * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
182 2014-11-14 Daniel Bates <dabates@apple.com>
184 [iOS] CoreGraphics SPI not available in public SDK
185 https://bugs.webkit.org/show_bug.cgi?id=138709
187 Reviewed by David Kilzer.
189 Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
191 * WebCoreSupport/WebFixedPositionContent.mm:
193 2014-10-20 Andy Estes <aestes@apple.com>
197 * WebCoreSupport/WebFrameIOS.mm:
198 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
199 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
200 * WebCoreSupport/WebVisiblePosition.mm:
201 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
202 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
204 2014-10-15 Chris Dumez <cdumez@apple.com>
206 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
207 https://bugs.webkit.org/show_bug.cgi?id=137727
209 Reviewed by Darin Adler.
211 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
213 * WebCoreSupport/WebVisiblePosition.mm:
214 (-[DOMHTMLInputElement startPosition]):
215 (-[DOMHTMLInputElement endPosition]):
216 (-[DOMHTMLTextAreaElement startPosition]):
217 (-[DOMHTMLTextAreaElement endPosition]):
219 2014-10-03 Tim Horton <timothy_horton@apple.com>
221 REGRESSION (r165896): UIWebView PDFs have a forced black background
222 https://bugs.webkit.org/show_bug.cgi?id=137387
223 <rdar://problem/17948411>
225 Reviewed by David Kilzer.
227 * WebView/WebPDFViewPlaceholder.h:
228 * WebView/WebPDFViewPlaceholder.mm:
229 (-[WebPDFViewPlaceholder layout]):
230 Remove an ill-advised attempt to force the PDF background color from WebKit.
231 The idea was that we would maintain Safari's black background except if there
232 were no pages in the PDF, in which case we would use white instead to avoid
233 having an all-black view. However, this broke clients who didn't want a black
234 background, because we were now forcing it to black. Also, we don't need to
235 maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
236 This wasn't an important part of the patch, in any case.
238 2014-10-03 Tim Horton <timothy_horton@apple.com>
240 REGRESSION (r173265): UIWebView PDF loading is completely broken
241 https://bugs.webkit.org/show_bug.cgi?id=137386
242 <rdar://problem/18524717>
244 Reviewed by David Kilzer.
246 * WebView/WebPDFViewPlaceholder.h:
247 * WebView/WebPDFViewPlaceholder.mm:
248 (-[WebPDFViewPlaceholder layout]):
249 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
250 Restore important code that creates the CGDataProvider and sets _didFinishLoad
251 and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
252 removed in the aforementioned revision.
254 2014-10-01 Christophe Dumez <cdumez@apple.com>
256 Have is<>(T*) function do a null check on the pointer argument
257 https://bugs.webkit.org/show_bug.cgi?id=137333
259 Reviewed by Gavin Barraclough.
261 Have is<>(T*) function do a null check on the argument instead of a
262 simple assertion. This makes sense for 2 reasons:
263 1. It is more consistent with downcast<>(T*), which will succeed even
264 if the argument is a nullptr.
265 2. It simplifies the code a bit as it gets rid of a lot of explicit
268 * WebCoreSupport/WebChromeClientIOS.mm:
269 (WebChromeClientIOS::focusedElementChanged):
271 2014-09-29 Daniel Bates <dabates@apple.com>
273 [iOS] Remove CoreLocation workaround
274 https://bugs.webkit.org/show_bug.cgi?id=137198
276 Reviewed by Dan Bernstein.
278 Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
279 committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
281 * Misc/WebGeolocationCoreLocationProvider.mm:
282 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
283 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
285 2014-09-24 Daniel Bates <dabates@apple.com>
287 [iOS] Another iOS build fix; workaround for CoreLocation
288 https://bugs.webkit.org/show_bug.cgi?id=137104
289 <rdar://problem/18450785>
291 Rubber-stamped by Benjamin Poulain.
293 Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
294 and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
295 We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
297 * Misc/WebGeolocationCoreLocationProvider.mm:
298 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
299 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
301 2014-09-24 Daniel Bates <dabates@apple.com>
303 [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
304 https://bugs.webkit.org/show_bug.cgi?id=137101
305 <rdar://problem/18449815>
307 Reviewed by Mark Lam.
309 * Misc/WebGeolocationCoreLocationProvider.mm:
310 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
311 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
313 2014-09-24 Christophe Dumez <cdumez@apple.com>
315 Use is<HTML*Element>() instead of isHTML*Element() - Part 1
316 https://bugs.webkit.org/show_bug.cgi?id=137068
318 Reviewed by Ryosuke Niwa.
320 Start using is<HTML*Element>() instead of isHTML*Element().
321 Remaining usages will be updated in a follow-up patch to
322 reduce the size of the change.
324 * WebCoreSupport/WebChromeClientIOS.mm:
325 (WebChromeClientIOS::focusedElementChanged):
327 2014-09-21 Timothy Hatcher <timothy@apple.com>
329 Make the Web Inspector use a separate web process.
331 https://bugs.webkit.org/show_bug.cgi?id=135120
333 Reviewed by Anders Carlsson.
335 * WebCoreSupport/WebInspectorClientIOS.mm:
336 (WebInspectorClient::WebInspectorClient):
337 Removed m_frontendClient initialization since it is
338 now a std::unique_ptr that defaults to nullptr.
340 2014-09-23 Chris Dumez <cdumez@apple.com>
342 Use downcast<HTML*Element>() instead of toHTML*Element()
343 https://bugs.webkit.org/show_bug.cgi?id=137007
345 Reviewed by Benjamin Poulain.
347 Use downcast<HTML*Element>() instead of toHTML*Element().
349 * WebCoreSupport/WebChromeClientIOS.mm:
350 (WebChromeClientIOS::focusedElementChanged):
352 2014-09-17 Daniel Bates <dabates@apple.com>
354 Unreviewed, rolling out r173695.
356 Broke building third-party Legacy WebKit apps; will
361 "[iOS] Make WebCore build with public iOS SDK"
362 https://bugs.webkit.org/show_bug.cgi?id=136487
363 http://trac.webkit.org/changeset/173695
365 2014-09-17 Daniel Bates <dabates@apple.com>
367 [iOS] Make WebCore build with public iOS SDK
368 https://bugs.webkit.org/show_bug.cgi?id=136487
370 Reviewed by David Kilzer.
372 Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
374 * WebCoreSupport/WebFixedPositionContent.mm:
376 2014-09-05 Simon Fraser <simon.fraser@apple.com>
378 Remove some PLATFORM(IOS) code in Color.h/cpp
379 https://bugs.webkit.org/show_bug.cgi?id=136582
381 Reviewed by Dan Bates.
383 createCGColorWithDeviceWhite() is only used here so make it a local static function.
385 * WebView/WebPDFViewIOS.mm:
386 (createCGColorWithDeviceWhite):
388 2014-09-04 Pratik Solanki <psolanki@apple.com>
390 Remove iOS specific disk image cache
391 https://bugs.webkit.org/show_bug.cgi?id=136517
393 Reviewed by Antti Koivisto.
395 Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
396 this now since we don't enable it in WebKit2 on iOS.
398 * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
399 * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
400 * WebView/WebPDFViewPlaceholder.mm:
401 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
402 (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
403 (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
405 2014-08-31 Tim Horton <timothy_horton@apple.com>
407 Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
408 https://bugs.webkit.org/show_bug.cgi?id=136416
410 Reviewed by Dan Bernstein.
412 * WebView/WebPDFViewIOS.mm:
413 (-[WebPDFView drawPage:]):
414 (-[WebPDFView drawRect:]):
415 * WebView/WebPlainWhiteView.mm:
416 We only end up filling, so only set the fill color.
418 2014-08-22 Simon Fraser <simon.fraser@apple.com>
420 Implement paint flashing in the WK1 InspectorOverlay page
421 https://bugs.webkit.org/show_bug.cgi?id=136138
423 Reviewed by Sam Weinig, Joseph Pecoraro.
425 Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
426 We avoid allocating backing store for this canvas until we have paint rects.
428 Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
429 an array of rects, and pushes them to the page when they change, before forcing a paint.
431 Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
432 WebKit WebInspectorClient, but don't yet implement paint flashing there.
434 * WebCoreSupport/WebInspectorClientIOS.mm:
435 (WebInspectorClient::setShowPaintRects):
436 (WebInspectorClient::showPaintRect):
438 2014-08-18 Andy Estes <aestes@apple.com>
440 Fix the iOS build after r172709.
442 * WebView/WebPDFViewPlaceholder.mm:
443 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
445 2014-07-03 Daniel Bates <dabates@apple.com>
448 https://bugs.webkit.org/show_bug.cgi?id=134500
450 Rubber-stamped by Anders Carlsson.
452 Substitute WTF::move() for std::move().
454 * WebCoreSupport/WebFixedPositionContent.mm:
455 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
456 * WebCoreSupport/WebInspectorClientIOS.mm:
457 (WebInspectorFrontendClient::WebInspectorFrontendClient):
459 2014-07-01 Alex Christensen <achristensen@webkit.org>
461 [iOS] Compile fix with pointer lock enabled.
462 https://bugs.webkit.org/show_bug.cgi?id=134472
464 Reviewed by Pratik Solanki.
466 * WebView/WebPDFViewPlaceholder.mm:
467 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
468 Add parameters required for pointer lock.
470 2014-06-05 Benjamin Poulain <bpoulain@apple.com>
472 [iOS][WK2] Add device orientation
473 https://bugs.webkit.org/show_bug.cgi?id=133530
475 Reviewed by Tim Horton.
477 Change WebKit1 to provide the deviceOrientation as pull instead of push.
479 * DefaultDelegates/WebDefaultUIKitDelegate.m:
480 (-[WebDefaultUIKitDelegate deviceOrientation]):
481 * WebCoreSupport/WebChromeClientIOS.h:
482 * WebCoreSupport/WebChromeClientIOS.mm:
483 (WebChromeClientIOS::deviceOrientation):
484 * WebView/WebUIKitDelegate.h:
486 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
488 [iOS] Switch geolocation to an explicit authorization query model
489 https://bugs.webkit.org/show_bug.cgi?id=132717
490 <rdar://problem/16762390>
492 Reviewed by Sam Weinig.
494 WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
496 The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
497 The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
498 listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
500 We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
501 before invoking "start".
502 If "start" is called and the authorization is not granted, we assume geolocation was reset since
503 the last time authorization was requested, and we reset the client.
506 WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
507 to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
509 * Misc/WebGeolocationCoreLocationProvider.h:
510 * Misc/WebGeolocationCoreLocationProvider.mm:
511 (-[WebGeolocationCoreLocationProvider createLocationManager]):
512 (-[WebGeolocationCoreLocationProvider dealloc]):
513 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
514 (isAuthorizationGranted):
515 (-[WebGeolocationCoreLocationProvider start]):
516 (-[WebGeolocationCoreLocationProvider stop]):
517 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
518 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
519 (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
520 * Misc/WebGeolocationProviderIOS.mm:
521 (-[WebGeolocationProviderIOS suspend]):
522 (-[WebGeolocationProviderIOS resume]):
523 (-[WebGeolocationProviderIOS registerWebView:]):
524 (-[WebGeolocationProviderIOS unregisterWebView:]):
525 (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
526 (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
527 (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
528 (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
529 (-[WebGeolocationProviderIOS stopTrackingWebView:]):
530 (-[WebGeolocationProviderIOS resetGeolocation]):
531 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
532 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
533 (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
534 (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
535 (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
536 (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
537 (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
538 (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
539 (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
540 (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
541 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
542 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
544 2014-04-30 Anders Carlsson <andersca@apple.com>
546 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
547 https://bugs.webkit.org/show_bug.cgi?id=132399
548 <rdar://problem/15920046>
550 Reviewed by Dan Bernstein.
552 Import WebKitLegacy headers instead of WebKit headers.
554 * DefaultDelegates/WebDefaultFormDelegate.h:
555 * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
556 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
557 * DefaultDelegates/WebDefaultUIKitDelegate.h:
558 * Misc/WebGeolocationProviderIOS.h:
559 * Misc/WebNSStringExtrasIPhone.h:
560 * WebCoreSupport/WebFrameIOS.h:
561 * WebCoreSupport/WebFrameIOS.mm:
562 * WebCoreSupport/WebFrameIPhone.h:
563 * WebCoreSupport/WebSelectionRect.h:
564 * WebCoreSupport/WebVisiblePosition.h:
565 * WebView/WebPDFViewIOS.h:
566 * WebView/WebPDFViewIOS.mm:
567 * WebView/WebPDFViewIPhone.h:
568 * WebView/WebPDFViewPlaceholder.h:
569 * WebView/WebPDFViewPlaceholder.mm:
570 * WebView/WebPlainWhiteView.h:
571 * WebView/WebUIKitDelegate.h:
573 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
575 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
576 https://bugs.webkit.org/show_bug.cgi?id=132110
578 Reviewed by Tim Horton.
580 Updates callers to use '.' instead of '->'.
582 No new tests are necessary because there should be no behavior change.
584 * Misc/EmojiFallbackFontSelector.cpp:
585 (EmojiFallbackFontSelector::getFallbackFontData):
587 2014-04-17 Daniel Bates <dabates@apple.com>
589 [iOS] Hook up screen.{availHeight, availWidth, height, width}
590 https://bugs.webkit.org/show_bug.cgi?id=131821
591 <rdar://problem/16413795>
593 Reviewed by Benjamin Poulain and Tim Horton.
595 Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
597 Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
599 * WebCoreSupport/WebChromeClientIOS.h:
600 * WebCoreSupport/WebChromeClientIOS.mm:
601 (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
602 (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
603 should consult it's associated WAKWindow for the available screen size.
605 2014-04-08 Alexey Proskuryakov <ap@apple.com>
607 Rename Clipboard to DataTransfer
608 https://bugs.webkit.org/show_bug.cgi?id=131371
610 Reviewed by Anders Carlsson.
612 * WebView/WebPDFViewPlaceholder.mm:
614 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
616 [iOS] Remove the legacy string drawing code
617 https://bugs.webkit.org/show_bug.cgi?id=131088
619 Reviewed by Sam Weinig.
621 * Misc/WebNSStringDrawing.h: Removed.
622 * Misc/WebNSStringDrawing.mm: Removed.
623 * Misc/WebUIKitSupport.h:
625 2014-04-02 Mark Rowe <mrowe@apple.com>
627 Build fix after r166684.
629 * WebView/WebPDFViewPlaceholder.mm:
630 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
632 2014-03-31 Anders Carlsson <andersca@apple.com>
636 * WebCoreSupport/WebChromeClientIOS.h:
637 * WebCoreSupport/WebChromeClientIOS.mm:
638 * WebCoreSupport/WebFixedPositionContent.mm:
639 * WebCoreSupport/WebFixedPositionContentInternal.h:
641 2014-03-30 Dan Bernstein <mitz@apple.com>
643 Tried to fix the iOS build.
645 * Misc/WebGeolocationCoreLocationProvider.mm:
646 (-[WebGeolocationCoreLocationProvider start]):
647 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
649 2014-03-27 Enrica Casucci <enrica@apple.com>
651 Add support for AirPlay picker for iOS.
652 https://bugs.webkit.org/show_bug.cgi?id=130876
653 <rdar://problem/15349859>
655 Reviewed by Benjamin Poulain.
657 Adds support for the AirPlay picker for WebKit.
658 The actual picker is implemented in UIKit.
660 * DefaultDelegates/WebDefaultUIKitDelegate.m:
661 (-[WebDefaultUIKitDelegate interactionLocation]):
662 (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
663 * WebCoreSupport/WebChromeClientIOS.mm:
664 (WebChromeClientIOS::showPlaybackTargetPicker):
665 * WebCoreSupport/WebFrameIOS.h:
666 * WebCoreSupport/WebFrameIOS.mm:
667 (-[WebFrame elementRectAtPoint:]):
668 * WebView/WebUIKitDelegate.h:
670 2014-03-27 Enrica Casucci <enrica@apple.com>
672 Add support for AirPlay picker in WK2 for iOS.
673 https://bugs.webkit.org/show_bug.cgi?id=130855
674 <rdar://problem/15349859>
676 Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
678 Adds stub for new WebKit chrome client method.
680 * WebCoreSupport/WebChromeClientIOS.h:
681 * WebCoreSupport/WebChromeClientIOS.mm:
682 (WebChromeClientIOS::showAirPlayRoutePicker):
684 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
686 [iOS] Inspector View Indication Support
687 https://bugs.webkit.org/show_bug.cgi?id=130709
689 Reviewed by Simon Fraser.
691 * WebCoreSupport/WebInspectorClientIOS.mm:
692 (WebInspectorClient::showInspectorIndication):
693 (WebInspectorClient::hideInspectorIndication):
696 2014-03-22 Darin Adler <darin@apple.com>
698 Remove String::deprecatedCharacters
699 https://bugs.webkit.org/show_bug.cgi?id=126854
701 Reviewed by Sam Weinig.
703 * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
704 * Misc/WebNSStringDrawing.mm:
705 (+[NSString _web_setWordRoundingEnabled:]):
706 (+[NSString _web_wordRoundingEnabled]):
707 (+[NSString _web_setWordRoundingAllowed:]):
708 (+[NSString _web_wordRoundingAllowed]):
709 (+[NSString _web_setAscentRoundingEnabled:]):
710 (+[NSString _web_ascentRoundingEnabled]):
711 (-[NSString _web_drawAtPoint:withFont:]):
712 (-[NSString _web_sizeWithFont:]):
713 (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
714 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
715 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
716 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
717 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
718 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
719 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
720 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
721 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
722 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
723 (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
724 (-[NSString _web_sizeInRect:withFont:ellipsis:]):
725 (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
726 (-[NSString _web_sizeForWidth:withAttributes:]):
727 (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
728 (-[NSString _web_sizeInRect:withAttributes:]):
729 (-[NSString _web_drawInRect:withAttributes:]):
730 Emptied out all these functions since callers aren't really using them any more.
732 2014-03-21 Tim Horton <timothy_horton@apple.com>
734 Always retrieve the screen scale factor from WKSI
735 <rdar://problem/16329679>
737 Reviewed by Sam Weinig.
739 * Misc/WebUIKitSupport.mm:
740 (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
742 2014-03-19 Tim Horton <timothy_horton@apple.com>
744 [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
745 https://bugs.webkit.org/show_bug.cgi?id=130444
746 <rdar://problem/15580682>
748 Reviewed by Sam Weinig.
750 * WebView/WebPDFViewPlaceholder.h:
751 * WebView/WebPDFViewPlaceholder.mm:
752 (-[WebPDFViewPlaceholder layout]):
753 Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
756 Don't divide by zero if we have no pages, instead return an empty bounding size.
758 (-[WebPDFViewPlaceholder _computePageRects:]):
759 If we have an empty document, set the background color to white.
760 Otherwise, set it to black. It's not clear that black is the ideal
761 background color, but this retains existing behavior.
763 2014-03-14 Maciej Stachowiak <mjs@apple.com>
765 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
766 https://bugs.webkit.org/show_bug.cgi?id=130276
767 <rdar://problem/16266927>
769 Reviewed by Simon Fraser.
771 * WebCoreSupport/WebCaretChangeListener.h:
772 * WebCoreSupport/WebInspectorClientIOS.mm:
773 * WebView/WebPlainWhiteView.h:
774 * WebView/WebPlainWhiteView.mm:
776 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
778 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
779 https://bugs.webkit.org/show_bug.cgi?id=129612
781 Reviewed by Darin Adler.
783 For new code use static NeverDestroyed<T> instead.
785 * Misc/EmojiFallbackFontSelector.cpp:
786 (EmojiFallbackFontSelector::getFallbackFontData):
787 * WebCoreSupport/WebFixedPositionContent.mm:
788 (WebFixedPositionContentDataLock):
790 2014-03-13 Benjamin Poulain <bpoulain@apple.com>
792 The viewport code should not depend on WebKitSystemInterface
793 https://bugs.webkit.org/show_bug.cgi?id=130218
795 Reviewed by Tim Horton.
797 * WebCoreSupport/WebChromeClientIOS.h:
798 * WebCoreSupport/WebChromeClientIOS.mm:
799 (WebChromeClientIOS::viewportScreenSize):
800 Get the viewport size from WebKitSystemInterface.
802 2014-03-12 Enrica Casucci <enrica@apple.com>
804 Incorrect reference counting of Range in WebFrame.
805 https://bugs.webkit.org/show_bug.cgi?id=130160
806 <rdar://problem/16282535>
808 Reviewed by Anders Carlsson.
810 * WebCoreSupport/WebFrameIOS.mm:
811 (-[WebFrame selectionRects]):
813 2014-03-12 Simon Fraser <simon.fraser@apple.com>
816 https://bugs.webkit.org/show_bug.cgi?id=130146
818 Reviewed by Beth Dakin.
820 Fix spelling (constained -> constrained).
822 * WebCoreSupport/WebFixedPositionContent.mm:
823 (-[WebFixedPositionContent scrollOrZoomChanged:]):
824 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
825 (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
826 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
827 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
829 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
831 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
832 https://bugs.webkit.org/show_bug.cgi?id=128681
834 Reviewed by Timothy Hatcher.
836 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
837 WebCore/inspector/*. Besides files in there, a few other files in
838 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
839 and WebCore/testing were touched.
841 * WebCoreSupport/WebInspectorClientIOS.mm:
843 2014-02-12 Benjamin Poulain <bpoulain@apple.com>
845 [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
846 https://bugs.webkit.org/show_bug.cgi?id=128639
848 Reviewed by Andreas Kling.
850 * WebCoreSupport/WebChromeClientIOS.h:
851 * WebCoreSupport/WebChromeClientIOS.mm:
852 (WebChromeClientIOS::didReceiveMobileDocType):
854 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
856 Build fix after r163739.
858 * WebCoreSupport/WebFrameIOS.mm:
859 (-[WebFrame collapseSelection]):
860 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
862 2014-02-03 Dan Bernstein <mitz@apple.com>
864 More iOS build fixing.
866 * Misc/WebNSStringDrawing.mm:
867 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
868 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
870 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
872 Remove inline member functions of FrameSelection that access m_selection
873 https://bugs.webkit.org/show_bug.cgi?id=127986
875 Reviewed by Enrica Casucci.
877 * WebCoreSupport/WebFrameIOS.mm:
878 (-[WebFrame extendSelection:]):
879 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
880 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
881 (-[WebFrame expandSelectionToSentence]):
882 (-[WebFrame setBaseWritingDirection:]):
883 (-[WebFrame smartExtendRangedSelection:]):
885 2014-01-30 Andrei Bucur <abucur@adobe.com>
887 Remove the ACCELERATED_COMPOSITING flag
888 https://bugs.webkit.org/show_bug.cgi?id=127833
890 Reviewed by Antti Koivisto.
892 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
895 * WebCoreSupport/WebChromeClientIOS.h:
896 * WebCoreSupport/WebChromeClientIOS.mm:
897 (WebChromeClientIOS::attachRootGraphicsLayer):
898 * WebView/WebUIKitDelegate.h:
900 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
902 Unreviewed iOS build fix. FALLTHROUGHs for iOS.
904 * Misc/WebNSStringDrawing.mm:
907 2014-01-27 Andy Estes <aestes@apple.com>
909 Scrub WebKit API headers of WTF macros
910 https://bugs.webkit.org/show_bug.cgi?id=127706
912 Reviewed by David Kilzer.
914 * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
917 2014-01-15 Sam Weinig <sam@webkit.org>
919 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
920 https://bugs.webkit.org/show_bug.cgi?id=126856
922 Reviewed by Ryosuke Niwa.
924 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
925 now unnecessary up-conversions to UTF-16 in the process.
927 * Misc/WebNSStringDrawing.mm:
929 2014-01-16 Anders Carlsson <andersca@apple.com>
931 Change all uses of FINAL to final now that all our compilers support it
932 https://bugs.webkit.org/show_bug.cgi?id=127142
934 Reviewed by Benjamin Poulain.
936 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
938 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
940 Remove workaround for compilers not supporting explicit override control
941 https://bugs.webkit.org/show_bug.cgi?id=127111
943 Reviewed by Anders Carlsson.
945 Now all compilers support explicit override control, this workaround can be removed.
947 * Misc/EmojiFallbackFontSelector.h:
948 * Storage/WebSQLiteDatabaseTrackerClient.h:
949 * WebCoreSupport/PopupMenuIOS.h:
950 * WebCoreSupport/SearchPopupMenuIOS.h:
951 * WebCoreSupport/WebChromeClientIOS.h:
952 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
954 2014-01-16 Andy Estes <aestes@apple.com>
956 [iOS] Fix build issues with exported headers
958 * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
961 2014-01-14 Simon Fraser <simon.fraser@apple.com>
963 Avoid PLATFORM() macros in exported headers.
965 * WebView/WebPDFViewPlaceholder.h:
967 2014-01-14 Simon Fraser <simon.fraser@apple.com>
969 Clean up exports and headers for iOS.
971 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
972 * WebCoreSupport/WebFrameIOS.h: Ditto.
973 * WebCoreSupport/WebSelectionRect.h: Ditto.
975 2014-01-14 Dean Jackson <dino@apple.com>
977 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
981 2014-01-14 Simon Fraser <simon.fraser@apple.com>
983 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
985 * WebCoreSupport/WebInspectorClientIOS.mm:
986 (WebInspectorClient::indicate):
987 (WebInspectorClient::hideIndication):
989 2014-01-13 Simon Fraser <simon.fraser@apple.com>
991 More work towards getting iOS WK1 building.
993 * WebCoreSupport/WebFrameIOS.mm:
994 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
995 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
997 2014-01-12 Darin Adler <darin@apple.com>
999 Add type checking to isEqual methods
1000 https://bugs.webkit.org/show_bug.cgi?id=126862
1002 Reviewed by Anders Carlsson.
1004 * WebCoreSupport/WebVisiblePosition.mm:
1005 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
1006 Add a FIXME about the lack of a hash method override. Simplified by
1007 removing the unneeded local variables.
1009 2014-01-02 Andy Estes <aestes@apple.com>
1011 [iOS] Upstream remainder of minimal-ui viewport changes
1012 https://bugs.webkit.org/show_bug.cgi?id=126410
1014 Reviewed by Sam Weinig.
1016 * WebCoreSupport/WebChromeClientIOS.mm:
1017 (dictionaryForViewportArguments):
1020 2013-12-31 Andy Estes <aestes@apple.com>
1022 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1023 https://bugs.webkit.org/show_bug.cgi?id=125746
1025 Reviewed by David Kilzer.
1027 * WebCoreSupport/WebVisiblePosition.mm:
1028 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1029 to mention iOS rather than iPhone.
1031 2013-12-27 Daniel Bates <dabates@apple.com>
1033 [iOS] Upstream WebCore/page changes
1034 https://bugs.webkit.org/show_bug.cgi?id=126180
1036 Reviewed by Darin Adler.
1038 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1040 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
1042 Consolidate various frame snapshot capabilities.
1043 https://bugs.webkit.org/show_bug.cgi?id=124325
1045 Reviewed by Darin Adler.
1047 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1049 2013-12-04 Andy Estes <aestes@apple.com>
1051 [iOS] Upstream build fixes in Source/WebKit/ios/
1052 https://bugs.webkit.org/show_bug.cgi?id=125230
1054 Reviewed by Sam Weinig.
1056 * DefaultDelegates/WebDefaultUIKitDelegate.m:
1057 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1058 * Misc/WebNSStringDrawing.mm:
1060 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1061 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1062 * Misc/WebUIKitSupport.mm:
1064 * WebCoreSupport/WebChromeClientIOS.h:
1065 * WebCoreSupport/WebChromeClientIOS.mm:
1066 (WebChromeClientIOS::didReceiveMobileDocType):
1067 (WebChromeClientIOS::focusedElementChanged):
1068 * WebCoreSupport/WebFrameIOS.mm:
1069 (-[WebFrame clearSelection]):
1070 (-[WebFrame selectionState]):
1071 (-[WebFrame collapseSelection]):
1072 (-[WebFrame extendSelection:]):
1073 (-[WebFrame selectionRects]):
1074 (-[WebFrame setRangedSelectionWithExtentPoint:]):
1075 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1076 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1077 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1078 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1079 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1080 (-[WebFrame expandSelectionToSentence]):
1081 (-[WebFrame setBaseWritingDirection:]):
1082 (-[WebFrame moveSelectionToStart]):
1083 (-[WebFrame moveSelectionToEnd]):
1084 (-[WebFrame moveSelectionToPoint:]):
1085 (-[WebFrame setSelectionGranularity:]):
1086 (-[WebFrame smartExtendRangedSelection:]):
1087 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1088 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1089 * WebCoreSupport/WebInspectorClientIOS.mm:
1090 (WebInspectorClient::WebInspectorClient):
1091 (WebInspectorClient::didSetSearchingForNode):
1092 (WebInspectorClient::setupRemoteConnection):
1093 (WebInspectorClient::teardownRemoteConnection):
1094 * WebCoreSupport/WebVisiblePosition.mm:
1095 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1096 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1097 (-[DOMHTMLInputElement startPosition]):
1098 (-[DOMHTMLInputElement endPosition]):
1099 (-[DOMHTMLTextAreaElement startPosition]):
1100 (-[DOMHTMLTextAreaElement endPosition]):
1101 * WebView/WebPDFViewIOS.mm:
1102 (+[WebPDFView shadowColor]):
1103 (+[WebPDFView backgroundColor]):
1104 (-[WebPDFView _checkPDFTitle]):
1105 * WebView/WebPDFViewPlaceholder.mm:
1106 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1107 * WebView/WebUIKitDelegate.h:
1109 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
1111 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1112 https://bugs.webkit.org/show_bug.cgi?id=124613
1114 Reviewed by Timothy Hatcher.
1116 * WebCoreSupport/WebInspectorClientIOS.mm:
1117 (WebInspectorClient::WebInspectorClient):
1118 (WebInspectorClient::inspectorDestroyed):
1120 2013-12-03 Ralph Thomas <ralpht@gmail.com>
1122 Typo: FixedPositionConstaint -> FixedPositionConstraint
1123 https://bugs.webkit.org/show_bug.cgi?id=125171
1125 Reviewed by Simon Fraser.
1127 * WebCoreSupport/WebFixedPositionContent.mm:
1128 (-[WebFixedPositionContent scrollOrZoomChanged:]):
1130 2013-11-18 Commit Queue <commit-queue@webkit.org>
1132 Unreviewed, rolling out r159455.
1133 http://trac.webkit.org/changeset/159455
1134 https://bugs.webkit.org/show_bug.cgi?id=124568
1136 broke two api tests (see bug 124564) (Requested by thorton on
1139 * WebCoreSupport/WebFrameIOS.mm:
1141 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
1143 Consolidate various frame snapshot capabilities.
1144 https://bugs.webkit.org/show_bug.cgi?id=124325
1146 Reviewed by Timothy Hatcher.
1148 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1150 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
1152 Remove a PLATFORM(IOS) from WebKit Private Header
1153 https://bugs.webkit.org/show_bug.cgi?id=124014
1155 Reviewed by Timothy Hatcher.
1159 2013-10-29 Andy Estes <aestes@apple.com>
1161 [iOS] Upstream Source/WebKit/ios/
1162 https://bugs.webkit.org/show_bug.cgi?id=123470
1164 Reviewed by Sam Weinig.
1166 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1167 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1168 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1169 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1170 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1171 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1172 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1173 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1174 * Misc/EmojiFallbackFontSelector.cpp: Added.
1175 * Misc/EmojiFallbackFontSelector.h: Added.
1176 * Misc/MemoryMeasure.h: Added.
1177 * Misc/MemoryMeasure.mm: Added.
1178 * Misc/WebGeolocationCoreLocationProvider.h: Added.
1179 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1180 * Misc/WebGeolocationProviderIOS.h: Added.
1181 * Misc/WebGeolocationProviderIOS.mm: Added.
1182 * Misc/WebNSStringDrawing.h: Added.
1183 * Misc/WebNSStringDrawing.mm: Added.
1184 * Misc/WebNSStringExtrasIOS.h: Added.
1185 * Misc/WebNSStringExtrasIOS.m: Added.
1186 * Misc/WebNSStringExtrasIPhone.h: Added.
1187 * Misc/WebUIKitSupport.h: Added.
1188 * Misc/WebUIKitSupport.mm: Added.
1189 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1190 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1191 * WebCoreSupport/PopupMenuIOS.h: Added.
1192 * WebCoreSupport/PopupMenuIOS.mm: Added.
1193 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1194 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1195 * WebCoreSupport/WebCaretChangeListener.h: Added.
1196 * WebCoreSupport/WebChromeClientIOS.h: Added.
1197 * WebCoreSupport/WebChromeClientIOS.mm: Added.
1198 * WebCoreSupport/WebFixedPositionContent.h: Added.
1199 * WebCoreSupport/WebFixedPositionContent.mm: Added.
1200 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1201 * WebCoreSupport/WebFrameIOS.h: Added.
1202 * WebCoreSupport/WebFrameIOS.mm: Added.
1203 * WebCoreSupport/WebFrameIPhone.h: Added.
1204 * WebCoreSupport/WebGeolocation.mm: Added.
1205 * WebCoreSupport/WebGeolocationInternal.h: Added.
1206 * WebCoreSupport/WebGeolocationPrivate.h: Added.
1207 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1208 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1209 * WebCoreSupport/WebSelectionRect.h: Added.
1210 * WebCoreSupport/WebSelectionRect.m: Added.
1211 * WebCoreSupport/WebVisiblePosition.h: Added.
1212 * WebCoreSupport/WebVisiblePosition.mm: Added.
1213 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1214 * WebKit.iOS.exp: Added.
1215 * WebView/WebFrameViewWAKCompatibility.m: Added.
1216 * WebView/WebMailDelegate.h: Added.
1217 * WebView/WebPDFViewIOS.h: Added.
1218 * WebView/WebPDFViewIOS.mm: Added.
1219 * WebView/WebPDFViewIPhone.h: Added.
1220 * WebView/WebPDFViewPlaceholder.h: Added.
1221 * WebView/WebPDFViewPlaceholder.mm: Added.
1222 * WebView/WebPlainWhiteView.h: Added.
1223 * WebView/WebPlainWhiteView.mm: Added.
1224 * WebView/WebUIKitDelegate.h: Added.
1226 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
1228 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1229 https://bugs.webkit.org/show_bug.cgi?id=123111
1231 Reviewed by Timothy Hatcher.
1233 iOS does not have a local inspector, only remote. So give it a custom
1234 implementation separate from the WebKit/mac WebInspectorClient
1235 implementation which handles an attaching/detaching local inspector.
1237 * WebKit.xcodeproj/project.pbxproj:
1238 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1239 (WebInspectorClient::WebInspectorClient):
1240 (WebInspectorClient::inspectorDestroyed):
1241 (WebInspectorClient::openInspectorFrontend):
1242 (WebInspectorClient::bringFrontendToFront):
1243 (WebInspectorClient::closeInspectorFrontend):
1244 (WebInspectorClient::didResizeMainFrame):
1245 (WebInspectorClient::highlight):
1246 (WebInspectorClient::hideHighlight):
1247 (WebInspectorClient::didSetSearchingForNode):
1248 (WebInspectorClient::sendMessageToFrontend):
1249 (WebInspectorClient::sendMessageToBackend):
1250 (WebInspectorClient::setupRemoteConnection):
1251 (WebInspectorClient::teardownRemoteConnection):
1252 (WebInspectorClient::hasLocalSession):
1253 (WebInspectorClient::canBeRemotelyInspected):
1254 (WebInspectorClient::inspectedWebView):
1255 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1256 (WebInspectorFrontendClient::attachAvailabilityChanged):
1257 (WebInspectorFrontendClient::frontendLoaded):
1258 (WebInspectorFrontendClient::localizedStringsURL):
1259 (WebInspectorFrontendClient::bringToFront):
1260 (WebInspectorFrontendClient::closeWindow):
1261 (WebInspectorFrontendClient::disconnectFromBackend):
1262 (WebInspectorFrontendClient::attachWindow):
1263 (WebInspectorFrontendClient::detachWindow):
1264 (WebInspectorFrontendClient::setAttachedWindowHeight):
1265 (WebInspectorFrontendClient::setAttachedWindowWidth):
1266 (WebInspectorFrontendClient::setToolbarHeight):
1267 (WebInspectorFrontendClient::inspectedURLChanged):
1268 (WebInspectorFrontendClient::updateWindowTitle):
1269 (WebInspectorFrontendClient::save):
1270 (WebInspectorFrontendClient::append):