d77f9bf6e043bff0a4a70891ecda67380dfc947e
[WebKit-https.git] / Source / WebKit / ios / ChangeLog
1 2015-06-02  Brady Eidson  <beidson@apple.com>
2
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
5
6         Reviewed by Alex Christensen.
7
8         * WebView/WebPDFViewPlaceholder.mm:
9         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
10
11 2015-05-25  Dan Bernstein  <mitz@apple.com>
12
13         ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
14         https://bugs.webkit.org/show_bug.cgi?id=145372
15
16         Reviewed by Sam Weinig.
17
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.
25
26 2015-04-28  Brady Eidson  <beidson@apple.com>
27
28         Consolidate most "frame load" arguments into FrameLoadRequest.
29         https://bugs.webkit.org/show_bug.cgi?id=144276
30
31         Reviewed by Alexey Proskuryakov.
32
33         * WebView/WebPDFViewPlaceholder.mm:
34         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
35
36 2015-04-13  Beth Dakin  <bdakin@apple.com>
37
38         Add force property to MouseEvents
39         https://bugs.webkit.org/show_bug.cgi?id=143569
40         -and corresponding-
41         rdar://problem/20472954
42
43         Reviewed by Darin Adler.
44
45         Send the appropriate force with this simulated click event.
46         * WebView/WebPDFViewPlaceholder.mm:
47         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
48
49 2015-03-31  Myles C. Maxfield  <mmaxfield@apple.com>
50
51         Move ExpansionBehaviorFlags and TextDirection to their own file
52         https://bugs.webkit.org/show_bug.cgi?id=143273
53
54         Reviewed by Simon Fraser.
55
56         This is a mechanical change. It just moves code around.
57
58         This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
59
60         * WebCoreSupport/WebFrameIOS.mm:
61         * WebCoreSupport/WebVisiblePosition.mm:
62
63 2015-03-09  David Kilzer  <ddkilzer@apple.com>
64
65         [iOS] Fix build when compiling with dead code stripping disabled
66         <http://webkit.org/b/142467>
67
68         Reviewed by Simon Fraser.
69
70         * WebCoreSupport/WebInspectorClientIOS.mm:
71         (WebInspectorFrontendClient::save): Add missing method.
72
73 2015-02-14  Alexey Proskuryakov  <ap@apple.com>
74
75         rel="noreferrer" should make window.opener null
76         https://bugs.webkit.org/show_bug.cgi?id=141579
77
78         Reviewed by Darin Adler.
79
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.
83
84 2015-02-03  Enrica Casucci  <enrica@apple.com>
85
86         [iOS] Add support for deleteFromInputWithFlags.
87         https://bugs.webkit.org/show_bug.cgi?id=141216
88         rdar://problem/19130081
89
90         Reviewed by Benjamin Poulain.
91
92         Adopts the new method as soon as it is available.
93         The patch also removes some obsolete code used for staging.
94
95         * DefaultDelegates/WebDefaultUIKitDelegate.m:
96         (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
97         (-[WebDefaultUIKitDelegate deleteFromInput]):
98         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
99         (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
100         * WebView/WebUIKitDelegate.h:
101
102 2015-01-22  Andreas Kling  <akling@apple.com>
103
104         Remove unused class EmojiFallbackFontSelector.
105         <https://webkit.org/b/140809>
106
107         Reviewed by Antti Koivisto.
108
109         This class no longer has any clients.
110
111         * Misc/EmojiFallbackFontSelector.cpp: Removed.
112         * Misc/EmojiFallbackFontSelector.h: Removed.
113
114 2015-01-13  Chris Dumez  <cdumez@apple.com>
115
116         Unreviewed iOS build fix after r178375
117
118         Match FontSelector API changes.
119
120         * Misc/EmojiFallbackFontSelector.cpp:
121         (EmojiFallbackFontSelector::fallbackFontDataAt):
122         (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
123         * Misc/EmojiFallbackFontSelector.h:
124
125 2014-12-07  Dan Bernstein  <mitz@apple.com>
126
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
129
130         Reviewed by Anders Carlsson.
131
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.
137
138         * Misc/WebGeolocationCoreLocationProvider.mm:
139         (-[WebGeolocationCoreLocationProvider createLocationManager]):
140
141 2014-12-06  Anders Carlsson  <andersca@apple.com>
142
143         Fix build with newer versions of clang.
144         rdar://problem/18978687
145
146         Cast the result of +alloc to the right type.
147
148         * Misc/WebGeolocationCoreLocationProvider.mm:
149         (-[WebGeolocationCoreLocationProvider createLocationManager]):
150         * WebCoreSupport/WebSelectionRect.m:
151         (+[WebSelectionRect selectionRect]):
152
153 2014-11-20  Benjamin Poulain  <bpoulain@apple.com>
154
155         Remove the remaining vestiges of minimal-ui
156         https://bugs.webkit.org/show_bug.cgi?id=138890
157
158         Reviewed by Sam Weinig.
159
160         * WebCoreSupport/WebChromeClientIOS.mm:
161         (dictionaryForViewportArguments):
162         * WebKit.iOS.exp:
163
164 2014-11-19  Daniel Bates  <dabates@apple.com>
165
166         [iOS] Make WebKit build with public iOS SDK
167         https://bugs.webkit.org/show_bug.cgi?id=136863
168
169         Reviewed by David Kilzer.
170
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.
174
175 2014-11-14  Daniel Bates  <dabates@apple.com>
176
177         [iOS] CoreGraphics SPI not available in public SDK
178         https://bugs.webkit.org/show_bug.cgi?id=138709
179
180         Reviewed by David Kilzer.
181
182         Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
183
184         * WebCoreSupport/WebFixedPositionContent.mm:
185
186 2014-10-20  Andy Estes  <aestes@apple.com>
187
188         Fix the iOS build.
189
190         * WebCoreSupport/WebFrameIOS.mm:
191         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
192         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
193         * WebCoreSupport/WebVisiblePosition.mm:
194         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
195         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
196
197 2014-10-15  Chris Dumez  <cdumez@apple.com>
198
199         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
200         https://bugs.webkit.org/show_bug.cgi?id=137727
201
202         Reviewed by Darin Adler.
203
204         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
205
206         * WebCoreSupport/WebVisiblePosition.mm:
207         (-[DOMHTMLInputElement startPosition]):
208         (-[DOMHTMLInputElement endPosition]):
209         (-[DOMHTMLTextAreaElement startPosition]):
210         (-[DOMHTMLTextAreaElement endPosition]):
211
212 2014-10-03  Tim Horton  <timothy_horton@apple.com>
213
214         REGRESSION (r165896): UIWebView PDFs have a forced black background
215         https://bugs.webkit.org/show_bug.cgi?id=137387
216         <rdar://problem/17948411>
217
218         Reviewed by David Kilzer.
219
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.
230
231 2014-10-03  Tim Horton  <timothy_horton@apple.com>
232
233         REGRESSION (r173265): UIWebView PDF loading is completely broken
234         https://bugs.webkit.org/show_bug.cgi?id=137386
235         <rdar://problem/18524717>
236
237         Reviewed by David Kilzer.
238
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.
246
247 2014-10-01  Christophe Dumez  <cdumez@apple.com>
248
249         Have is<>(T*) function do a null check on the pointer argument
250         https://bugs.webkit.org/show_bug.cgi?id=137333
251
252         Reviewed by Gavin Barraclough.
253
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
259            null checks.
260
261         * WebCoreSupport/WebChromeClientIOS.mm:
262         (WebChromeClientIOS::focusedElementChanged):
263
264 2014-09-29  Daniel Bates  <dabates@apple.com>
265
266         [iOS] Remove CoreLocation workaround
267         https://bugs.webkit.org/show_bug.cgi?id=137198
268
269         Reviewed by Dan Bernstein.
270
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).
273
274         * Misc/WebGeolocationCoreLocationProvider.mm:
275         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
276         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
277
278 2014-09-24  Daniel Bates  <dabates@apple.com>
279
280         [iOS] Another iOS build fix; workaround for CoreLocation
281         https://bugs.webkit.org/show_bug.cgi?id=137104
282         <rdar://problem/18450785>
283
284         Rubber-stamped by Benjamin Poulain.
285
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>.
289
290         * Misc/WebGeolocationCoreLocationProvider.mm:
291         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
292         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
293
294 2014-09-24  Daniel Bates  <dabates@apple.com>
295
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>
299
300         Reviewed by Mark Lam.
301
302         * Misc/WebGeolocationCoreLocationProvider.mm:
303         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
304         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
305
306 2014-09-24  Christophe Dumez  <cdumez@apple.com>
307
308         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
309         https://bugs.webkit.org/show_bug.cgi?id=137068
310
311         Reviewed by Ryosuke Niwa.
312
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.
316
317         * WebCoreSupport/WebChromeClientIOS.mm:
318         (WebChromeClientIOS::focusedElementChanged):
319
320 2014-09-21  Timothy Hatcher  <timothy@apple.com>
321
322         Make the Web Inspector use a separate web process.
323
324         https://bugs.webkit.org/show_bug.cgi?id=135120
325
326         Reviewed by Anders Carlsson.
327
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.
332
333 2014-09-23  Chris Dumez  <cdumez@apple.com>
334
335         Use downcast<HTML*Element>() instead of toHTML*Element()
336         https://bugs.webkit.org/show_bug.cgi?id=137007
337
338         Reviewed by Benjamin Poulain.
339
340         Use downcast<HTML*Element>() instead of toHTML*Element().
341
342         * WebCoreSupport/WebChromeClientIOS.mm:
343         (WebChromeClientIOS::focusedElementChanged):
344
345 2014-09-17  Daniel Bates  <dabates@apple.com>
346
347         Unreviewed, rolling out r173695.
348
349         Broke building third-party Legacy WebKit apps; will
350         investigate offline
351
352         Reverted changeset:
353
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
357
358 2014-09-17  Daniel Bates  <dabates@apple.com>
359
360         [iOS] Make WebCore build with public iOS SDK
361         https://bugs.webkit.org/show_bug.cgi?id=136487
362
363         Reviewed by David Kilzer.
364
365         Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
366
367         * WebCoreSupport/WebFixedPositionContent.mm:
368
369 2014-09-05  Simon Fraser  <simon.fraser@apple.com>
370
371         Remove some PLATFORM(IOS) code in Color.h/cpp
372         https://bugs.webkit.org/show_bug.cgi?id=136582
373
374         Reviewed by Dan Bates.
375         
376         createCGColorWithDeviceWhite() is only used here so make it a local static function.
377
378         * WebView/WebPDFViewIOS.mm:
379         (createCGColorWithDeviceWhite):
380
381 2014-09-04  Pratik Solanki  <psolanki@apple.com>
382
383         Remove iOS specific disk image cache
384         https://bugs.webkit.org/show_bug.cgi?id=136517
385
386         Reviewed by Antti Koivisto.
387
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.
390
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.
397
398 2014-08-31  Tim Horton  <timothy_horton@apple.com>
399
400         Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
401         https://bugs.webkit.org/show_bug.cgi?id=136416
402
403         Reviewed by Dan Bernstein.
404
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.
410
411 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
412
413         Implement paint flashing in the WK1 InspectorOverlay page
414         https://bugs.webkit.org/show_bug.cgi?id=136138
415
416         Reviewed by Sam Weinig, Joseph Pecoraro.
417
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.
420         
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.
423         
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.
426
427         * WebCoreSupport/WebInspectorClientIOS.mm:
428         (WebInspectorClient::setShowPaintRects):
429         (WebInspectorClient::showPaintRect):
430
431 2014-08-18  Andy Estes  <aestes@apple.com>
432
433         Fix the iOS build after  r172709.
434
435         * WebView/WebPDFViewPlaceholder.mm:
436         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
437
438 2014-07-03  Daniel Bates  <dabates@apple.com>
439
440         Add WTF::move()
441         https://bugs.webkit.org/show_bug.cgi?id=134500
442
443         Rubber-stamped by Anders Carlsson.
444
445         Substitute WTF::move() for std::move().
446
447         * WebCoreSupport/WebFixedPositionContent.mm:
448         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
449         * WebCoreSupport/WebInspectorClientIOS.mm:
450         (WebInspectorFrontendClient::WebInspectorFrontendClient):
451
452 2014-07-01  Alex Christensen  <achristensen@webkit.org>
453
454         [iOS] Compile fix with pointer lock enabled.
455         https://bugs.webkit.org/show_bug.cgi?id=134472
456
457         Reviewed by Pratik Solanki.
458
459         * WebView/WebPDFViewPlaceholder.mm:
460         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
461         Add parameters required for pointer lock.
462
463 2014-06-05  Benjamin Poulain  <bpoulain@apple.com>
464
465         [iOS][WK2] Add device orientation
466         https://bugs.webkit.org/show_bug.cgi?id=133530
467
468         Reviewed by Tim Horton.
469
470         Change WebKit1 to provide the deviceOrientation as pull instead of push.
471
472         * DefaultDelegates/WebDefaultUIKitDelegate.m:
473         (-[WebDefaultUIKitDelegate deviceOrientation]):
474         * WebCoreSupport/WebChromeClientIOS.h:
475         * WebCoreSupport/WebChromeClientIOS.mm:
476         (WebChromeClientIOS::deviceOrientation):
477         * WebView/WebUIKitDelegate.h:
478
479 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
480
481         [iOS] Switch geolocation to an explicit authorization query model
482         https://bugs.webkit.org/show_bug.cgi?id=132717
483         <rdar://problem/16762390>
484
485         Reviewed by Sam Weinig.
486
487         WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
488
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".
492
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.
497
498
499         WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
500         to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
501
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.
536
537 2014-04-30  Anders Carlsson  <andersca@apple.com>
538
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>
542
543         Reviewed by Dan Bernstein.
544
545         Import WebKitLegacy headers instead of WebKit headers.
546         
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:
565
566 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
567
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
570
571         Reviewed by Tim Horton.
572
573         Updates callers to use '.' instead of '->'.
574
575         No new tests are necessary because there should be no behavior change.
576
577         * Misc/EmojiFallbackFontSelector.cpp:
578         (EmojiFallbackFontSelector::getFallbackFontData):
579
580 2014-04-17  Daniel Bates  <dabates@apple.com>
581
582         [iOS] Hook up screen.{availHeight, availWidth, height, width}
583         https://bugs.webkit.org/show_bug.cgi?id=131821
584         <rdar://problem/16413795>
585
586         Reviewed by Benjamin Poulain and Tim Horton.
587
588         Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
589
590         Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
591
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.
597
598 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
599
600         Rename Clipboard to DataTransfer
601         https://bugs.webkit.org/show_bug.cgi?id=131371
602
603         Reviewed by Anders Carlsson.
604
605         * WebView/WebPDFViewPlaceholder.mm:
606
607 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
608
609         [iOS] Remove the legacy string drawing code
610         https://bugs.webkit.org/show_bug.cgi?id=131088
611
612         Reviewed by Sam Weinig.
613
614         * Misc/WebNSStringDrawing.h: Removed.
615         * Misc/WebNSStringDrawing.mm: Removed.
616         * Misc/WebUIKitSupport.h:
617
618 2014-04-02  Mark Rowe  <mrowe@apple.com>
619
620         Build fix after r166684.
621
622         * WebView/WebPDFViewPlaceholder.mm:
623         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
624
625 2014-03-31  Anders Carlsson  <andersca@apple.com>
626
627         Fix iOS build.
628
629         * WebCoreSupport/WebChromeClientIOS.h:
630         * WebCoreSupport/WebChromeClientIOS.mm:
631         * WebCoreSupport/WebFixedPositionContent.mm:
632         * WebCoreSupport/WebFixedPositionContentInternal.h:
633
634 2014-03-30  Dan Bernstein  <mitz@apple.com>
635
636         Tried to fix the iOS build.
637
638         * Misc/WebGeolocationCoreLocationProvider.mm:
639         (-[WebGeolocationCoreLocationProvider start]):
640         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
641
642 2014-03-27  Enrica Casucci  <enrica@apple.com>
643
644         Add support for AirPlay picker for iOS.
645         https://bugs.webkit.org/show_bug.cgi?id=130876
646         <rdar://problem/15349859>
647
648         Reviewed by Benjamin Poulain.
649
650         Adds support for the AirPlay picker for WebKit.
651         The actual picker is implemented in UIKit.
652
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:
662
663 2014-03-27  Enrica Casucci  <enrica@apple.com>
664
665         Add support for AirPlay picker in WK2 for iOS.
666         https://bugs.webkit.org/show_bug.cgi?id=130855
667         <rdar://problem/15349859>
668
669         Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
670
671         Adds stub for new WebKit chrome client method.
672
673         * WebCoreSupport/WebChromeClientIOS.h:
674         * WebCoreSupport/WebChromeClientIOS.mm:
675         (WebChromeClientIOS::showAirPlayRoutePicker):
676
677 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
678
679         [iOS] Inspector View Indication Support
680         https://bugs.webkit.org/show_bug.cgi?id=130709
681
682         Reviewed by Simon Fraser.
683
684         * WebCoreSupport/WebInspectorClientIOS.mm:
685         (WebInspectorClient::showInspectorIndication):
686         (WebInspectorClient::hideInspectorIndication):
687         Renamed methods.
688
689 2014-03-22  Darin Adler  <darin@apple.com>
690
691         Remove String::deprecatedCharacters
692         https://bugs.webkit.org/show_bug.cgi?id=126854
693
694         Reviewed by Sam Weinig.
695
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.
724
725 2014-03-21  Tim Horton  <timothy_horton@apple.com>
726
727         Always retrieve the screen scale factor from WKSI
728         <rdar://problem/16329679>
729
730         Reviewed by Sam Weinig.
731
732         * Misc/WebUIKitSupport.mm:
733         (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
734
735 2014-03-19  Tim Horton  <timothy_horton@apple.com>
736
737         [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
738         https://bugs.webkit.org/show_bug.cgi?id=130444
739         <rdar://problem/15580682>
740
741         Reviewed by Sam Weinig.
742
743         * WebView/WebPDFViewPlaceholder.h:
744         * WebView/WebPDFViewPlaceholder.mm:
745         (-[WebPDFViewPlaceholder layout]):
746         Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
747         which is confusing.
748
749         Don't divide by zero if we have no pages, instead return an empty bounding size.
750
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.
755
756 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
757
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>
761         
762         Reviewed by Simon Fraser.
763
764         * WebCoreSupport/WebCaretChangeListener.h:
765         * WebCoreSupport/WebInspectorClientIOS.mm:
766         * WebView/WebPlainWhiteView.h:
767         * WebView/WebPlainWhiteView.mm:
768
769 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
770
771         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
772         https://bugs.webkit.org/show_bug.cgi?id=129612
773
774         Reviewed by Darin Adler.
775
776         For new code use static NeverDestroyed<T> instead.
777
778         * Misc/EmojiFallbackFontSelector.cpp:
779         (EmojiFallbackFontSelector::getFallbackFontData):
780         * WebCoreSupport/WebFixedPositionContent.mm:
781         (WebFixedPositionContentDataLock):
782
783 2014-03-13  Benjamin Poulain  <bpoulain@apple.com>
784
785         The viewport code should not depend on WebKitSystemInterface
786         https://bugs.webkit.org/show_bug.cgi?id=130218
787
788         Reviewed by Tim Horton.
789
790         * WebCoreSupport/WebChromeClientIOS.h:
791         * WebCoreSupport/WebChromeClientIOS.mm:
792         (WebChromeClientIOS::viewportScreenSize):
793         Get the viewport size from WebKitSystemInterface.
794
795 2014-03-12  Enrica Casucci  <enrica@apple.com>
796
797         Incorrect reference counting of Range in WebFrame.
798         https://bugs.webkit.org/show_bug.cgi?id=130160
799         <rdar://problem/16282535>
800
801         Reviewed by Anders Carlsson.
802
803         * WebCoreSupport/WebFrameIOS.mm:
804         (-[WebFrame selectionRects]):
805
806 2014-03-12  Simon Fraser  <simon.fraser@apple.com>
807
808         Spelling is hard
809         https://bugs.webkit.org/show_bug.cgi?id=130146
810
811         Reviewed by Beth Dakin.
812         
813         Fix spelling (constained -> constrained).
814
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:]):
821
822 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
823
824         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
825         https://bugs.webkit.org/show_bug.cgi?id=128681
826
827         Reviewed by Timothy Hatcher.
828
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.
833
834         * WebCoreSupport/WebInspectorClientIOS.mm:
835
836 2014-02-12  Benjamin Poulain  <bpoulain@apple.com>
837
838         [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
839         https://bugs.webkit.org/show_bug.cgi?id=128639
840
841         Reviewed by Andreas Kling.
842
843         * WebCoreSupport/WebChromeClientIOS.h:
844         * WebCoreSupport/WebChromeClientIOS.mm:
845         (WebChromeClientIOS::didReceiveMobileDocType):
846
847 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
848
849         Build fix after r163739.
850
851         * WebCoreSupport/WebFrameIOS.mm:
852         (-[WebFrame collapseSelection]):
853         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
854
855 2014-02-03  Dan Bernstein  <mitz@apple.com>
856
857         More iOS build fixing.
858
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:]):
862
863 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
864
865         Remove inline member functions of FrameSelection that access m_selection
866         https://bugs.webkit.org/show_bug.cgi?id=127986
867
868         Reviewed by Enrica Casucci.
869
870         * WebCoreSupport/WebFrameIOS.mm:
871         (-[WebFrame extendSelection:]):
872         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
873         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
874         (-[WebFrame expandSelectionToSentence]):
875         (-[WebFrame setBaseWritingDirection:]):
876         (-[WebFrame smartExtendRangedSelection:]):
877
878 2014-01-30  Andrei Bucur  <abucur@adobe.com>
879
880         Remove the ACCELERATED_COMPOSITING flag
881         https://bugs.webkit.org/show_bug.cgi?id=127833
882
883         Reviewed by Antti Koivisto.
884
885         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
886         mandatory.
887
888         * WebCoreSupport/WebChromeClientIOS.h:
889         * WebCoreSupport/WebChromeClientIOS.mm:
890         (WebChromeClientIOS::attachRootGraphicsLayer):
891         * WebView/WebUIKitDelegate.h:
892
893 2014-01-27  Joseph Pecoraro  <pecoraro@apple.com>
894
895         Unreviewed iOS build fix. FALLTHROUGHs for iOS.
896
897         * Misc/WebNSStringDrawing.mm:
898         (needsBidiLayout):
899
900 2014-01-27  Andy Estes  <aestes@apple.com>
901
902         Scrub WebKit API headers of WTF macros
903         https://bugs.webkit.org/show_bug.cgi?id=127706
904
905         Reviewed by David Kilzer.
906
907         * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
908         TARGET_OS_IPHONE.
909
910 2014-01-15  Sam Weinig  <sam@webkit.org>
911
912         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
913         https://bugs.webkit.org/show_bug.cgi?id=126856
914
915         Reviewed by Ryosuke Niwa.
916
917         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
918         now unnecessary up-conversions to UTF-16 in the process.
919
920         * Misc/WebNSStringDrawing.mm:
921
922 2014-01-16  Anders Carlsson  <andersca@apple.com>
923
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
926
927         Reviewed by Benjamin Poulain.
928
929         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
930
931 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
932
933         Remove workaround for compilers not supporting explicit override control
934         https://bugs.webkit.org/show_bug.cgi?id=127111
935
936         Reviewed by Anders Carlsson.
937
938         Now all compilers support explicit override control, this workaround can be removed.
939
940         * Misc/EmojiFallbackFontSelector.h:
941         * Storage/WebSQLiteDatabaseTrackerClient.h:
942         * WebCoreSupport/PopupMenuIOS.h:
943         * WebCoreSupport/SearchPopupMenuIOS.h:
944         * WebCoreSupport/WebChromeClientIOS.h:
945         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
946
947 2014-01-16  Andy Estes  <aestes@apple.com>
948
949         [iOS] Fix build issues with exported headers
950
951         * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
952         TARGET_OS_IPHONE.
953
954 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
955
956         Avoid PLATFORM() macros in exported headers.
957
958         * WebView/WebPDFViewPlaceholder.h:
959
960 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
961
962         Clean up exports and headers for iOS.
963
964         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
965         * WebCoreSupport/WebFrameIOS.h: Ditto.
966         * WebCoreSupport/WebSelectionRect.h: Ditto.
967
968 2014-01-14  Dean Jackson  <dino@apple.com>
969
970         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
971
972         * WebKit.iOS.exp:
973
974 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
975
976         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
977
978         * WebCoreSupport/WebInspectorClientIOS.mm:
979         (WebInspectorClient::indicate):
980         (WebInspectorClient::hideIndication):
981
982 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
983
984         More work towards getting iOS WK1 building.
985
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>.
989
990 2014-01-12  Darin Adler  <darin@apple.com>
991
992         Add type checking to isEqual methods
993         https://bugs.webkit.org/show_bug.cgi?id=126862
994
995         Reviewed by Anders Carlsson.
996
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.
1001
1002 2014-01-02  Andy Estes  <aestes@apple.com>
1003
1004         [iOS] Upstream remainder of minimal-ui viewport changes
1005         https://bugs.webkit.org/show_bug.cgi?id=126410
1006
1007         Reviewed by Sam Weinig.
1008
1009         * WebCoreSupport/WebChromeClientIOS.mm:
1010         (dictionaryForViewportArguments):
1011         * WebKit.iOS.exp:
1012
1013 2013-12-31  Andy Estes  <aestes@apple.com>
1014
1015         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1016         https://bugs.webkit.org/show_bug.cgi?id=125746
1017
1018         Reviewed by David Kilzer.
1019
1020         * WebCoreSupport/WebVisiblePosition.mm:
1021         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1022         to mention iOS rather than iPhone.
1023
1024 2013-12-27  Daniel Bates  <dabates@apple.com>
1025
1026         [iOS] Upstream WebCore/page changes
1027         https://bugs.webkit.org/show_bug.cgi?id=126180
1028
1029         Reviewed by Darin Adler.
1030
1031         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1032
1033 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
1034
1035         Consolidate various frame snapshot capabilities.
1036         https://bugs.webkit.org/show_bug.cgi?id=124325
1037
1038         Reviewed by Darin Adler.
1039
1040         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1041
1042 2013-12-04  Andy Estes  <aestes@apple.com>
1043
1044         [iOS] Upstream build fixes in Source/WebKit/ios/
1045         https://bugs.webkit.org/show_bug.cgi?id=125230
1046
1047         Reviewed by Sam Weinig.
1048
1049         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1050         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1051         * Misc/WebNSStringDrawing.mm:
1052         (needsBidiLayout):
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:
1056         (WebKitInitialize):
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:
1101
1102 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
1103
1104         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1105         https://bugs.webkit.org/show_bug.cgi?id=124613
1106
1107         Reviewed by Timothy Hatcher.
1108
1109         * WebCoreSupport/WebInspectorClientIOS.mm:
1110         (WebInspectorClient::WebInspectorClient):
1111         (WebInspectorClient::inspectorDestroyed):
1112
1113 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
1114
1115         Typo: FixedPositionConstaint -> FixedPositionConstraint
1116         https://bugs.webkit.org/show_bug.cgi?id=125171
1117
1118         Reviewed by Simon Fraser.
1119
1120         * WebCoreSupport/WebFixedPositionContent.mm:
1121         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1122
1123 2013-11-18  Commit Queue  <commit-queue@webkit.org>
1124
1125         Unreviewed, rolling out r159455.
1126         http://trac.webkit.org/changeset/159455
1127         https://bugs.webkit.org/show_bug.cgi?id=124568
1128
1129         broke two api tests (see bug 124564) (Requested by thorton on
1130         #webkit).
1131
1132         * WebCoreSupport/WebFrameIOS.mm:
1133
1134 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
1135
1136         Consolidate various frame snapshot capabilities.
1137         https://bugs.webkit.org/show_bug.cgi?id=124325
1138
1139         Reviewed by Timothy Hatcher.
1140
1141         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1142
1143 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
1144
1145         Remove a PLATFORM(IOS) from WebKit Private Header
1146         https://bugs.webkit.org/show_bug.cgi?id=124014
1147
1148         Reviewed by Timothy Hatcher.
1149
1150         * WebKit.iOS.exp:
1151
1152 2013-10-29  Andy Estes  <aestes@apple.com>
1153
1154         [iOS] Upstream Source/WebKit/ios/
1155         https://bugs.webkit.org/show_bug.cgi?id=123470
1156
1157         Reviewed by Sam Weinig.
1158
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.
1218
1219 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
1220
1221         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1222         https://bugs.webkit.org/show_bug.cgi?id=123111
1223
1224         Reviewed by Timothy Hatcher.
1225
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.
1229
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):