[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebKitLegacy / ios / ChangeLog
1 2019-08-18  Yusuke Suzuki  <ysuzuki@apple.com>
2
3         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
4         https://bugs.webkit.org/show_bug.cgi?id=200620
5
6         Reviewed by Geoffrey Garen.
7
8         * WebCoreSupport/WebFixedPositionContent.mm:
9         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
10
11 2019-08-15  Yusuke Suzuki  <ysuzuki@apple.com>
12
13         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, WTF_MAKE_FAST_ALLOCATED annotation part
14         https://bugs.webkit.org/show_bug.cgi?id=200620
15
16         Reviewed by Geoffrey Garen.
17
18         * WebCoreSupport/WebChromeClientIOS.h:
19         * WebCoreSupport/WebFixedPositionContent.mm:
20
21 2019-07-29  Zalan Bujtas  <zalan@apple.com>
22
23         [ContentChangeObserver] didFinishContentChangeObserving should include the type of content change.
24         https://bugs.webkit.org/show_bug.cgi?id=200247
25         <rdar://problem/53681149>
26
27         Reviewed by Simon Fraser.
28
29         * WebCoreSupport/WebChromeClientIOS.h:
30         * WebCoreSupport/WebChromeClientIOS.mm:
31         (WebChromeClientIOS::didFinishContentChangeObserving):
32
33 2019-07-29  Zalan Bujtas  <zalan@apple.com>
34
35         [ContentChangeObserver] ChromeClient::observedContentChange() name is misleading
36         https://bugs.webkit.org/show_bug.cgi?id=200238
37         <rdar://problem/53677038>
38
39         Reviewed by Simon Fraser.
40
41         * WebCoreSupport/WebChromeClientIOS.h:
42         * WebCoreSupport/WebChromeClientIOS.mm:
43         (WebChromeClientIOS::didFinishContentChangeObserving):
44         (WebChromeClientIOS::observedContentChange): Deleted.
45
46 2019-07-02  Devin Rousso  <drousso@apple.com>
47
48         Web Inspector: Debug: "Reset Web Inspector" should also clear the saved window size and attachment side
49         https://bugs.webkit.org/show_bug.cgi?id=198956
50
51         Reviewed by Matt Baker.
52
53         * WebCoreSupport/WebInspectorClientIOS.mm:
54         (WebInspectorFrontendClient::resetWindowState): Added.
55
56 2019-06-27  Beth Dakin  <bdakin@apple.com>
57
58         Upstream use of MACCATALYST
59         https://bugs.webkit.org/show_bug.cgi?id=199245
60         rdar://problem/51687723
61
62         Reviewed by Tim Horton.
63
64         * Misc/WebGeolocationCoreLocationProvider.mm:
65         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
66
67 2019-06-16  Darin Adler  <darin@apple.com>
68
69         Rename AtomicString to AtomString
70         https://bugs.webkit.org/show_bug.cgi?id=195276
71
72         Reviewed by Michael Catanzaro.
73
74         * many files: Let do-webcore-rename do the renaming.
75
76 2019-04-17  Brady Eidson  <beidson@apple.com>
77
78         Link clicks in PDFs shouldn't send referrer headers.
79         <rdar://problem/21142581> and https://bugs.webkit.org/show_bug.cgi?id=196980
80
81         Reviewed by Tim Horton.
82
83         * WebView/WebPDFViewPlaceholder.mm:
84         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
85
86 2019-04-10  Devin Rousso  <drousso@apple.com>
87
88         Web Inspector: save sheet should be anchored underneath the tab bar when detached
89         https://bugs.webkit.org/show_bug.cgi?id=196722
90         <rdar://problem/49613280>
91
92         Reviewed by Timothy Hatcher.
93
94         * WebCoreSupport/WebInspectorClientIOS.mm:
95         (WebInspectorFrontendClient::setSheetRect): Added.
96
97 2019-03-03  Zalan Bujtas  <zalan@apple.com>
98
99         [ContentChangeObserver] Content observation should be limited to the current document.
100         https://bugs.webkit.org/show_bug.cgi?id=195256
101         <rdar://problem/48544402>
102
103         Reviewed by Simon Fraser.
104
105         * WebCoreSupport/WebChromeClientIOS.mm:
106         (WebChromeClientIOS::observedContentChange):
107
108 2019-02-26  Zalan Bujtas  <zalan@apple.com>
109
110         [ContentChangeObserver] clearContentChangeObservers should be internal to ContentChangeObserver class
111         https://bugs.webkit.org/show_bug.cgi?id=195066
112         <rdar://problem/48411682>
113
114         Reviewed by Tim Horton.
115
116         * WebCoreSupport/WebChromeClientIOS.h:
117         * WebCoreSupport/WebChromeClientIOS.mm:
118         (WebChromeClientIOS::clearContentChangeObservers): Deleted.
119
120 2019-02-24  Zalan Bujtas  <zalan@apple.com>
121
122         Introduce ContentChangeObserver class
123         https://bugs.webkit.org/show_bug.cgi?id=194977
124         <rdar://problem/48338115>
125
126         Reviewed by Simon Fraser.
127
128         * WebCoreSupport/WebChromeClientIOS.mm:
129         (WebChromeClientIOS::observedContentChange):
130         (WebChromeClientIOS::clearContentChangeObservers):
131
132 2019-02-17  David Kilzer  <ddkilzer@apple.com>
133
134         Unreviewed, rolling out r241620.
135
136         "Causes use-after-free crashes running layout tests with ASan and GuardMalloc."
137         (Requested by ddkilzer on #webkit.)
138
139         Reverted changeset:
140
141         "[WTF] Add environment variable helpers"
142         https://bugs.webkit.org/show_bug.cgi?id=192405
143         https://trac.webkit.org/changeset/241620
144
145 2019-02-15  Ross Kirsling  <ross.kirsling@sony.com>
146
147         [WTF] Add environment variable helpers
148         https://bugs.webkit.org/show_bug.cgi?id=192405
149
150         Reviewed by Michael Catanzaro.
151
152         * Misc/WebUIKitSupport.mm:
153         (WebKitPlatformSystemRootDirectory):
154         Utilize WTF::Environment where possible.
155
156 2019-02-15  Commit Queue  <commit-queue@webkit.org>
157
158         Unreviewed, rolling out r241559 and r241566.
159         https://bugs.webkit.org/show_bug.cgi?id=194710
160
161         Causes layout test crashes under GuardMalloc (Requested by
162         ryanhaddad on #webkit).
163
164         Reverted changesets:
165
166         "[WTF] Add environment variable helpers"
167         https://bugs.webkit.org/show_bug.cgi?id=192405
168         https://trac.webkit.org/changeset/241559
169
170         "Unreviewed build fix for WinCairo Debug after r241559."
171         https://trac.webkit.org/changeset/241566
172
173 2019-02-14  Ross Kirsling  <ross.kirsling@sony.com>
174
175         [WTF] Add environment variable helpers
176         https://bugs.webkit.org/show_bug.cgi?id=192405
177
178         Reviewed by Michael Catanzaro.
179
180         * Misc/WebUIKitSupport.mm:
181         (WebKitPlatformSystemRootDirectory):
182         Utilize WTF::Environment where possible.
183
184 2019-01-22  Conrad Shultz  <conrad_shultz@apple.com>
185
186         Clean up USE(WEB_THREAD)
187         https://bugs.webkit.org/show_bug.cgi?id=193698
188
189         Rubber-stamped by Tim Horton.
190
191         * Misc/WebGeolocationProviderIOS.mm:
192         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
193         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
194         (-[_WebCoreLocationUpdateThreadingProxy positionChanged:]):
195         (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
196         (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
197         * WebCoreSupport/WebFixedPositionContent.mm:
198         (-[WebFixedPositionContent didFinishScrollingOrZooming]):
199
200 2019-01-22  Daniel Bates  <dabates@apple.com>
201
202         [iOS] Interpret text key commands on keydown and app key commands on keypress
203         https://bugs.webkit.org/show_bug.cgi?id=192897
204         <rdar://problem/46857378>
205
206         Reviewed by Brent Fulgham.
207
208         Add stubs for SPI.
209
210         * DefaultDelegates/WebDefaultUIKitDelegate.m:
211         (-[WebDefaultUIKitDelegate handleKeyTextCommandForCurrentEvent]): Added.
212         (-[WebDefaultUIKitDelegate handleKeyAppCommandForCurrentEvent]): Added.
213         (-[WebDefaultUIKitDelegate handleKeyCommandForCurrentEvent]): Deleted.
214         * WebView/WebUIKitDelegate.h:
215
216 2019-01-04  Simon Fraser  <simon.fraser@apple.com>
217
218         Factor legacy WK1 code for fixed and scrolling layers into their own helper class
219         https://bugs.webkit.org/show_bug.cgi?id=193165
220
221         Reviewed by Frédéric Wang.
222
223         Make the stickyContainerMap argument const. We WTFMove() values out of the first
224         argument, so it can't be const.
225
226         * WebCoreSupport/WebChromeClientIOS.h:
227         * WebCoreSupport/WebChromeClientIOS.mm:
228         (WebChromeClientIOS::updateViewportConstrainedLayers):
229         * WebCoreSupport/WebFixedPositionContent.mm:
230         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
231         * WebCoreSupport/WebFixedPositionContentInternal.h:
232
233 2018-12-20  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
234
235         Use Ref<> as much as possible
236         https://bugs.webkit.org/show_bug.cgi?id=192808
237
238         Reviewed by Alex Christensen.
239
240         * WebCoreSupport/SearchPopupMenuIOS.cpp:
241         (SearchPopupMenuIOS::SearchPopupMenuIOS):
242         (SearchPopupMenuIOS::popupMenu):
243         * WebCoreSupport/SearchPopupMenuIOS.h:
244         * WebCoreSupport/WebVisiblePosition.mm:
245         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
246         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
247         * WebView/WebPDFViewPlaceholder.mm:
248         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
249
250 2018-12-17  Zalan Bujtas  <zalan@apple.com>
251
252         Unreviewed build fix.
253
254         * WebCoreSupport/WebVisiblePosition.mm:
255         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
256         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
257
258 2018-12-05  Wenson Hsieh  <wenson_hsieh@apple.com>
259
260         Turn WritingDirection into an enum class
261         https://bugs.webkit.org/show_bug.cgi?id=192401
262         Work towards <rdar://problem/42075638>
263
264         Reviewed by Dan Bernstein.
265
266         Change WritingDirection from an enum to an enum class. No change in behavior.
267
268         * WebCoreSupport/WebFrameIOS.mm:
269         (-[WebFrame selectionBaseWritingDirection]):
270         (-[WebFrame setBaseWritingDirection:]):
271
272 2018-12-03  Daniel Bates  <dabates@apple.com>
273
274         [iOS] Do not handle key events that are key commands
275         https://bugs.webkit.org/show_bug.cgi?id=191608
276         <rdar://problem/46046013>
277
278         Reviewed by Ryosuke Niwa.
279
280         Add default implementation of -handleKeyCommandForCurrentEvent that returns NO - the current
281         event was not handled as a key command.
282
283         * DefaultDelegates/WebDefaultUIKitDelegate.m:
284         (-[WebDefaultUIKitDelegate handleKeyCommandForCurrentEvent]):
285         * WebView/WebUIKitDelegate.h:
286
287 2018-11-29  Zalan Bujtas  <zalan@apple.com>
288
289         Rename *ObservedContentModifier(s) to *ObservedDOMTimer(s)
290         https://bugs.webkit.org/show_bug.cgi?id=192168
291
292         Reviewed by Simon Fraser.
293
294         There's only one type of content modifier (DOMTimer).
295
296         * WebCoreSupport/WebChromeClientIOS.mm:
297         (WebChromeClientIOS::clearContentChangeObservers):
298
299 2018-11-19  Joseph Pecoraro  <pecoraro@apple.com>
300
301         Web Inspector: "Reload Web Inspector" button no longer partially works
302         https://bugs.webkit.org/show_bug.cgi?id=191773
303         <rdar://problem/46139932>
304
305         Reviewed by Devin Rousso.
306
307         * WebCoreSupport/WebInspectorClientIOS.mm:
308         (WebInspectorFrontendClient::reopen):
309
310 2018-10-18  Alexey Proskuryakov  <ap@apple.com>
311
312         Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
313         https://bugs.webkit.org/show_bug.cgi?id=190729
314
315         Reviewed by Tim Horton.
316
317         * DefaultDelegates/WebDefaultFormDelegate.m:
318         * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
319         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
320         * DefaultDelegates/WebDefaultUIKitDelegate.m:
321         * Misc/MemoryMeasure.mm:
322         * Misc/WebGeolocationCoreLocationProvider.mm:
323         * Misc/WebGeolocationProviderIOS.mm:
324         * Misc/WebNSStringExtrasIOS.m:
325         * Misc/WebUIKitSupport.mm:
326         (WebKitPlatformSystemRootDirectory):
327         * WebCoreSupport/PopupMenuIOS.mm:
328         * WebCoreSupport/SearchPopupMenuIOS.cpp:
329         * WebCoreSupport/WebChromeClientIOS.h:
330         * WebCoreSupport/WebChromeClientIOS.mm:
331         * WebCoreSupport/WebFixedPositionContent.mm:
332         * WebCoreSupport/WebFrameIOS.mm:
333         * WebCoreSupport/WebGeolocation.mm:
334         * WebCoreSupport/WebInspectorClientIOS.mm:
335         * WebCoreSupport/WebMIMETypeRegistry.mm:
336         * WebCoreSupport/WebSelectionRect.m:
337         * WebCoreSupport/WebVisiblePosition.mm:
338         * WebView/WebFrameViewWAKCompatibility.m:
339         * WebView/WebPDFViewIOS.mm:
340         * WebView/WebPDFViewPlaceholder.mm:
341         * WebView/WebPlainWhiteView.h:
342         * WebView/WebPlainWhiteView.mm:
343
344 2018-10-10  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
345
346         [JSC] Rename createXXX to tryCreateXXX if it can return RefPtr
347         https://bugs.webkit.org/show_bug.cgi?id=190429
348
349         Reviewed by Saam Barati.
350
351         Use `tryCreate` or new `create`. If we use new `create`, we can use Ref<> and remove null check.
352
353         * WebView/WebPDFViewIOS.mm:
354         (-[WebPDFView finishedLoadingWithDataSource:]):
355         * WebView/WebPDFViewPlaceholder.mm:
356         (-[WebPDFViewPlaceholder _evaluateJSForDocument:]):
357
358 2018-10-02  Alex Christensen  <achristensen@webkit.org>
359
360         Remove unused linked-on-or-before-iOS5 check
361         https://bugs.webkit.org/show_bug.cgi?id=190164
362
363         Reviewed by Michael Saboff.
364
365         * Misc/WebUIKitSupport.mm:
366         (WebKitInitialize):
367         (linkedOnOrAfterIOS5): Deleted.
368
369 2018-09-17  Darin Adler  <darin@apple.com>
370
371         Use OpaqueJSString rather than JSRetainPtr inside WebKit
372         https://bugs.webkit.org/show_bug.cgi?id=189652
373
374         Reviewed by Saam Barati.
375
376         * WebView/WebPDFViewIOS.mm:
377         (-[WebPDFView finishedLoadingWithDataSource:]): Use OpaqueJSString::create.
378         * WebView/WebPDFViewPlaceholder.mm:
379         (-[WebPDFViewPlaceholder _evaluateJSForDocument:]): Ditto.
380
381 2018-08-29  Olivia Barnett  <obarnett@apple.com>
382
383         Implement the Web Share API
384         https://bugs.webkit.org/show_bug.cgi?id=171100
385         <rdar://problem/31751734>
386
387         Reviewed by Tim Horton.
388
389         * WebCoreSupport/WebChromeClientIOS.h:
390         * WebCoreSupport/WebChromeClientIOS.mm:
391         (WebChromeClientIOS::showShareSheet):
392         Empty declaration of showShareSheet.
393
394 2018-08-24  Ryosuke Niwa  <rniwa@webkit.org>
395
396         Pass in IsComposed flag to Event constructors
397         https://bugs.webkit.org/show_bug.cgi?id=188720
398         <rdar://problem/43580387>
399
400         Reviewed by Simon Fraser.
401
402         * WebView/WebPDFViewPlaceholder.mm:
403         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): A trusted click event is composed regardless
404         of whether it's simulated or not.
405
406 2018-08-21  Ryosuke Niwa  <rniwa@webkit.org>
407
408         Replace booleans for modifier keys in UIEventWithKeyState with OptionSet<Modifier>
409         https://bugs.webkit.org/show_bug.cgi?id=188777
410
411         Reviewed by Simon Fraser.
412
413         Create MouseEvent::create with IsSimulated set to Yes; correspoding to the last argument
414         being "true" before the code change.
415
416         * WebView/WebPDFViewPlaceholder.mm:
417         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
418
419 2018-08-16  Ryosuke Niwa  <rniwa@webkit.org>
420
421         Replace canBubble and cancelable booleans in Event by enum classes
422         https://bugs.webkit.org/show_bug.cgi?id=188692
423
424         Reviewed by Alex Christensen.
425
426         * WebView/WebPDFViewPlaceholder.mm:
427         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
428
429 2018-08-13  Alex Christensen  <achristensen@webkit.org>
430
431         Use a 1-byte enum class for TextDirection
432         https://bugs.webkit.org/show_bug.cgi?id=188350
433
434         Reviewed by Simon Fraser.
435
436         * WebCoreSupport/WebFrameIOS.mm:
437         (-[WebFrame selectionRectsForCoreRange:]):
438         * WebCoreSupport/WebVisiblePosition.mm:
439         (-[WebVisiblePosition textDirection]):
440         (-[WebVisiblePosition directionIsDownstream:]):
441         * WebView/WebPDFViewIOS.mm:
442         (-[WebPDFView _checkPDFTitle]):
443
444 2018-07-04  Tim Horton  <timothy_horton@apple.com>
445
446         Introduce PLATFORM(IOSMAC)
447         https://bugs.webkit.org/show_bug.cgi?id=187315
448
449         Reviewed by Dan Bernstein.
450
451         * Misc/WebGeolocationCoreLocationProvider.mm:
452         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
453
454 2018-05-14  Wenson Hsieh  <wenson_hsieh@apple.com>
455
456         [Extra zoom mode] Google search results are excessively zoomed in
457         https://bugs.webkit.org/show_bug.cgi?id=185347
458         <rdar://problem/39999778>
459
460         Reviewed by Tim Horton.
461
462         Adds a WebKitLegacy method stub for disabled adaptation plumbing.
463
464         * WebCoreSupport/WebChromeClientIOS.h:
465         * WebCoreSupport/WebChromeClientIOS.mm:
466         (WebChromeClientIOS::dispatchDisabledAdaptationsDidChange const):
467
468 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
469
470         [iOS] Provide audio route information when invoking AirPlay picker
471         https://bugs.webkit.org/show_bug.cgi?id=185199
472         <rdar://problem/39853103>
473
474         Reviewed by Jer Noble.
475
476         * WebCoreSupport/WebChromeClientIOS.h:
477         * WebCoreSupport/WebChromeClientIOS.mm:
478         (WebChromeClientIOS::showPlaybackTargetPicker): Pass route sharing policy and routing context UID.
479
480 2018-04-05  Yusuke Suzuki  <utatane.tea@gmail.com>
481
482         [WTF] Remove StaticLock
483         https://bugs.webkit.org/show_bug.cgi?id=184332
484
485         Reviewed by Mark Lam.
486
487         * WebCoreSupport/WebFixedPositionContent.mm:
488
489 2018-03-28  Zalan Bujtas  <zalan@apple.com>
490
491         Make it possible to override the screen size
492         https://bugs.webkit.org/show_bug.cgi?id=184111
493         <rdar://problem/38972181>
494
495         Reviewed by Tim Horton.
496
497         * WebCoreSupport/WebChromeClientIOS.h:
498         * WebCoreSupport/WebChromeClientIOS.mm:
499         (WebChromeClientIOS::overrideScreenSize const):
500
501 2018-03-25  Tim Horton  <timothy_horton@apple.com>
502
503         Disable geolocation prompt in minimal simulator mode
504         https://bugs.webkit.org/show_bug.cgi?id=183991
505         <rdar://problem/38845774>
506
507         Reviewed by Dan Bernstein.
508
509         * Misc/WebGeolocationCoreLocationProvider.mm:
510         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
511         * Misc/WebGeolocationProviderIOS.mm:
512         (-[WebGeolocationProviderIOS registerWebView:]):
513         (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
514         Also clean up some unnecessary nested #ifs.
515
516 2018-02-06  Don Olmstead  <don.olmstead@sony.com>
517
518         Remove WebCore/ForwardingHeaders directory
519         https://bugs.webkit.org/show_bug.cgi?id=182347
520
521         Reviewed by Keith Miller.
522
523         * Misc/WebUIKitSupport.mm:
524
525 2017-12-07  Yusuke Suzuki  <utatane.tea@gmail.com>
526
527         Use StaticLock instead of NeverDestroyed<Lock>
528         https://bugs.webkit.org/show_bug.cgi?id=180507
529
530         Reviewed by Saam Barati.
531
532         * WebCoreSupport/WebFixedPositionContent.mm:
533         (-[WebFixedPositionContent scrollOrZoomChanged:]):
534         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
535         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
536         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
537         (WebFixedPositionContentDataLock): Deleted.
538
539 2017-11-11  Megan Gardner  <megan_gardner@apple.com>
540
541         Fix a FIXMEs in WebFrameIOS
542         https://bugs.webkit.org/show_bug.cgi?id=179510
543
544         Reviewed by Darin Adler.
545
546         Removed a function that does nothing and is not needed or used anywhere, linked to a radar that is in verify.
547         This is just some easy cleanup I found while investigating other things.
548
549         * WebCoreSupport/WebFrameIOS.h:
550         * WebCoreSupport/WebFrameIOS.mm:
551         (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Deleted.
552
553 2017-10-11  Sam Weinig  <sam@webkit.org>
554
555         Remove out-parameter variants of copyToVector
556         https://bugs.webkit.org/show_bug.cgi?id=178155
557
558         Reviewed by Tim Horton.
559
560         * Misc/WebGeolocationProviderIOS.mm:
561         (-[WebGeolocationProviderIOS _handlePendingInitialPosition:]):
562         (-[WebGeolocationProviderIOS positionChanged:]):
563         (-[WebGeolocationProviderIOS errorOccurred:]):
564         (-[WebGeolocationProviderIOS resetGeolocation]):
565
566             Replace out-parameter based copyToVector, with one that returns a Vector.
567
568 2017-10-11  Chris Dumez  <cdumez@apple.com>
569
570         Modernize Geolocation code
571         https://bugs.webkit.org/show_bug.cgi?id=178148
572
573         Reviewed by Ryosuke Niwa.
574
575         * Misc/WebGeolocationCoreLocationProvider.h:
576         * Misc/WebGeolocationCoreLocationProvider.mm:
577         (-[WebGeolocationCoreLocationProvider sendLocation:]):
578         * Misc/WebGeolocationProviderIOS.mm:
579         (-[_WebCoreLocationUpdateThreadingProxy positionChanged:]):
580
581 2017-10-04  Alex Christensen  <achristensen@webkit.org>
582
583         Remove WebCoreSystemInterface
584         https://bugs.webkit.org/show_bug.cgi?id=177916
585
586         Reviewed by Antti Koivisto.
587
588         * Misc/WebUIKitSupport.mm:
589
590 2017-10-04  Alex Christensen  <achristensen@webkit.org>
591
592         Remove unnecessary includes of WebKitSystemInterface on Cocoa platforms
593         https://bugs.webkit.org/show_bug.cgi?id=177912
594
595         Reviewed by Saam Barati.
596
597         * Misc/WebUIKitSupport.mm:
598         * WebCoreSupport/WebChromeClientIOS.mm:
599
600 2017-09-22  Chris Dumez  <cdumez@apple.com>
601
602         Use high resolution timestamp for event time
603         https://bugs.webkit.org/show_bug.cgi?id=154246
604         <rdar://problem/34333304>
605
606         Reviewed by Ryosuke Niwa.
607
608         Use WallTime / MonotonicTime instead of double type for clarity.
609
610         * WebView/WebPDFViewPlaceholder.mm:
611         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
612
613 2017-08-09  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
614
615         [PAL] Move spi/cocoa and spi/cg directories into PAL
616         https://bugs.webkit.org/show_bug.cgi?id=175175
617
618         Reviewed by Myles C. Maxfield.
619
620         * Misc/WebNSStringExtrasIOS.m:
621         * WebCoreSupport/WebFixedPositionContent.mm:
622
623 2017-07-17  Daniel Bates  <dabates@apple.com>
624
625         Cleanup: Use OptionSet to represent marker types
626         https://bugs.webkit.org/show_bug.cgi?id=174594
627
628         Reviewed by Darin Adler.
629
630         Remove class DocumentMarker::MarkerTypes that duplicates most of functionality of OptionSet
631         and use OptionSet directly to represent a set of marker types.
632
633         No functionality changed. So, no new tests.
634
635         * WebCoreSupport/WebVisiblePosition.mm:
636         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]): Update code as needed.
637         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]): Ditto.
638
639 2017-07-12  Daniel Bates  <dabates@apple.com>
640
641         Rename NavigationInitiatedByMainFrame to InitiatedByMainFrame
642         https://bugs.webkit.org/show_bug.cgi?id=174427
643
644         Rubber-stamped by Brady Eidson.
645
646         * WebView/WebPDFViewPlaceholder.mm:
647         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
648
649 2017-07-09  Brady Eidson  <beidson@apple.com>
650
651         Remove some obsolete WebKitVersionChecks.
652         https://bugs.webkit.org/show_bug.cgi?id=174294
653
654         Reviewed by Dan Bernstein.
655
656         * WebView/WebPDFViewIOS.mm:
657         (-[WebPDFView drawPage:]):
658
659 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
660
661         [WTF] Move SoftLinking.h into WTF
662         https://bugs.webkit.org/show_bug.cgi?id=174000
663
664         Reviewed by Alex Christensen.
665
666         * Misc/WebGeolocationCoreLocationProvider.mm:
667         * WebView/WebPDFViewPlaceholder.mm:
668
669 2017-07-05  Brady Eidson  <beidson@apple.com>
670
671         Allow navigations in subframes to get a ShouldOpenExternalURLsPolicy of "ShouldAllow".
672         <rdar://problem/22485589> and https://bugs.webkit.org/show_bug.cgi?id=174178
673
674         Reviewed by Alex Christensen.
675
676         Adopt to the new constructor for FrameLoadRequest.
677
678         * WebView/WebPDFViewPlaceholder.mm:
679         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
680
681 2017-07-01  Tim Horton  <timothy_horton@apple.com>
682
683         Expose viewport-fit value to UIKit via viewport arguments dictionary
684         https://bugs.webkit.org/show_bug.cgi?id=174071
685         <rdar://problem/33096620>
686
687         Reviewed by Wenson Hsieh.
688
689         * WebCoreSupport/WebChromeClientIOS.mm:
690         (nameForViewportFitValue):
691         (dictionaryForViewportArguments):
692         Make use of the named constants we already have for these; the code
693         that reads this dictionary uses them, so we might as well!
694
695         Add viewport-fit -> { auto, contain, cover } to the dictionary.
696
697         * WebKit.iOS.exp:
698
699 2017-06-30  Daniel Bates  <dabates@apple.com>
700
701         API::FrameInfo should know the web page that contains the frame; add API property webView to WKFrameInfo
702         https://bugs.webkit.org/show_bug.cgi?id=165160
703         <rdar://problem/29451999>
704
705         Reviewed by Brady Eidson.
706
707         Pass the document that is requesting the load to the loader.
708
709         * WebView/WebPDFViewPlaceholder.mm:
710         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
711
712 2017-06-22  Daniel Bates  <dabates@apple.com>
713
714         Make FrameLoadRequest a move-only type
715         https://bugs.webkit.org/show_bug.cgi?id=173682
716
717         Reviewed by Alex Christensen and Darin Adler.
718
719         A FrameLoadRequest groups together the information to perform a load into a single object
720         that is more manageable to pass around than its constituent parts. Code that receives a
721         FrameLoadRequest is expected to extract out the information it needs to complete its task.
722         And it does not make sense to re-use the same FrameLoadRequest object for more than one
723         load. Therefore, it is sufficient to make FrameLoadRequest a move-only type.
724
725         * WebView/WebPDFViewPlaceholder.mm:
726         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
727
728 2017-06-21  Daniel Bates  <dabates@apple.com>
729
730         Cleanup FrameLoadRequest
731         https://bugs.webkit.org/show_bug.cgi?id=173564
732         <rdar://problem/32903570>
733
734         Reviewed by Brent Fulgham.
735
736         Move FrameLoadRequest instantiation into a local variable and use C++11 brace initialization
737         syntax to make it easier to identify the arguments passed to FrameLoader::loadFrameRequest().
738
739         * WebView/WebPDFViewPlaceholder.mm:
740         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
741
742 2017-06-09  Wenson Hsieh  <wenson_hsieh@apple.com>
743
744         [iOS DnD] Add a hook to perform two-step drops in editable content
745         https://bugs.webkit.org/show_bug.cgi?id=172992
746         <rdar://problem/32590174>
747
748         Reviewed by Tim Horton.
749
750         Add an empty implementation of performTwoStepDrop for WebDefaultUIKitDelegate. See WebCore ChangeLogs.
751
752         * DefaultDelegates/WebDefaultUIKitDelegate.m:
753         (-[WebDefaultUIKitDelegate performTwoStepDrop:atDestination:isMove:]):
754         * WebView/WebUIKitDelegate.h:
755
756 2017-06-07  Zalan Bujtas  <zalan@apple.com>
757
758         [iOS WK1 WebThread] Do not call out to the main thread for device orientation.
759         https://bugs.webkit.org/show_bug.cgi?id=173044
760         <rdar://problem/32449338>
761
762         Reviewed by Tim Horton.
763
764         On iOS WK1 we could end up with an inconsistent state, where the web thread is inside
765         the Document's constructor waiting on a delegate callback on the main thread
766         while the main thread executes a pending task that assumes a valid Document.
767         This patch ensures that we don't call out to the main thread from the Document's constructor.
768  
769         * WebCoreSupport/WebChromeClientIOS.mm:
770         (WebChromeClientIOS::deviceOrientation): Caches deviceOrientation on the WebView so that we
771         don't have to lift the WebThread lock. 
772
773 2017-05-12  Chris Dumez  <cdumez@apple.com>
774
775         Drop uses of PassRefPtr in WebKit/mac
776         https://bugs.webkit.org/show_bug.cgi?id=172066
777
778         Reviewed by Sam Weinig.
779
780         Build fix.
781
782         * Misc/WebGeolocationProviderIOS.mm:
783
784 2017-05-01  Chris Dumez  <cdumez@apple.com>
785
786         Remove some usage of PassRefPtr in editing code
787         https://bugs.webkit.org/show_bug.cgi?id=171490
788
789         Reviewed by Darin Adler.
790
791         * WebCoreSupport/WebFrameIOS.mm:
792         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
793         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
794
795 2017-04-14  Wenson Hsieh  <wenson_hsieh@apple.com>
796
797         [WK2] Support Icon creation from file URLs on iOS
798         https://bugs.webkit.org/show_bug.cgi?id=170809
799         <rdar://problem/31286130>
800
801         Reviewed by Tim Horton.
802
803         Adjust for changes in the ChromeClient in WebCore.
804
805         * WebCoreSupport/WebChromeClientIOS.h:
806         * WebCoreSupport/WebChromeClientIOS.mm:
807         (WebChromeClientIOS::createIconForFiles):
808
809 2017-03-02  Sam Weinig  <sam@webkit.org>
810
811         Rename htmlediting.h/cpp to Editing.h/cpp
812         https://bugs.webkit.org/show_bug.cgi?id=169103
813
814         Reviewed by Alex Christensen.
815
816         * WebCoreSupport/WebFrameIOS.mm:
817         * WebCoreSupport/WebVisiblePosition.mm:
818
819 2017-02-23  Aakash Jain  <aakash_jain@apple.com>
820
821         Move instance member from WebFixedPositionContent to implementation file
822         https://bugs.webkit.org/show_bug.cgi?id=168766
823
824         Reviewed by Tim Horton.
825
826         * WebCoreSupport/WebFixedPositionContent.h: Moving instance member to implementation file.
827         * WebCoreSupport/WebFixedPositionContent.mm: Ditto.
828
829 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
830
831         Move instance members from WebPDFView to implementation file
832         https://bugs.webkit.org/show_bug.cgi?id=168765
833
834         Reviewed by Tim Horton.
835
836         * WebView/WebPDFViewIOS.h: Moving instance members to implementation file.
837         * WebView/WebPDFViewIOS.mm: Ditto.
838
839 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
840
841         Export m_isLoggingEnabled symbol from MemoryMeasure.h
842         https://bugs.webkit.org/show_bug.cgi?id=168760
843
844         Reviewed by Alexey Proskuryakov.
845
846         * WebKit.iOS.exp: Exporting m_isLoggingEnabled symbol.
847
848 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
849
850         Move instance members from WebPDFViewPlaceholder.h to implementation file
851         https://bugs.webkit.org/show_bug.cgi?id=168705
852
853         Reviewed by Tim Horton.
854
855         * WebView/WebPDFViewPlaceholder.h: Moving instance members to implementation file.
856         * WebView/WebPDFViewPlaceholder.mm: Ditto.
857
858 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
859
860         Move instance members from WebSelectionRect.h to implementation file
861         https://bugs.webkit.org/show_bug.cgi?id=168732
862
863         Reviewed by Tim Horton.
864
865         * WebCoreSupport/WebSelectionRect.h: Moving instance members to implementation file.
866         * WebCoreSupport/WebSelectionRect.m: Ditto.
867
868 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
869
870         Move iOS specific symbols to WebKit.ios.exp
871         https://bugs.webkit.org/show_bug.cgi?id=168726
872
873         Reviewed by Alexey Proskuryakov.
874
875         * WebKit.iOS.exp:
876
877 2017-02-21  Commit Queue  <commit-queue@webkit.org>
878
879         Unreviewed, rolling out r212768.
880         https://bugs.webkit.org/show_bug.cgi?id=168698
881
882         Rolling out since this would break other projects. (Requested
883         by aakashjain on #webkit).
884
885         Reverted changeset:
886
887         "[iOS] Remove old WebKit1 MemoryMeasure helper."
888         https://bugs.webkit.org/show_bug.cgi?id=168675
889         http://trac.webkit.org/changeset/212768
890
891 2017-02-21  Andreas Kling  <akling@apple.com>
892
893         [iOS] Remove old WebKit1 MemoryMeasure helper.
894         <https://webkit.org/b/168675>
895
896         Reviewed by Sam Weinig.
897
898         Remove the MemoryMeasure logging helper from the WebKit1 days. It was using an old way
899         of measuring memory, and we were only using it in a single place anyway.
900
901         * Misc/MemoryMeasure.h: Removed.
902         * Misc/MemoryMeasure.mm: Removed.
903         * WebKit.iOS.exp:
904
905 2017-02-21  Andreas Kling  <akling@apple.com>
906
907         [iOS] WebKit1 should use shared memory pressure handler code.
908         <https://webkit.org/b/168653>
909
910         Reviewed by Antti Koivisto.
911
912         * Misc/WebUIKitSupport.mm:
913         (WebKitInitialize): Don't unconditionally install a memory warning handler just
914         because the framework is loaded.
915
916 2017-02-20  Alexey Proskuryakov  <ap@apple.com>
917
918         List of WebCore symbols to re-export from WebKitLegacy should be built automatically
919         https://bugs.webkit.org/show_bug.cgi?id=168342
920         rdar://problem/26182266
921
922         Reviewed by Tim Horton.
923
924         * WebKit.iOS.exp: Removed manually added symbols.
925
926 2017-02-20  Aakash Jain  <aakash_jain@apple.com>
927
928         Stop exporting WebPluginController from WebKit
929         https://bugs.webkit.org/show_bug.cgi?id=168603
930
931         Reviewed by Alexey Proskuryakov.
932
933         * WebKit.iOS.exp:
934
935 2017-02-10  Aakash Jain  <aakash_jain@apple.com>
936
937         WebKitLegacy doesn't re-export various symbols from WebCore required by clients
938         https://bugs.webkit.org/show_bug.cgi?id=168158
939         <rdar://problem/24527933>
940
941         Reviewed by Dan Bernstein.
942
943         * WebKit.iOS.exp: Exporting various symbols which are required by clients. This 
944         would enable clients to stop linking against WebCore and instead link against WebKit.
945
946 2017-02-02  Yongjun Zhang  <yongjun_zhang@apple.com>
947
948         In iOS, we should take background assertion when accessing localstorage databases.
949         https://bugs.webkit.org/show_bug.cgi?id=165478
950
951         Move application background task handling code from WebKit to WebCore.
952
953         Reviewed by Brady Eidson.
954
955         * Misc/WebUIKitSupport.h: Remove several methods that only used internally for background
956             task handling. They are not needed in WebKit any more since background task handling
957             is moved to WebCore and wrapped in WebBackgroundTaskController class.
958         * Misc/WebUIKitSupport.mm:
959         (WebKitSetInvalidWebBackgroundTaskIdentifier): Instead of storing the value in a static global
960             variable, save it in WebBackgroundTaskController.
961         (WebKitSetStartBackgroundTaskBlock): Ditto.
962         (WebKitSetEndBackgroundTaskBlock): Ditto.
963
964 2017-01-25  Aakash Jain  <aakash_jain@apple.com>
965
966         LoadWebLocalizedStrings method should be moved in correct file
967         https://bugs.webkit.org/show_bug.cgi?id=167393
968
969         Reviewed by Alexey Proskuryakov.
970
971         * Misc/WebUIKitSupport.mm:
972         (LoadWebLocalizedStringsTimerCallback): Moved from WebLocalizableStrings.mm
973         (LoadWebLocalizedStrings): Moved from WebLocalizableStrings.mm
974
975 2017-01-21  Darin Adler  <darin@apple.com>
976
977         Remove PassRefPtr from "page" directory of WebCore, also deploy references
978         https://bugs.webkit.org/show_bug.cgi?id=167224
979
980         Reviewed by Chris Dumez.
981
982         * WebCoreSupport/WebChromeClientIOS.h: Update for changes to ChromeClient.
983         * WebCoreSupport/WebChromeClientIOS.mm:
984         (WebChromeClientIOS::runJavaScriptAlert): Ditto.
985         (WebChromeClientIOS::runJavaScriptConfirm): Ditto.
986         (WebChromeClientIOS::runJavaScriptPrompt): Ditto.
987         (WebChromeClientIOS::setNeedsScrollNotifications): Ditto.
988         (WebChromeClientIOS::observedContentChange): Ditto.
989         (WebChromeClientIOS::clearContentChangeObservers): Ditto.
990         (WebChromeClientIOS::notifyRevealedSelectionByScrollingFrame): Ditto.
991         (WebChromeClientIOS::elementDidFocus): Ditto.
992         (WebChromeClientIOS::elementDidBlur): Ditto.
993         (WebChromeClientIOS::createPopupMenu): Ditto.
994         (WebChromeClientIOS::createSearchPopupMenu): Ditto.
995         (WebChromeClientIOS::attachRootGraphicsLayer): Ditto.
996
997 2017-01-21  Simon Fraser  <simon.fraser@apple.com>
998
999         Remove the unused -[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]
1000         https://bugs.webkit.org/show_bug.cgi?id=167273
1001
1002         Reviewed by Alex Christensen.
1003
1004         This function was added for an experiment, but is no longer used, so remove it.
1005
1006         * WebCoreSupport/WebFixedPositionContent.h:
1007         * WebCoreSupport/WebFixedPositionContent.mm:
1008         (anchorEdgeFlagsForAnchorEdge): Deleted.
1009         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]): Deleted.
1010
1011 2017-01-15  Darin Adler  <darin@apple.com>
1012
1013         Remove PassRefPtr from "loader" directory of WebCore
1014         https://bugs.webkit.org/show_bug.cgi?id=167055
1015
1016         Reviewed by Alex Christensen.
1017
1018         * WebCoreSupport/WebChromeClientIOS.h: Updated runOpenPanel to take references.
1019         Made class final and most functions private and final.
1020         * WebCoreSupport/WebChromeClientIOS.mm:
1021         (WebChromeClientIOS::runOpenPanel): Updated to take references.
1022
1023 2016-12-30  Darin Adler  <darin@apple.com>
1024
1025         Remove PassRefPtr use from the "dom" directory, related cleanup
1026         https://bugs.webkit.org/show_bug.cgi?id=166569
1027
1028         Reviewed by Alex Christensen.
1029
1030         * WebView/WebPDFViewIOS.mm:
1031         (-[WebPDFView _checkPDFTitle]): Use aggregate-style syntax for StringWithDirection.
1032         Not needed now, but useful later if we ever can get rid of the explicit constructors.
1033
1034 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
1035
1036         Stop reinterpret_casting UBreakIterators to the undefined type TextBreakIterator
1037         https://bugs.webkit.org/show_bug.cgi?id=165931
1038
1039         Reviewed by Alex Christensen.
1040
1041         * Misc/WebUIKitSupport.mm:
1042
1043 2016-11-01  Alex Christensen  <achristensen@webkit.org>
1044
1045         Remove PassRefPtr from DumpRenderTree
1046         https://bugs.webkit.org/show_bug.cgi?id=164307
1047
1048         Reviewed by Sam Weinig.
1049
1050         * Misc/WebGeolocationProviderIOS.mm:
1051
1052 2016-10-26  Dan Bernstein  <mitz@apple.com>
1053
1054         Tried to fix the iOS build after r207934.
1055
1056         * WebCoreSupport/WebFrameIOS.mm:
1057         (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]): Removed commented-out code and
1058           a comment that had a typo in it and looked like a bad Doxygen trailing comment.
1059
1060 2016-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
1061
1062         Migrate line breaking code from ints to Optional<unsigned>s
1063         https://bugs.webkit.org/show_bug.cgi?id=160859
1064
1065         Reviewed by Darin Adler.
1066
1067         * Misc/WebUIKitSupport.mm:
1068         (WebKitGetLastLineBreakInBuffer):
1069
1070 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
1071
1072         Remove unused includes of wtf headers
1073         https://bugs.webkit.org/show_bug.cgi?id=160839
1074
1075         Reviewed by Alex Christensen.
1076
1077         * Misc/WebGeolocationCoreLocationProvider.h:
1078         * WebView/WebPDFViewIOS.mm:
1079         * WebView/WebPlainWhiteView.mm:
1080
1081 2016-08-09  George Ruan  <gruan@apple.com>
1082
1083         Implement functionality of media capture on iOS
1084         https://bugs.webkit.org/show_bug.cgi?id=158945
1085         <rdar://problem/26893343>
1086
1087         Reviewed by Tim Horton.
1088
1089         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1090         (-[WebDefaultUIKitDelegate
1091         webView:runOpenPanelForFileButtonWithResultListener:configuration:]):
1092         Use a dictionary instead of passing each parameter in separately.
1093         (-[WebDefaultUIKitDelegate webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:acceptMIMETypes:]): Deleted.
1094         * WebCoreSupport/WebChromeClientIOS.mm:
1095         (webMediaCaptureType): Converts from WebCore::MediaCaptureType to
1096         WebMediaCaptureType.
1097         (WebChromeClientIOS::runOpenPanel):
1098         * WebKit.iOS.exp: Expose NSDictionary keys for
1099         runOpenPanelForFileButtonWithResultListener.
1100         * WebView/WebUIKitDelegate.h: Add WebMediaCaptureType enum and
1101         NSDictionary keys for
1102         runOpenPanelForFileButtonWithResultListener.
1103
1104 2016-07-11  Enrica Casucci  <enrica@apple.com>
1105
1106         Add synthetic click origin to WKNavigationAction.
1107         https://bugs.webkit.org/show_bug.cgi?id=159584
1108         rdar://problem/25610422
1109
1110         Reviewed by Tim Horton.
1111
1112         * WebView/WebPDFViewPlaceholder.mm:
1113         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1114
1115 2016-06-23  Alex Christensen  <achristensen@webkit.org>
1116
1117         Remove unused didCancelAuthenticationChallenge
1118         https://bugs.webkit.org/show_bug.cgi?id=158819
1119
1120         Reviewed by David Kilzer.
1121
1122         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
1123         (-[WebDefaultResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
1124         (-[WebDefaultResourceLoadDelegate webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:]):
1125         (-[WebDefaultResourceLoadDelegate webView:resource:didCancelAuthenticationChallenge:fromDataSource:]): Deleted.
1126
1127 2016-06-02  David Kilzer  <ddkilzer@apple.com>
1128
1129         Fix typo in -[WebDefaultUIKitDelegate deleteFromInputwithFlags:]
1130         <https://webkit.org/b/158323>
1131         <rdar://problem/26549165>
1132
1133         Reviewed by Andy Estes.
1134
1135         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1136         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]): Rename...
1137         (-[WebDefaultUIKitDelegate deleteFromInputWithFlags:]): ...to this.
1138
1139 2016-05-15  Darin Adler  <darin@apple.com>
1140
1141         More CTTE and other cleanups for HTML editing header
1142         https://bugs.webkit.org/show_bug.cgi?id=157722
1143
1144         Reviewed by Chris Dumez.
1145
1146         * WebCoreSupport/WebFrameIOS.mm:
1147         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): auto
1148         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): auto
1149
1150 2016-05-14  Darin Adler  <darin@apple.com>
1151
1152         CTTE for the HTML editing header
1153         https://bugs.webkit.org/show_bug.cgi?id=157676
1154
1155         Reviewed by Chris Dumez.
1156
1157         * WebCoreSupport/WebFrameIOS.mm:
1158         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): Update since
1159         lastOffsetForEditing takes a reference now. Seems like this code should be in WebCore.
1160         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): Ditto.
1161
1162 2016-05-13  Beth Dakin  <bdakin@apple.com>
1163
1164         Add dyldSPI.h for linked on or after checks, and add one for link preview
1165         https://bugs.webkit.org/show_bug.cgi?id=157401
1166         -and corresponding-
1167         rdar://problem/26253396
1168
1169         Reviewed by Darin Adler.
1170
1171         This patch removes DynamicLinkerSPI.h and replaces it with 
1172         wtf/spi/darwin/dyldSPI.h
1173
1174         * Misc/WebUIKitSupport.mm:
1175
1176 2016-05-06  Simon Fraser  <simon.fraser@apple.com>
1177
1178         Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
1179         https://bugs.webkit.org/show_bug.cgi?id=157432
1180         rdar://problem/16406720
1181
1182         Reviewed by Dean Jackson.
1183
1184         Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
1185
1186         Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
1187         preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
1188         These two settings are shared with TEXT_AUTOSIZING.
1189
1190         Add a TextAutosizing log channel, which is useful for generated -expected.html results.
1191
1192         Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
1193         without changes.
1194
1195         An implication of this set of changes is that the way clients enable text autosizing
1196         has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
1197         Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
1198         on iPhone only, not iPad.
1199
1200         Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
1201         instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
1202
1203         UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
1204         which will now always return 15, but had no other code that toggled this. So it's safe to just rely
1205         on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
1206
1207         * Misc/WebUIKitSupport.mm:
1208         (WebKitGetMinimumZoomFontSize):
1209
1210 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
1211
1212         URL Parsing should signal failure for illegal IDN
1213         https://bugs.webkit.org/show_bug.cgi?id=154945
1214         <rdar://problem/8014795>
1215
1216         Reviewed by Brent Fulgham.
1217
1218         * Misc/WebNSStringExtrasIOS.m:
1219         (-[NSString _web_possibleURLsForForUserTypedString:]):
1220         * WebView/WebPDFViewPlaceholder.mm:
1221         (-[WebPDFViewPlaceholder _updateTitleForURL:]):
1222
1223 2016-03-15  Chris Dumez  <cdumez@apple.com>
1224
1225         Unreviewed, rolling out r198203.
1226
1227         Favorites view is no longer loading on iOS
1228
1229         Reverted changeset:
1230
1231         "URL Parsing should signal failure for illegal IDN"
1232         https://bugs.webkit.org/show_bug.cgi?id=154945
1233         http://trac.webkit.org/changeset/198203
1234
1235 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
1236
1237         URL Parsing should signal failure for illegal IDN
1238         https://bugs.webkit.org/show_bug.cgi?id=154945
1239         <rdar://problem/8014795>
1240
1241         Reviewed by Brent Fulgham.
1242
1243         * Misc/WebNSStringExtrasIOS.m:
1244         (-[NSString _web_possibleURLsForForUserTypedString:]):
1245         * WebView/WebPDFViewPlaceholder.mm:
1246         (-[WebPDFViewPlaceholder _updateTitleForURL:]):
1247
1248 2016-03-05  Chris Dumez  <cdumez@apple.com>
1249
1250         Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
1251         https://bugs.webkit.org/show_bug.cgi?id=155035
1252
1253         Reviewed by Darin Adler.
1254
1255         Update runtime application checks.
1256
1257         * WebCoreSupport/WebChromeClientIOS.mm:
1258
1259 2016-02-17  David Kilzer  <ddkilzer@apple.com>
1260
1261         [iOS WK1] NSTimer in WebGeolocationProviderIOS.mm fires on the main thread without the WebThreadLock
1262         <http://webkit.org/b/154347>
1263         <rdar://problem/19360382>
1264
1265         Reviewed by Andy Estes.
1266
1267         This isn't testable because the GeolocationClientMock in WebCore
1268         bypasses this code in WebKit1.
1269
1270         * Misc/WebGeolocationProviderIOS.mm:
1271         (-[WebGeolocationProviderIOS _handlePendingInitialPosition:]):
1272         Assert that this is always called on the WebThread.
1273         (-[WebGeolocationProviderIOS registerWebView:]): Register the
1274         NSTimer on the WebThread NSRunLoop.
1275
1276 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
1277
1278         Remove TextRun::allowsRoundingHacks()
1279         https://bugs.webkit.org/show_bug.cgi?id=153185
1280
1281         Reviewed by Simon Fraser.
1282
1283         * Misc/WebUIKitSupport.mm:
1284         (WebKitInitialize): Deleted.
1285
1286 2016-01-13  Chris Dumez  <cdumez@apple.com>
1287
1288         Unreviewed, rolling out r194900.
1289
1290         Roll back in as this did not actually regress PLT
1291
1292         Reverted changeset:
1293
1294         "Unreviewed, rolling out r194826."
1295         https://bugs.webkit.org/show_bug.cgi?id=153020
1296         http://trac.webkit.org/changeset/194900
1297
1298 2016-01-12  Commit Queue  <commit-queue@webkit.org>
1299
1300         Unreviewed, rolling out r194826.
1301         https://bugs.webkit.org/show_bug.cgi?id=153020
1302
1303         Appears to have regressed PLT (Requested by kling on #webkit).
1304
1305         Reverted changeset:
1306
1307         "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
1308         cont'd"
1309         https://bugs.webkit.org/show_bug.cgi?id=152902
1310         http://trac.webkit.org/changeset/194826
1311
1312 2016-01-10  Andreas Kling  <akling@apple.com>
1313
1314         Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
1315         <https://webkit.org/b/152902>
1316
1317         Reviewed by Andy Estes.
1318
1319         * WebCoreSupport/WebFixedPositionContent.mm:
1320         (WebFixedPositionContentDataLock):
1321
1322 2015-12-31  Andy Estes  <aestes@apple.com>
1323
1324         Replace WTF::move with WTFMove
1325         https://bugs.webkit.org/show_bug.cgi?id=152601
1326
1327         Reviewed by Brady Eidson.
1328
1329         * WebCoreSupport/WebFixedPositionContent.mm:
1330         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1331         * WebCoreSupport/WebInspectorClientIOS.mm:
1332         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1333
1334 2015-12-20  Dan Bernstein  <mitz@apple.com>
1335
1336         Remove unused setToolbarHeight
1337         https://bugs.webkit.org/show_bug.cgi?id=152466
1338
1339         Reviewed by Darin Adler.
1340
1341         * WebCoreSupport/WebInspectorClientIOS.mm:
1342         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
1343
1344 2015-12-18  Simon Fraser  <simon.fraser@apple.com>
1345
1346         Turn off "shrink-to-fit" viewport scaling in UIWebViews
1347         https://bugs.webkit.org/show_bug.cgi?id=152451
1348         rdar://problem/23960882
1349
1350         Reviewed by Tim Horton.
1351         
1352         Disable the "shrink to fit" behavior in UIWebViews. This disables it entirely,
1353         even when the page has "shrink-to-fit=yes" in the viewport meta tag.
1354         
1355         Not testable because we can't test actual UIWebView scaling behavior.
1356
1357         * WebCoreSupport/WebChromeClientIOS.mm:
1358         (dictionaryForViewportArguments):
1359
1360 2015-11-07  Simon Fraser  <simon.fraser@apple.com>
1361
1362         Remove ColorSpace argument to all the drawing calls
1363         https://bugs.webkit.org/show_bug.cgi?id=150967
1364
1365         Reviewed by Darin Adler.
1366
1367         Since the -webkit-color-correction CSS property was removed in r188202, and ColorSpaceDeviceRGB
1368         and ColorSpaceSRGB are functionally equivalent, we can remove all the ColorSpace arguments passed
1369         to drawing functions, and remove RenderStyle::colorSpace(), which was hardcoded to return ColorSpaceSRGB.
1370
1371         * WebView/WebPDFViewIOS.mm:
1372         (-[WebPDFView drawPage:]):
1373         * WebView/WebPlainWhiteView.mm:
1374
1375 2015-11-02  Andy Estes  <aestes@apple.com>
1376
1377         Fixed the iOS build after r191904.
1378
1379         * WebCoreSupport/WebChromeClientIOS.mm:
1380         (WebChromeClientIOS::screenSize):
1381
1382 2015-10-31  Andy Estes  <aestes@apple.com>
1383
1384         Replace iOS-only WebKitSystemInterface calls with SPI
1385         https://bugs.webkit.org/show_bug.cgi?id=150763
1386
1387         Reviewed by Darin Adler.
1388
1389         * Misc/WebUIKitSupport.mm:
1390         (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
1391         (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
1392         * WebCoreSupport/WebChromeClientIOS.mm:
1393         (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
1394
1395 2015-11-02  Commit Queue  <commit-queue@webkit.org>
1396
1397         Unreviewed, rolling out r191902.
1398         https://bugs.webkit.org/show_bug.cgi?id=150811
1399
1400         This change broke iOS builders (Requested by ryanhaddad on
1401         #webkit).
1402
1403         Reverted changeset:
1404
1405         "Replace iOS-only WebKitSystemInterface calls with SPI"
1406         https://bugs.webkit.org/show_bug.cgi?id=150763
1407         http://trac.webkit.org/changeset/191902
1408
1409 2015-10-31  Andy Estes  <aestes@apple.com>
1410
1411         Replace iOS-only WebKitSystemInterface calls with SPI
1412         https://bugs.webkit.org/show_bug.cgi?id=150763
1413
1414         Reviewed by Darin Adler.
1415
1416         * Misc/WebUIKitSupport.mm:
1417         (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
1418         (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
1419         * WebCoreSupport/WebChromeClientIOS.mm:
1420         (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
1421
1422 2015-10-14  Zhuo Li  <zachli@apple.com>
1423
1424         Augment <input type=search>’s recent search history with the time each entry was added,
1425         in order to allow time-based clearing of search history.
1426         https://bugs.webkit.org/show_bug.cgi?id=148388.
1427
1428         Reviewed by Darin Adler.
1429
1430         Replace Vector<String> with Vector<RecentSearch>, where RecentSearch is a struct
1431         that consists search string and time, for recent searches in order to store additional time information.
1432
1433         * WebCoreSupport/SearchPopupMenuIOS.cpp:
1434         (SearchPopupMenuIOS::saveRecentSearches):
1435         (SearchPopupMenuIOS::loadRecentSearches):
1436         * WebCoreSupport/SearchPopupMenuIOS.h:
1437
1438 2015-09-17  Brian Burg  <bburg@apple.com>
1439
1440         ASSERT(!m_frontendRouter->hasLocalFrontend()) when running Web Inspector tests
1441         https://bugs.webkit.org/show_bug.cgi?id=149006
1442
1443         Reviewed by Joseph Pecoraro.
1444
1445         * WebCoreSupport/WebInspectorClientIOS.mm:
1446         (WebInspectorClient::closeLocalFrontend): Deleted.
1447         (WebInspectorFrontendClient::disconnectFromBackend): Deleted.
1448
1449 2015-09-12  Brian Burg  <bburg@apple.com>
1450
1451         Web Inspector: disambiguate inspected/frontend controllers and pages in backend code
1452         https://bugs.webkit.org/show_bug.cgi?id=149071
1453
1454         Reviewed by Joseph Pecoraro.
1455
1456         * WebCoreSupport/WebInspectorClientIOS.mm:
1457         (WebInspectorClient::WebInspectorClient):
1458         (WebInspectorClient::inspectedPageDestroyed): Renamed.
1459         (WebInspectorClient::openLocalFrontend): Renamed.
1460         (WebInspectorClient::closeLocalFrontend): Renamed.
1461         (WebInspectorClient::inspectorDestroyed): Deleted.
1462         (WebInspectorClient::openInspectorFrontend): Deleted.
1463         (WebInspectorClient::closeInspectorFrontend): Deleted.
1464         (WebInspectorClient::showInspectorIndication):
1465         (WebInspectorClient::hideInspectorIndication):
1466         (WebInspectorClient::didSetSearchingForNode):
1467         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1468
1469 2015-08-17  Filip Pizlo  <fpizlo@apple.com>
1470
1471         Replace all remaining uses of WTF::Mutex with WTF::Lock
1472         https://bugs.webkit.org/show_bug.cgi?id=148089
1473
1474         Reviewed by Geoffrey Garen.
1475
1476         * WebCoreSupport/WebFixedPositionContent.mm:
1477         (WebFixedPositionContentDataLock):
1478         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1479         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
1480         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1481         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
1482         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
1483
1484 2015-08-13  Tim Horton  <timothy_horton@apple.com>
1485
1486         Refactor and improve TextIndicator to prepare for tests
1487         https://bugs.webkit.org/show_bug.cgi?id=147622
1488
1489         Reviewed by Simon Fraser.
1490
1491         * WebCoreSupport/WebFrameIOS.mm:
1492         (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]):
1493         Adjust to Range method renames.
1494
1495 2015-08-05  Filip Pizlo  <fpizlo@apple.com>
1496
1497         Unreviewed, roll out http://trac.webkit.org/changeset/187972.
1498
1499         * WebCoreSupport/WebFixedPositionContent.mm:
1500         (WebFixedPositionContentDataLock):
1501         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1502         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
1503         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1504         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
1505         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
1506
1507 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
1508
1509         Rename Mutex to DeprecatedMutex
1510         https://bugs.webkit.org/show_bug.cgi?id=147675
1511
1512         Reviewed by Geoffrey Garen.
1513
1514         * WebCoreSupport/WebFixedPositionContent.mm:
1515         (WebFixedPositionContentDataLock):
1516         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1517         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
1518         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1519         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
1520         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
1521
1522 2015-08-04  Anders Carlsson  <andersca@apple.com>
1523
1524         Remove database thread pause code
1525         https://bugs.webkit.org/show_bug.cgi?id=147669
1526
1527         Reviewed by Daniel Bates.
1528
1529         * Misc/WebUIKitSupport.mm:
1530         (WebKitSetBackgroundAndForegroundNotificationNames):
1531         (applicationDidEnterBackground): Deleted.
1532         (applicationWillEnterForeground): Deleted.
1533
1534 2015-07-21  Tim Horton  <timothy_horton@apple.com>
1535
1536         Expose shrink-wrapping as UIKit support SPI
1537         https://bugs.webkit.org/show_bug.cgi?id=147148
1538         <rdar://problem/21920008>
1539
1540         * WebKit.iOS.exp:
1541         Also export.
1542
1543 2015-07-21  Tim Horton  <timothy_horton@apple.com>
1544
1545         Expose shrink-wrapping as UIKit support SPI
1546         https://bugs.webkit.org/show_bug.cgi?id=147148
1547         <rdar://problem/21920008>
1548
1549         Reviewed by Simon Fraser.
1550
1551         * Misc/WebUIKitSupport.h:
1552         * Misc/WebUIKitSupport.mm:
1553         (WebKitCreatePathWithShrinkWrappedRects):
1554
1555 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
1556
1557         iOS WebKitLegacy should match WebKit2's viewport behavior
1558         https://bugs.webkit.org/show_bug.cgi?id=146564
1559         <rdar://problem/20574017>
1560
1561         Reviewed by Brent Fulgham.
1562
1563         * WebCoreSupport/WebChromeClientIOS.mm:
1564         (dictionaryForViewportArguments):
1565
1566 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
1567
1568         iOS WebKitLegacy should match WebKit2's viewport behavior
1569         https://bugs.webkit.org/show_bug.cgi?id=146540
1570         <rdar://problem/20574017>
1571
1572         Reviewed by Dan Bernstein.
1573
1574         * WebKit.iOS.exp:
1575
1576 2015-06-25  Joseph Pecoraro  <pecoraro@apple.com>
1577
1578         Unreviewed, attempt to fix the iOS build after r185968.
1579
1580         * WebCoreSupport/WebInspectorClientIOS.mm:
1581         (WebInspectorFrontendClient::startWindowDrag):
1582
1583 2015-06-02  Brady Eidson  <beidson@apple.com>
1584
1585         WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
1586         rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
1587
1588         Reviewed by Alex Christensen.
1589
1590         * WebView/WebPDFViewPlaceholder.mm:
1591         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1592
1593 2015-05-25  Dan Bernstein  <mitz@apple.com>
1594
1595         ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
1596         https://bugs.webkit.org/show_bug.cgi?id=145372
1597
1598         Reviewed by Sam Weinig.
1599
1600         * Misc/WebGeolocationCoreLocationProvider.mm:
1601         (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
1602         (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
1603         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
1604         (-[WebGeolocationCoreLocationProvider start]): Ditto.
1605         (-[WebGeolocationCoreLocationProvider stop]): Ditto.
1606         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
1607
1608 2015-04-28  Brady Eidson  <beidson@apple.com>
1609
1610         Consolidate most "frame load" arguments into FrameLoadRequest.
1611         https://bugs.webkit.org/show_bug.cgi?id=144276
1612
1613         Reviewed by Alexey Proskuryakov.
1614
1615         * WebView/WebPDFViewPlaceholder.mm:
1616         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1617
1618 2015-04-13  Beth Dakin  <bdakin@apple.com>
1619
1620         Add force property to MouseEvents
1621         https://bugs.webkit.org/show_bug.cgi?id=143569
1622         -and corresponding-
1623         rdar://problem/20472954
1624
1625         Reviewed by Darin Adler.
1626
1627         Send the appropriate force with this simulated click event.
1628         * WebView/WebPDFViewPlaceholder.mm:
1629         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1630
1631 2015-03-31  Myles C. Maxfield  <mmaxfield@apple.com>
1632
1633         Move ExpansionBehaviorFlags and TextDirection to their own file
1634         https://bugs.webkit.org/show_bug.cgi?id=143273
1635
1636         Reviewed by Simon Fraser.
1637
1638         This is a mechanical change. It just moves code around.
1639
1640         This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
1641
1642         * WebCoreSupport/WebFrameIOS.mm:
1643         * WebCoreSupport/WebVisiblePosition.mm:
1644
1645 2015-03-09  David Kilzer  <ddkilzer@apple.com>
1646
1647         [iOS] Fix build when compiling with dead code stripping disabled
1648         <http://webkit.org/b/142467>
1649
1650         Reviewed by Simon Fraser.
1651
1652         * WebCoreSupport/WebInspectorClientIOS.mm:
1653         (WebInspectorFrontendClient::save): Add missing method.
1654
1655 2015-02-14  Alexey Proskuryakov  <ap@apple.com>
1656
1657         rel="noreferrer" should make window.opener null
1658         https://bugs.webkit.org/show_bug.cgi?id=141579
1659
1660         Reviewed by Darin Adler.
1661
1662         * WebView/WebPDFViewPlaceholder.mm:
1663         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
1664         function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
1665
1666 2015-02-03  Enrica Casucci  <enrica@apple.com>
1667
1668         [iOS] Add support for deleteFromInputWithFlags.
1669         https://bugs.webkit.org/show_bug.cgi?id=141216
1670         rdar://problem/19130081
1671
1672         Reviewed by Benjamin Poulain.
1673
1674         Adopts the new method as soon as it is available.
1675         The patch also removes some obsolete code used for staging.
1676
1677         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1678         (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
1679         (-[WebDefaultUIKitDelegate deleteFromInput]):
1680         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
1681         (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
1682         * WebView/WebUIKitDelegate.h:
1683
1684 2015-01-22  Andreas Kling  <akling@apple.com>
1685
1686         Remove unused class EmojiFallbackFontSelector.
1687         <https://webkit.org/b/140809>
1688
1689         Reviewed by Antti Koivisto.
1690
1691         This class no longer has any clients.
1692
1693         * Misc/EmojiFallbackFontSelector.cpp: Removed.
1694         * Misc/EmojiFallbackFontSelector.h: Removed.
1695
1696 2015-01-13  Chris Dumez  <cdumez@apple.com>
1697
1698         Unreviewed iOS build fix after r178375
1699
1700         Match FontSelector API changes.
1701
1702         * Misc/EmojiFallbackFontSelector.cpp:
1703         (EmojiFallbackFontSelector::fallbackFontDataAt):
1704         (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
1705         * Misc/EmojiFallbackFontSelector.h:
1706
1707 2014-12-07  Dan Bernstein  <mitz@apple.com>
1708
1709         Introduce and deploy a function that allocates and returns an instance of a soft-linked class
1710         https://bugs.webkit.org/show_bug.cgi?id=139348
1711
1712         Reviewed by Anders Carlsson.
1713
1714         In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
1715         picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
1716         to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
1717         doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
1718         avoiding the ambiguity.
1719
1720         * Misc/WebGeolocationCoreLocationProvider.mm:
1721         (-[WebGeolocationCoreLocationProvider createLocationManager]):
1722
1723 2014-12-06  Anders Carlsson  <andersca@apple.com>
1724
1725         Fix build with newer versions of clang.
1726         rdar://problem/18978687
1727
1728         Cast the result of +alloc to the right type.
1729
1730         * Misc/WebGeolocationCoreLocationProvider.mm:
1731         (-[WebGeolocationCoreLocationProvider createLocationManager]):
1732         * WebCoreSupport/WebSelectionRect.m:
1733         (+[WebSelectionRect selectionRect]):
1734
1735 2014-11-20  Benjamin Poulain  <bpoulain@apple.com>
1736
1737         Remove the remaining vestiges of minimal-ui
1738         https://bugs.webkit.org/show_bug.cgi?id=138890
1739
1740         Reviewed by Sam Weinig.
1741
1742         * WebCoreSupport/WebChromeClientIOS.mm:
1743         (dictionaryForViewportArguments):
1744         * WebKit.iOS.exp:
1745
1746 2014-11-19  Daniel Bates  <dabates@apple.com>
1747
1748         [iOS] Make WebKit build with public iOS SDK
1749         https://bugs.webkit.org/show_bug.cgi?id=136863
1750
1751         Reviewed by David Kilzer.
1752
1753         * Misc/WebGeolocationCoreLocationProvider.mm:  Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
1754         * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
1755         * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
1756
1757 2014-11-14  Daniel Bates  <dabates@apple.com>
1758
1759         [iOS] CoreGraphics SPI not available in public SDK
1760         https://bugs.webkit.org/show_bug.cgi?id=138709
1761
1762         Reviewed by David Kilzer.
1763
1764         Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
1765
1766         * WebCoreSupport/WebFixedPositionContent.mm:
1767
1768 2014-10-20  Andy Estes  <aestes@apple.com>
1769
1770         Fix the iOS build.
1771
1772         * WebCoreSupport/WebFrameIOS.mm:
1773         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1774         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1775         * WebCoreSupport/WebVisiblePosition.mm:
1776         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1777         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1778
1779 2014-10-15  Chris Dumez  <cdumez@apple.com>
1780
1781         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
1782         https://bugs.webkit.org/show_bug.cgi?id=137727
1783
1784         Reviewed by Darin Adler.
1785
1786         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
1787
1788         * WebCoreSupport/WebVisiblePosition.mm:
1789         (-[DOMHTMLInputElement startPosition]):
1790         (-[DOMHTMLInputElement endPosition]):
1791         (-[DOMHTMLTextAreaElement startPosition]):
1792         (-[DOMHTMLTextAreaElement endPosition]):
1793
1794 2014-10-03  Tim Horton  <timothy_horton@apple.com>
1795
1796         REGRESSION (r165896): UIWebView PDFs have a forced black background
1797         https://bugs.webkit.org/show_bug.cgi?id=137387
1798         <rdar://problem/17948411>
1799
1800         Reviewed by David Kilzer.
1801
1802         * WebView/WebPDFViewPlaceholder.h:
1803         * WebView/WebPDFViewPlaceholder.mm:
1804         (-[WebPDFViewPlaceholder layout]):
1805         Remove an ill-advised attempt to force the PDF background color from WebKit.
1806         The idea was that we would maintain Safari's black background except if there
1807         were no pages in the PDF, in which case we would use white instead to avoid
1808         having an all-black view. However, this broke clients who didn't want a black
1809         background, because we were now forcing it to black. Also, we don't need to
1810         maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
1811         This wasn't an important part of the patch, in any case.
1812
1813 2014-10-03  Tim Horton  <timothy_horton@apple.com>
1814
1815         REGRESSION (r173265): UIWebView PDF loading is completely broken
1816         https://bugs.webkit.org/show_bug.cgi?id=137386
1817         <rdar://problem/18524717>
1818
1819         Reviewed by David Kilzer.
1820
1821         * WebView/WebPDFViewPlaceholder.h:
1822         * WebView/WebPDFViewPlaceholder.mm:
1823         (-[WebPDFViewPlaceholder layout]):
1824         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
1825         Restore important code that creates the CGDataProvider and sets _didFinishLoad
1826         and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
1827         removed in the aforementioned revision.
1828
1829 2014-10-01  Christophe Dumez  <cdumez@apple.com>
1830
1831         Have is<>(T*) function do a null check on the pointer argument
1832         https://bugs.webkit.org/show_bug.cgi?id=137333
1833
1834         Reviewed by Gavin Barraclough.
1835
1836         Have is<>(T*) function do a null check on the argument instead of a
1837         simple assertion. This makes sense for 2 reasons:
1838         1. It is more consistent with downcast<>(T*), which will succeed even
1839            if the argument is a nullptr.
1840         2. It simplifies the code a bit as it gets rid of a lot of explicit
1841            null checks.
1842
1843         * WebCoreSupport/WebChromeClientIOS.mm:
1844         (WebChromeClientIOS::focusedElementChanged):
1845
1846 2014-09-29  Daniel Bates  <dabates@apple.com>
1847
1848         [iOS] Remove CoreLocation workaround
1849         https://bugs.webkit.org/show_bug.cgi?id=137198
1850
1851         Reviewed by Dan Bernstein.
1852
1853         Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
1854         committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
1855
1856         * Misc/WebGeolocationCoreLocationProvider.mm:
1857         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1858         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1859
1860 2014-09-24  Daniel Bates  <dabates@apple.com>
1861
1862         [iOS] Another iOS build fix; workaround for CoreLocation
1863         https://bugs.webkit.org/show_bug.cgi?id=137104
1864         <rdar://problem/18450785>
1865
1866         Rubber-stamped by Benjamin Poulain.
1867
1868         Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
1869         and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
1870         We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
1871
1872         * Misc/WebGeolocationCoreLocationProvider.mm:
1873         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1874         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1875
1876 2014-09-24  Daniel Bates  <dabates@apple.com>
1877
1878         [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
1879         https://bugs.webkit.org/show_bug.cgi?id=137101
1880         <rdar://problem/18449815>
1881
1882         Reviewed by Mark Lam.
1883
1884         * Misc/WebGeolocationCoreLocationProvider.mm:
1885         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1886         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1887
1888 2014-09-24  Christophe Dumez  <cdumez@apple.com>
1889
1890         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
1891         https://bugs.webkit.org/show_bug.cgi?id=137068
1892
1893         Reviewed by Ryosuke Niwa.
1894
1895         Start using is<HTML*Element>() instead of isHTML*Element().
1896         Remaining usages will be updated in a follow-up patch to
1897         reduce the size of the change.
1898
1899         * WebCoreSupport/WebChromeClientIOS.mm:
1900         (WebChromeClientIOS::focusedElementChanged):
1901
1902 2014-09-21  Timothy Hatcher  <timothy@apple.com>
1903
1904         Make the Web Inspector use a separate web process.
1905
1906         https://bugs.webkit.org/show_bug.cgi?id=135120
1907
1908         Reviewed by Anders Carlsson.
1909
1910         * WebCoreSupport/WebInspectorClientIOS.mm:
1911         (WebInspectorClient::WebInspectorClient):
1912         Removed m_frontendClient initialization since it is
1913         now a std::unique_ptr that defaults to nullptr.
1914
1915 2014-09-23  Chris Dumez  <cdumez@apple.com>
1916
1917         Use downcast<HTML*Element>() instead of toHTML*Element()
1918         https://bugs.webkit.org/show_bug.cgi?id=137007
1919
1920         Reviewed by Benjamin Poulain.
1921
1922         Use downcast<HTML*Element>() instead of toHTML*Element().
1923
1924         * WebCoreSupport/WebChromeClientIOS.mm:
1925         (WebChromeClientIOS::focusedElementChanged):
1926
1927 2014-09-17  Daniel Bates  <dabates@apple.com>
1928
1929         Unreviewed, rolling out r173695.
1930
1931         Broke building third-party Legacy WebKit apps; will
1932         investigate offline
1933
1934         Reverted changeset:
1935
1936         "[iOS] Make WebCore build with public iOS SDK"
1937         https://bugs.webkit.org/show_bug.cgi?id=136487
1938         http://trac.webkit.org/changeset/173695
1939
1940 2014-09-17  Daniel Bates  <dabates@apple.com>
1941
1942         [iOS] Make WebCore build with public iOS SDK
1943         https://bugs.webkit.org/show_bug.cgi?id=136487
1944
1945         Reviewed by David Kilzer.
1946
1947         Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
1948
1949         * WebCoreSupport/WebFixedPositionContent.mm:
1950
1951 2014-09-05  Simon Fraser  <simon.fraser@apple.com>
1952
1953         Remove some PLATFORM(IOS) code in Color.h/cpp
1954         https://bugs.webkit.org/show_bug.cgi?id=136582
1955
1956         Reviewed by Dan Bates.
1957         
1958         createCGColorWithDeviceWhite() is only used here so make it a local static function.
1959
1960         * WebView/WebPDFViewIOS.mm:
1961         (createCGColorWithDeviceWhite):
1962
1963 2014-09-04  Pratik Solanki  <psolanki@apple.com>
1964
1965         Remove iOS specific disk image cache
1966         https://bugs.webkit.org/show_bug.cgi?id=136517
1967
1968         Reviewed by Antti Koivisto.
1969
1970         Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
1971         this now since we don't enable it in WebKit2 on iOS.
1972
1973         * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
1974         * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
1975         * WebView/WebPDFViewPlaceholder.mm:
1976         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
1977         (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
1978         (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
1979
1980 2014-08-31  Tim Horton  <timothy_horton@apple.com>
1981
1982         Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
1983         https://bugs.webkit.org/show_bug.cgi?id=136416
1984
1985         Reviewed by Dan Bernstein.
1986
1987         * WebView/WebPDFViewIOS.mm:
1988         (-[WebPDFView drawPage:]):
1989         (-[WebPDFView drawRect:]):
1990         * WebView/WebPlainWhiteView.mm:
1991         We only end up filling, so only set the fill color.
1992
1993 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
1994
1995         Implement paint flashing in the WK1 InspectorOverlay page
1996         https://bugs.webkit.org/show_bug.cgi?id=136138
1997
1998         Reviewed by Sam Weinig, Joseph Pecoraro.
1999
2000         Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
2001         We avoid allocating backing store for this canvas until we have paint rects.
2002         
2003         Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
2004         an array of rects, and pushes them to the page when they change, before forcing a paint.
2005         
2006         Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
2007         WebKit WebInspectorClient, but don't yet implement paint flashing there.
2008
2009         * WebCoreSupport/WebInspectorClientIOS.mm:
2010         (WebInspectorClient::setShowPaintRects):
2011         (WebInspectorClient::showPaintRect):
2012
2013 2014-08-18  Andy Estes  <aestes@apple.com>
2014
2015         Fix the iOS build after  r172709.
2016
2017         * WebView/WebPDFViewPlaceholder.mm:
2018         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
2019
2020 2014-07-03  Daniel Bates  <dabates@apple.com>
2021
2022         Add WTF::move()
2023         https://bugs.webkit.org/show_bug.cgi?id=134500
2024
2025         Rubber-stamped by Anders Carlsson.
2026
2027         Substitute WTF::move() for std::move().
2028
2029         * WebCoreSupport/WebFixedPositionContent.mm:
2030         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
2031         * WebCoreSupport/WebInspectorClientIOS.mm:
2032         (WebInspectorFrontendClient::WebInspectorFrontendClient):
2033
2034 2014-07-01  Alex Christensen  <achristensen@webkit.org>
2035
2036         [iOS] Compile fix with pointer lock enabled.
2037         https://bugs.webkit.org/show_bug.cgi?id=134472
2038
2039         Reviewed by Pratik Solanki.
2040
2041         * WebView/WebPDFViewPlaceholder.mm:
2042         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
2043         Add parameters required for pointer lock.
2044
2045 2014-06-05  Benjamin Poulain  <bpoulain@apple.com>
2046
2047         [iOS][WK2] Add device orientation
2048         https://bugs.webkit.org/show_bug.cgi?id=133530
2049
2050         Reviewed by Tim Horton.
2051
2052         Change WebKit1 to provide the deviceOrientation as pull instead of push.
2053
2054         * DefaultDelegates/WebDefaultUIKitDelegate.m:
2055         (-[WebDefaultUIKitDelegate deviceOrientation]):
2056         * WebCoreSupport/WebChromeClientIOS.h:
2057         * WebCoreSupport/WebChromeClientIOS.mm:
2058         (WebChromeClientIOS::deviceOrientation):
2059         * WebView/WebUIKitDelegate.h:
2060
2061 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
2062
2063         [iOS] Switch geolocation to an explicit authorization query model
2064         https://bugs.webkit.org/show_bug.cgi?id=132717
2065         <rdar://problem/16762390>
2066
2067         Reviewed by Sam Weinig.
2068
2069         WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
2070
2071         The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
2072         The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
2073         listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
2074
2075         We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
2076         before invoking "start".
2077         If "start" is called and the authorization is not granted, we assume geolocation was reset since
2078         the last time authorization was requested, and we reset the client.
2079
2080
2081         WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
2082         to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
2083
2084         * Misc/WebGeolocationCoreLocationProvider.h:
2085         * Misc/WebGeolocationCoreLocationProvider.mm:
2086         (-[WebGeolocationCoreLocationProvider createLocationManager]):
2087         (-[WebGeolocationCoreLocationProvider dealloc]):
2088         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
2089         (isAuthorizationGranted):
2090         (-[WebGeolocationCoreLocationProvider start]):
2091         (-[WebGeolocationCoreLocationProvider stop]):
2092         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
2093         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
2094         (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
2095         * Misc/WebGeolocationProviderIOS.mm:
2096         (-[WebGeolocationProviderIOS suspend]):
2097         (-[WebGeolocationProviderIOS resume]):
2098         (-[WebGeolocationProviderIOS registerWebView:]):
2099         (-[WebGeolocationProviderIOS unregisterWebView:]):
2100         (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
2101         (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
2102         (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
2103         (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
2104         (-[WebGeolocationProviderIOS stopTrackingWebView:]):
2105         (-[WebGeolocationProviderIOS resetGeolocation]):
2106         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
2107         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
2108         (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
2109         (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
2110         (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
2111         (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
2112         (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
2113         (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
2114         (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
2115         (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
2116         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
2117         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
2118
2119 2014-04-30  Anders Carlsson  <andersca@apple.com>
2120
2121         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
2122         https://bugs.webkit.org/show_bug.cgi?id=132399
2123         <rdar://problem/15920046>
2124
2125         Reviewed by Dan Bernstein.
2126
2127         Import WebKitLegacy headers instead of WebKit headers.
2128         
2129         * DefaultDelegates/WebDefaultFormDelegate.h:
2130         * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
2131         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
2132         * DefaultDelegates/WebDefaultUIKitDelegate.h:
2133         * Misc/WebGeolocationProviderIOS.h:
2134         * Misc/WebNSStringExtrasIPhone.h:
2135         * WebCoreSupport/WebFrameIOS.h:
2136         * WebCoreSupport/WebFrameIOS.mm:
2137         * WebCoreSupport/WebFrameIPhone.h:
2138         * WebCoreSupport/WebSelectionRect.h:
2139         * WebCoreSupport/WebVisiblePosition.h:
2140         * WebView/WebPDFViewIOS.h:
2141         * WebView/WebPDFViewIOS.mm:
2142         * WebView/WebPDFViewIPhone.h:
2143         * WebView/WebPDFViewPlaceholder.h:
2144         * WebView/WebPDFViewPlaceholder.mm:
2145         * WebView/WebPlainWhiteView.h:
2146         * WebView/WebUIKitDelegate.h:
2147
2148 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
2149
2150         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
2151         https://bugs.webkit.org/show_bug.cgi?id=132110
2152
2153         Reviewed by Tim Horton.
2154
2155         Updates callers to use '.' instead of '->'.
2156
2157         No new tests are necessary because there should be no behavior change.
2158
2159         * Misc/EmojiFallbackFontSelector.cpp:
2160         (EmojiFallbackFontSelector::getFallbackFontData):
2161
2162 2014-04-17  Daniel Bates  <dabates@apple.com>
2163
2164         [iOS] Hook up screen.{availHeight, availWidth, height, width}
2165         https://bugs.webkit.org/show_bug.cgi?id=131821
2166         <rdar://problem/16413795>
2167
2168         Reviewed by Benjamin Poulain and Tim Horton.
2169
2170         Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
2171
2172         Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
2173
2174         * WebCoreSupport/WebChromeClientIOS.h:
2175         * WebCoreSupport/WebChromeClientIOS.mm:
2176         (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
2177         (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
2178         should consult it's associated WAKWindow for the available screen size.
2179
2180 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
2181
2182         Rename Clipboard to DataTransfer
2183         https://bugs.webkit.org/show_bug.cgi?id=131371
2184
2185         Reviewed by Anders Carlsson.
2186
2187         * WebView/WebPDFViewPlaceholder.mm:
2188
2189 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
2190
2191         [iOS] Remove the legacy string drawing code
2192         https://bugs.webkit.org/show_bug.cgi?id=131088
2193
2194         Reviewed by Sam Weinig.
2195
2196         * Misc/WebNSStringDrawing.h: Removed.
2197         * Misc/WebNSStringDrawing.mm: Removed.
2198         * Misc/WebUIKitSupport.h:
2199
2200 2014-04-02  Mark Rowe  <mrowe@apple.com>
2201
2202         Build fix after r166684.
2203
2204         * WebView/WebPDFViewPlaceholder.mm:
2205         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
2206
2207 2014-03-31  Anders Carlsson  <andersca@apple.com>
2208
2209         Fix iOS build.
2210
2211         * WebCoreSupport/WebChromeClientIOS.h:
2212         * WebCoreSupport/WebChromeClientIOS.mm:
2213         * WebCoreSupport/WebFixedPositionContent.mm:
2214         * WebCoreSupport/WebFixedPositionContentInternal.h:
2215
2216 2014-03-30  Dan Bernstein  <mitz@apple.com>
2217
2218         Tried to fix the iOS build.
2219
2220         * Misc/WebGeolocationCoreLocationProvider.mm:
2221         (-[WebGeolocationCoreLocationProvider start]):
2222         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
2223
2224 2014-03-27  Enrica Casucci  <enrica@apple.com>
2225
2226         Add support for AirPlay picker for iOS.
2227         https://bugs.webkit.org/show_bug.cgi?id=130876
2228         <rdar://problem/15349859>
2229
2230         Reviewed by Benjamin Poulain.
2231
2232         Adds support for the AirPlay picker for WebKit.
2233         The actual picker is implemented in UIKit.
2234
2235         * DefaultDelegates/WebDefaultUIKitDelegate.m:
2236         (-[WebDefaultUIKitDelegate interactionLocation]):
2237         (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
2238         * WebCoreSupport/WebChromeClientIOS.mm:
2239         (WebChromeClientIOS::showPlaybackTargetPicker):
2240         * WebCoreSupport/WebFrameIOS.h:
2241         * WebCoreSupport/WebFrameIOS.mm:
2242         (-[WebFrame elementRectAtPoint:]):
2243         * WebView/WebUIKitDelegate.h:
2244
2245 2014-03-27  Enrica Casucci  <enrica@apple.com>
2246
2247         Add support for AirPlay picker in WK2 for iOS.
2248         https://bugs.webkit.org/show_bug.cgi?id=130855
2249         <rdar://problem/15349859>
2250
2251         Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
2252
2253         Adds stub for new WebKit chrome client method.
2254
2255         * WebCoreSupport/WebChromeClientIOS.h:
2256         * WebCoreSupport/WebChromeClientIOS.mm:
2257         (WebChromeClientIOS::showAirPlayRoutePicker):
2258
2259 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
2260
2261         [iOS] Inspector View Indication Support
2262         https://bugs.webkit.org/show_bug.cgi?id=130709
2263
2264         Reviewed by Simon Fraser.
2265
2266         * WebCoreSupport/WebInspectorClientIOS.mm:
2267         (WebInspectorClient::showInspectorIndication):
2268         (WebInspectorClient::hideInspectorIndication):
2269         Renamed methods.
2270
2271 2014-03-22  Darin Adler  <darin@apple.com>
2272
2273         Remove String::deprecatedCharacters
2274         https://bugs.webkit.org/show_bug.cgi?id=126854
2275
2276         Reviewed by Sam Weinig.
2277
2278         * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
2279         * Misc/WebNSStringDrawing.mm:
2280         (+[NSString _web_setWordRoundingEnabled:]):
2281         (+[NSString _web_wordRoundingEnabled]):
2282         (+[NSString _web_setWordRoundingAllowed:]):
2283         (+[NSString _web_wordRoundingAllowed]):
2284         (+[NSString _web_setAscentRoundingEnabled:]):
2285         (+[NSString _web_ascentRoundingEnabled]):
2286         (-[NSString _web_drawAtPoint:withFont:]):
2287         (-[NSString _web_sizeWithFont:]):
2288         (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
2289         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
2290         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
2291         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
2292         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
2293         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
2294         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
2295         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
2296         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
2297         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
2298         (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
2299         (-[NSString _web_sizeInRect:withFont:ellipsis:]):
2300         (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
2301         (-[NSString _web_sizeForWidth:withAttributes:]):
2302         (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
2303         (-[NSString _web_sizeInRect:withAttributes:]):
2304         (-[NSString _web_drawInRect:withAttributes:]):
2305         Emptied out all these functions since callers aren't really using them any more.
2306
2307 2014-03-21  Tim Horton  <timothy_horton@apple.com>
2308
2309         Always retrieve the screen scale factor from WKSI
2310         <rdar://problem/16329679>
2311
2312         Reviewed by Sam Weinig.
2313
2314         * Misc/WebUIKitSupport.mm:
2315         (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
2316
2317 2014-03-19  Tim Horton  <timothy_horton@apple.com>
2318
2319         [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
2320         https://bugs.webkit.org/show_bug.cgi?id=130444
2321         <rdar://problem/15580682>
2322
2323         Reviewed by Sam Weinig.
2324
2325         * WebView/WebPDFViewPlaceholder.h:
2326         * WebView/WebPDFViewPlaceholder.mm:
2327         (-[WebPDFViewPlaceholder layout]):
2328         Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
2329         which is confusing.
2330
2331         Don't divide by zero if we have no pages, instead return an empty bounding size.
2332
2333         (-[WebPDFViewPlaceholder _computePageRects:]):
2334         If we have an empty document, set the background color to white.
2335         Otherwise, set it to black. It's not clear that black is the ideal
2336         background color, but this retains existing behavior.
2337
2338 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
2339
2340         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
2341         https://bugs.webkit.org/show_bug.cgi?id=130276
2342         <rdar://problem/16266927>
2343         
2344         Reviewed by Simon Fraser.
2345
2346         * WebCoreSupport/WebCaretChangeListener.h:
2347         * WebCoreSupport/WebInspectorClientIOS.mm:
2348         * WebView/WebPlainWhiteView.h:
2349         * WebView/WebPlainWhiteView.mm:
2350
2351 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
2352
2353         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
2354         https://bugs.webkit.org/show_bug.cgi?id=129612
2355
2356         Reviewed by Darin Adler.
2357
2358         For new code use static NeverDestroyed<T> instead.
2359
2360         * Misc/EmojiFallbackFontSelector.cpp:
2361         (EmojiFallbackFontSelector::getFallbackFontData):
2362         * WebCoreSupport/WebFixedPositionContent.mm:
2363         (WebFixedPositionContentDataLock):
2364
2365 2014-03-13  Benjamin Poulain  <bpoulain@apple.com>
2366
2367         The viewport code should not depend on WebKitSystemInterface
2368         https://bugs.webkit.org/show_bug.cgi?id=130218
2369
2370         Reviewed by Tim Horton.
2371
2372         * WebCoreSupport/WebChromeClientIOS.h:
2373         * WebCoreSupport/WebChromeClientIOS.mm:
2374         (WebChromeClientIOS::viewportScreenSize):
2375         Get the viewport size from WebKitSystemInterface.
2376
2377 2014-03-12  Enrica Casucci  <enrica@apple.com>
2378
2379         Incorrect reference counting of Range in WebFrame.
2380         https://bugs.webkit.org/show_bug.cgi?id=130160
2381         <rdar://problem/16282535>
2382
2383         Reviewed by Anders Carlsson.
2384
2385         * WebCoreSupport/WebFrameIOS.mm:
2386         (-[WebFrame selectionRects]):
2387
2388 2014-03-12  Simon Fraser  <simon.fraser@apple.com>
2389
2390         Spelling is hard
2391         https://bugs.webkit.org/show_bug.cgi?id=130146
2392
2393         Reviewed by Beth Dakin.
2394         
2395         Fix spelling (constained -> constrained).
2396
2397         * WebCoreSupport/WebFixedPositionContent.mm:
2398         (-[WebFixedPositionContent scrollOrZoomChanged:]):
2399         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
2400         (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
2401         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
2402         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
2403
2404 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
2405
2406         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
2407         https://bugs.webkit.org/show_bug.cgi?id=128681
2408
2409         Reviewed by Timothy Hatcher.
2410
2411         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
2412         WebCore/inspector/*. Besides files in there, a few other files in
2413         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
2414         and WebCore/testing were touched.
2415
2416         * WebCoreSupport/WebInspectorClientIOS.mm:
2417
2418 2014-02-12  Benjamin Poulain  <bpoulain@apple.com>
2419
2420         [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
2421         https://bugs.webkit.org/show_bug.cgi?id=128639
2422
2423         Reviewed by Andreas Kling.
2424
2425         * WebCoreSupport/WebChromeClientIOS.h:
2426         * WebCoreSupport/WebChromeClientIOS.mm:
2427         (WebChromeClientIOS::didReceiveMobileDocType):
2428
2429 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
2430
2431         Build fix after r163739.
2432
2433         * WebCoreSupport/WebFrameIOS.mm:
2434         (-[WebFrame collapseSelection]):
2435         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
2436
2437 2014-02-03  Dan Bernstein  <mitz@apple.com>
2438
2439         More iOS build fixing.
2440
2441         * Misc/WebNSStringDrawing.mm:
2442         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
2443         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
2444
2445 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
2446
2447         Remove inline member functions of FrameSelection that access m_selection
2448         https://bugs.webkit.org/show_bug.cgi?id=127986
2449
2450         Reviewed by Enrica Casucci.
2451
2452         * WebCoreSupport/WebFrameIOS.mm:
2453         (-[WebFrame extendSelection:]):
2454         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
2455         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
2456         (-[WebFrame expandSelectionToSentence]):
2457         (-[WebFrame setBaseWritingDirection:]):
2458         (-[WebFrame smartExtendRangedSelection:]):
2459
2460 2014-01-30  Andrei Bucur  <abucur@adobe.com>
2461
2462         Remove the ACCELERATED_COMPOSITING flag
2463         https://bugs.webkit.org/show_bug.cgi?id=127833
2464
2465         Reviewed by Antti Koivisto.
2466
2467         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
2468         mandatory.
2469
2470         * WebCoreSupport/WebChromeClientIOS.h:
2471         * WebCoreSupport/WebChromeClientIOS.mm:
2472         (WebChromeClientIOS::attachRootGraphicsLayer):
2473         * WebView/WebUIKitDelegate.h:
2474
2475 2014-01-27  Joseph Pecoraro  <pecoraro@apple.com>
2476
2477         Unreviewed iOS build fix. FALLTHROUGHs for iOS.
2478
2479         * Misc/WebNSStringDrawing.mm:
2480         (needsBidiLayout):
2481
2482 2014-01-27  Andy Estes  <aestes@apple.com>
2483
2484         Scrub WebKit API headers of WTF macros
2485         https://bugs.webkit.org/show_bug.cgi?id=127706
2486
2487         Reviewed by David Kilzer.
2488
2489         * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
2490         TARGET_OS_IPHONE.
2491
2492 2014-01-15  Sam Weinig  <sam@webkit.org>
2493
2494         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
2495         https://bugs.webkit.org/show_bug.cgi?id=126856
2496
2497         Reviewed by Ryosuke Niwa.
2498
2499         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
2500         now unnecessary up-conversions to UTF-16 in the process.
2501
2502         * Misc/WebNSStringDrawing.mm:
2503
2504 2014-01-16  Anders Carlsson  <andersca@apple.com>
2505
2506         Change all uses of FINAL to final now that all our compilers support it
2507         https://bugs.webkit.org/show_bug.cgi?id=127142
2508
2509         Reviewed by Benjamin Poulain.
2510
2511         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
2512
2513 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2514
2515         Remove workaround for compilers not supporting explicit override control
2516         https://bugs.webkit.org/show_bug.cgi?id=127111
2517
2518         Reviewed by Anders Carlsson.
2519
2520         Now all compilers support explicit override control, this workaround can be removed.
2521
2522         * Misc/EmojiFallbackFontSelector.h:
2523         * Storage/WebSQLiteDatabaseTrackerClient.h:
2524         * WebCoreSupport/PopupMenuIOS.h:
2525         * WebCoreSupport/SearchPopupMenuIOS.h:
2526         * WebCoreSupport/WebChromeClientIOS.h:
2527         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
2528
2529 2014-01-16  Andy Estes  <aestes@apple.com>
2530
2531         [iOS] Fix build issues with exported headers
2532
2533         * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
2534         TARGET_OS_IPHONE.
2535
2536 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
2537
2538         Avoid PLATFORM() macros in exported headers.
2539
2540         * WebView/WebPDFViewPlaceholder.h:
2541
2542 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
2543
2544         Clean up exports and headers for iOS.
2545
2546         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
2547         * WebCoreSupport/WebFrameIOS.h: Ditto.
2548         * WebCoreSupport/WebSelectionRect.h: Ditto.
2549
2550 2014-01-14  Dean Jackson  <dino@apple.com>
2551
2552         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
2553
2554         * WebKit.iOS.exp:
2555
2556 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
2557
2558         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
2559
2560         * WebCoreSupport/WebInspectorClientIOS.mm:
2561         (WebInspectorClient::indicate):
2562         (WebInspectorClient::hideIndication):
2563
2564 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
2565
2566         More work towards getting iOS WK1 building.
2567
2568         * WebCoreSupport/WebFrameIOS.mm:
2569         (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
2570         function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
2571
2572 2014-01-12  Darin Adler  <darin@apple.com>
2573
2574         Add type checking to isEqual methods
2575         https://bugs.webkit.org/show_bug.cgi?id=126862
2576
2577         Reviewed by Anders Carlsson.
2578
2579         * WebCoreSupport/WebVisiblePosition.mm:
2580         (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
2581         Add a FIXME about the lack of a hash method override. Simplified by
2582         removing the unneeded local variables.
2583
2584 2014-01-02  Andy Estes  <aestes@apple.com>
2585
2586         [iOS] Upstream remainder of minimal-ui viewport changes
2587         https://bugs.webkit.org/show_bug.cgi?id=126410
2588
2589         Reviewed by Sam Weinig.
2590
2591         * WebCoreSupport/WebChromeClientIOS.mm:
2592         (dictionaryForViewportArguments):
2593         * WebKit.iOS.exp:
2594
2595 2013-12-31  Andy Estes  <aestes@apple.com>
2596
2597         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
2598         https://bugs.webkit.org/show_bug.cgi?id=125746
2599
2600         Reviewed by David Kilzer.
2601
2602         * WebCoreSupport/WebVisiblePosition.mm:
2603         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
2604         to mention iOS rather than iPhone.
2605
2606 2013-12-27  Daniel Bates  <dabates@apple.com>
2607
2608         [iOS] Upstream WebCore/page changes
2609         https://bugs.webkit.org/show_bug.cgi?id=126180
2610
2611         Reviewed by Darin Adler.
2612
2613         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
2614
2615 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
2616
2617         Consolidate various frame snapshot capabilities.
2618         https://bugs.webkit.org/show_bug.cgi?id=124325
2619
2620         Reviewed by Darin Adler.
2621
2622         * WebCoreSupport/WebFrameIOS.mm: use new header file.
2623
2624 2013-12-04  Andy Estes  <aestes@apple.com>
2625
2626         [iOS] Upstream build fixes in Source/WebKit/ios/
2627         https://bugs.webkit.org/show_bug.cgi?id=125230
2628
2629         Reviewed by Sam Weinig.
2630
2631         * DefaultDelegates/WebDefaultUIKitDelegate.m:
2632         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
2633         * Misc/WebNSStringDrawing.mm:
2634         (needsBidiLayout):
2635         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
2636         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
2637         * Misc/WebUIKitSupport.mm:
2638         (WebKitInitialize):
2639         * WebCoreSupport/WebChromeClientIOS.h:
2640         * WebCoreSupport/WebChromeClientIOS.mm:
2641         (WebChromeClientIOS::didReceiveMobileDocType):
2642         (WebChromeClientIOS::focusedElementChanged):
2643         * WebCoreSupport/WebFrameIOS.mm:
2644         (-[WebFrame clearSelection]):
2645         (-[WebFrame selectionState]):
2646         (-[WebFrame collapseSelection]):
2647         (-[WebFrame extendSelection:]):
2648         (-[WebFrame selectionRects]):
2649         (-[WebFrame setRangedSelectionWithExtentPoint:]):
2650         (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
2651         (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
2652         (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
2653         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
2654         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
2655         (-[WebFrame expandSelectionToSentence]):
2656         (-[WebFrame setBaseWritingDirection:]):
2657         (-[WebFrame moveSelectionToStart]):
2658         (-[WebFrame moveSelectionToEnd]):
2659         (-[WebFrame moveSelectionToPoint:]):
2660         (-[WebFrame setSelectionGranularity:]):
2661         (-[WebFrame smartExtendRangedSelection:]):
2662         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
2663         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
2664         * WebCoreSupport/WebInspectorClientIOS.mm:
2665         (WebInspectorClient::WebInspectorClient):
2666         (WebInspectorClient::didSetSearchingForNode):
2667         (WebInspectorClient::setupRemoteConnection):
2668         (WebInspectorClient::teardownRemoteConnection):
2669         * WebCoreSupport/WebVisiblePosition.mm:
2670         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
2671         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
2672         (-[DOMHTMLInputElement startPosition]):
2673         (-[DOMHTMLInputElement endPosition]):
2674         (-[DOMHTMLTextAreaElement startPosition]):
2675         (-[DOMHTMLTextAreaElement endPosition]):
2676         * WebView/WebPDFViewIOS.mm:
2677         (+[WebPDFView shadowColor]):
2678         (+[WebPDFView backgroundColor]):
2679         (-[WebPDFView _checkPDFTitle]):
2680         * WebView/WebPDFViewPlaceholder.mm:
2681         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
2682         * WebView/WebUIKitDelegate.h:
2683
2684 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
2685
2686         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
2687         https://bugs.webkit.org/show_bug.cgi?id=124613
2688
2689         Reviewed by Timothy Hatcher.
2690
2691         * WebCoreSupport/WebInspectorClientIOS.mm:
2692         (WebInspectorClient::WebInspectorClient):
2693         (WebInspectorClient::inspectorDestroyed):
2694
2695 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
2696
2697         Typo: FixedPositionConstaint -> FixedPositionConstraint
2698         https://bugs.webkit.org/show_bug.cgi?id=125171
2699
2700         Reviewed by Simon Fraser.
2701
2702         * WebCoreSupport/WebFixedPositionContent.mm:
2703         (-[WebFixedPositionContent scrollOrZoomChanged:]):
2704
2705 2013-11-18  Commit Queue  <commit-queue@webkit.org>
2706
2707         Unreviewed, rolling out r159455.
2708         http://trac.webkit.org/changeset/159455
2709         https://bugs.webkit.org/show_bug.cgi?id=124568
2710
2711         broke two api tests (see bug 124564) (Requested by thorton on
2712         #webkit).
2713
2714         * WebCoreSupport/WebFrameIOS.mm:
2715
2716 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
2717
2718         Consolidate various frame snapshot capabilities.
2719         https://bugs.webkit.org/show_bug.cgi?id=124325
2720
2721         Reviewed by Timothy Hatcher.
2722
2723         * WebCoreSupport/WebFrameIOS.mm: use new header file.
2724
2725 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
2726
2727         Remove a PLATFORM(IOS) from WebKit Private Header
2728         https://bugs.webkit.org/show_bug.cgi?id=124014
2729
2730         Reviewed by Timothy Hatcher.
2731
2732         * WebKit.iOS.exp:
2733
2734 2013-10-29  Andy Estes  <aestes@apple.com>
2735
2736         [iOS] Upstream Source/WebKit/ios/
2737         https://bugs.webkit.org/show_bug.cgi?id=123470
2738
2739         Reviewed by Sam Weinig.
2740
2741         * DefaultDelegates/WebDefaultFormDelegate.h: Added.
2742         * DefaultDelegates/WebDefaultFormDelegate.m: Added.
2743         * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
2744         * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
2745         * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
2746         * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
2747         * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
2748         * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
2749         * Misc/EmojiFallbackFontSelector.cpp: Added.
2750         * Misc/EmojiFallbackFontSelector.h: Added.
2751         * Misc/MemoryMeasure.h: Added.
2752         * Misc/MemoryMeasure.mm: Added.
2753         * Misc/WebGeolocationCoreLocationProvider.h: Added.
2754         * Misc/WebGeolocationCoreLocationProvider.mm: Added.
2755         * Misc/WebGeolocationProviderIOS.h: Added.
2756         * Misc/WebGeolocationProviderIOS.mm: Added.
2757         * Misc/WebNSStringDrawing.h: Added.
2758         * Misc/WebNSStringDrawing.mm: Added.
2759         * Misc/WebNSStringExtrasIOS.h: Added.
2760         * Misc/WebNSStringExtrasIOS.m: Added.
2761         * Misc/WebNSStringExtrasIPhone.h: Added.
2762         * Misc/WebUIKitSupport.h: Added.
2763         * Misc/WebUIKitSupport.mm: Added.
2764         * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
2765         * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
2766         * WebCoreSupport/PopupMenuIOS.h: Added.
2767         * WebCoreSupport/PopupMenuIOS.mm: Added.
2768         * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
2769         * WebCoreSupport/SearchPopupMenuIOS.h: Added.
2770         * WebCoreSupport/WebCaretChangeListener.h: Added.
2771         * WebCoreSupport/WebChromeClientIOS.h: Added.
2772         * WebCoreSupport/WebChromeClientIOS.mm: Added.
2773         * WebCoreSupport/WebFixedPositionContent.h: Added.
2774         * WebCoreSupport/WebFixedPositionContent.mm: Added.
2775         * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
2776         * WebCoreSupport/WebFrameIOS.h: Added.
2777         * WebCoreSupport/WebFrameIOS.mm: Added.
2778         * WebCoreSupport/WebFrameIPhone.h: Added.
2779         * WebCoreSupport/WebGeolocation.mm: Added.
2780         * WebCoreSupport/WebGeolocationInternal.h: Added.
2781         * WebCoreSupport/WebGeolocationPrivate.h: Added.
2782         * WebCoreSupport/WebMIMETypeRegistry.h: Added.
2783         * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
2784         * WebCoreSupport/WebSelectionRect.h: Added.
2785         * WebCoreSupport/WebSelectionRect.m: Added.
2786         * WebCoreSupport/WebVisiblePosition.h: Added.
2787         * WebCoreSupport/WebVisiblePosition.mm: Added.
2788         * WebCoreSupport/WebVisiblePositionInternal.h: Added.
2789         * WebKit.iOS.exp: Added.
2790         * WebView/WebFrameViewWAKCompatibility.m: Added.
2791         * WebView/WebMailDelegate.h: Added.
2792         * WebView/WebPDFViewIOS.h: Added.
2793         * WebView/WebPDFViewIOS.mm: Added.
2794         * WebView/WebPDFViewIPhone.h: Added.
2795         * WebView/WebPDFViewPlaceholder.h: Added.
2796         * WebView/WebPDFViewPlaceholder.mm: Added.
2797         * WebView/WebPlainWhiteView.h: Added.
2798         * WebView/WebPlainWhiteView.mm: Added.
2799         * WebView/WebUIKitDelegate.h: Added.
2800
2801 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
2802
2803         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
2804         https://bugs.webkit.org/show_bug.cgi?id=123111
2805
2806         Reviewed by Timothy Hatcher.
2807
2808         iOS does not have a local inspector, only remote. So give it a custom
2809         implementation separate from the WebKit/mac WebInspectorClient
2810         implementation which handles an attaching/detaching local inspector.
2811
2812         * WebKit.xcodeproj/project.pbxproj:
2813         * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
2814         (WebInspectorClient::WebInspectorClient):
2815         (WebInspectorClient::inspectorDestroyed):
2816         (WebInspectorClient::openInspectorFrontend):
2817         (WebInspectorClient::bringFrontendToFront):
2818         (WebInspectorClient::closeInspectorFrontend):
2819         (WebInspectorClient::didResizeMainFrame):
2820         (WebInspectorClient::highlight):
2821         (WebInspectorClient::hideHighlight):
2822         (WebInspectorClient::didSetSearchingForNode):
2823         (WebInspectorClient::sendMessageToFrontend):
2824         (WebInspectorClient::sendMessageToBackend):
2825         (WebInspectorClient::setupRemoteConnection):
2826         (WebInspectorClient::teardownRemoteConnection):
2827         (WebInspectorClient::hasLocalSession):
2828         (WebInspectorClient::canBeRemotelyInspected):
2829         (WebInspectorClient::inspectedWebView):
2830         (WebInspectorFrontendClient::WebInspectorFrontendClient):
2831         (WebInspectorFrontendClient::attachAvailabilityChanged):
2832         (WebInspectorFrontendClient::frontendLoaded):
2833         (WebInspectorFrontendClient::localizedStringsURL):
2834         (WebInspectorFrontendClient::bringToFront):
2835         (WebInspectorFrontendClient::closeWindow):
2836         (WebInspectorFrontendClient::disconnectFromBackend):
2837         (WebInspectorFrontendClient::attachWindow):
2838         (WebInspectorFrontendClient::detachWindow):
2839         (WebInspectorFrontendClient::setAttachedWindowHeight):
2840         (WebInspectorFrontendClient::setAttachedWindowWidth):
2841         (WebInspectorFrontendClient::setToolbarHeight):
2842         (WebInspectorFrontendClient::inspectedURLChanged):
2843         (WebInspectorFrontendClient::updateWindowTitle):
2844         (WebInspectorFrontendClient::save):
2845         (WebInspectorFrontendClient::append):