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