6d24ae80270d6bd2eecef07b55914c96e2438deb
[WebKit-https.git] / Source / WebKit / ios / ChangeLog
1 2017-01-21  Darin Adler  <darin@apple.com>
2
3         Remove PassRefPtr from "page" directory of WebCore, also deploy references
4         https://bugs.webkit.org/show_bug.cgi?id=167224
5
6         Reviewed by Chris Dumez.
7
8         * WebCoreSupport/WebChromeClientIOS.h: Update for changes to ChromeClient.
9         * WebCoreSupport/WebChromeClientIOS.mm:
10         (WebChromeClientIOS::runJavaScriptAlert): Ditto.
11         (WebChromeClientIOS::runJavaScriptConfirm): Ditto.
12         (WebChromeClientIOS::runJavaScriptPrompt): Ditto.
13         (WebChromeClientIOS::setNeedsScrollNotifications): Ditto.
14         (WebChromeClientIOS::observedContentChange): Ditto.
15         (WebChromeClientIOS::clearContentChangeObservers): Ditto.
16         (WebChromeClientIOS::notifyRevealedSelectionByScrollingFrame): Ditto.
17         (WebChromeClientIOS::elementDidFocus): Ditto.
18         (WebChromeClientIOS::elementDidBlur): Ditto.
19         (WebChromeClientIOS::createPopupMenu): Ditto.
20         (WebChromeClientIOS::createSearchPopupMenu): Ditto.
21         (WebChromeClientIOS::attachRootGraphicsLayer): Ditto.
22
23 2017-01-21  Simon Fraser  <simon.fraser@apple.com>
24
25         Remove the unused -[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]
26         https://bugs.webkit.org/show_bug.cgi?id=167273
27
28         Reviewed by Alex Christensen.
29
30         This function was added for an experiment, but is no longer used, so remove it.
31
32         * WebCoreSupport/WebFixedPositionContent.h:
33         * WebCoreSupport/WebFixedPositionContent.mm:
34         (anchorEdgeFlagsForAnchorEdge): Deleted.
35         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]): Deleted.
36
37 2017-01-15  Darin Adler  <darin@apple.com>
38
39         Remove PassRefPtr from "loader" directory of WebCore
40         https://bugs.webkit.org/show_bug.cgi?id=167055
41
42         Reviewed by Alex Christensen.
43
44         * WebCoreSupport/WebChromeClientIOS.h: Updated runOpenPanel to take references.
45         Made class final and most functions private and final.
46         * WebCoreSupport/WebChromeClientIOS.mm:
47         (WebChromeClientIOS::runOpenPanel): Updated to take references.
48
49 2016-12-30  Darin Adler  <darin@apple.com>
50
51         Remove PassRefPtr use from the "dom" directory, related cleanup
52         https://bugs.webkit.org/show_bug.cgi?id=166569
53
54         Reviewed by Alex Christensen.
55
56         * WebView/WebPDFViewIOS.mm:
57         (-[WebPDFView _checkPDFTitle]): Use aggregate-style syntax for StringWithDirection.
58         Not needed now, but useful later if we ever can get rid of the explicit constructors.
59
60 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
61
62         Stop reinterpret_casting UBreakIterators to the undefined type TextBreakIterator
63         https://bugs.webkit.org/show_bug.cgi?id=165931
64
65         Reviewed by Alex Christensen.
66
67         * Misc/WebUIKitSupport.mm:
68
69 2016-11-01  Alex Christensen  <achristensen@webkit.org>
70
71         Remove PassRefPtr from DumpRenderTree
72         https://bugs.webkit.org/show_bug.cgi?id=164307
73
74         Reviewed by Sam Weinig.
75
76         * Misc/WebGeolocationProviderIOS.mm:
77
78 2016-10-26  Dan Bernstein  <mitz@apple.com>
79
80         Tried to fix the iOS build after r207934.
81
82         * WebCoreSupport/WebFrameIOS.mm:
83         (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]): Removed commented-out code and
84           a comment that had a typo in it and looked like a bad Doxygen trailing comment.
85
86 2016-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
87
88         Migrate line breaking code from ints to Optional<unsigned>s
89         https://bugs.webkit.org/show_bug.cgi?id=160859
90
91         Reviewed by Darin Adler.
92
93         * Misc/WebUIKitSupport.mm:
94         (WebKitGetLastLineBreakInBuffer):
95
96 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
97
98         Remove unused includes of wtf headers
99         https://bugs.webkit.org/show_bug.cgi?id=160839
100
101         Reviewed by Alex Christensen.
102
103         * Misc/WebGeolocationCoreLocationProvider.h:
104         * WebView/WebPDFViewIOS.mm:
105         * WebView/WebPlainWhiteView.mm:
106
107 2016-08-09  George Ruan  <gruan@apple.com>
108
109         Implement functionality of media capture on iOS
110         https://bugs.webkit.org/show_bug.cgi?id=158945
111         <rdar://problem/26893343>
112
113         Reviewed by Tim Horton.
114
115         * DefaultDelegates/WebDefaultUIKitDelegate.m:
116         (-[WebDefaultUIKitDelegate
117         webView:runOpenPanelForFileButtonWithResultListener:configuration:]):
118         Use a dictionary instead of passing each parameter in separately.
119         (-[WebDefaultUIKitDelegate webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:acceptMIMETypes:]): Deleted.
120         * WebCoreSupport/WebChromeClientIOS.mm:
121         (webMediaCaptureType): Converts from WebCore::MediaCaptureType to
122         WebMediaCaptureType.
123         (WebChromeClientIOS::runOpenPanel):
124         * WebKit.iOS.exp: Expose NSDictionary keys for
125         runOpenPanelForFileButtonWithResultListener.
126         * WebView/WebUIKitDelegate.h: Add WebMediaCaptureType enum and
127         NSDictionary keys for
128         runOpenPanelForFileButtonWithResultListener.
129
130 2016-07-11  Enrica Casucci  <enrica@apple.com>
131
132         Add synthetic click origin to WKNavigationAction.
133         https://bugs.webkit.org/show_bug.cgi?id=159584
134         rdar://problem/25610422
135
136         Reviewed by Tim Horton.
137
138         * WebView/WebPDFViewPlaceholder.mm:
139         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
140
141 2016-06-23  Alex Christensen  <achristensen@webkit.org>
142
143         Remove unused didCancelAuthenticationChallenge
144         https://bugs.webkit.org/show_bug.cgi?id=158819
145
146         Reviewed by David Kilzer.
147
148         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
149         (-[WebDefaultResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
150         (-[WebDefaultResourceLoadDelegate webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:]):
151         (-[WebDefaultResourceLoadDelegate webView:resource:didCancelAuthenticationChallenge:fromDataSource:]): Deleted.
152
153 2016-06-02  David Kilzer  <ddkilzer@apple.com>
154
155         Fix typo in -[WebDefaultUIKitDelegate deleteFromInputwithFlags:]
156         <https://webkit.org/b/158323>
157         <rdar://problem/26549165>
158
159         Reviewed by Andy Estes.
160
161         * DefaultDelegates/WebDefaultUIKitDelegate.m:
162         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]): Rename...
163         (-[WebDefaultUIKitDelegate deleteFromInputWithFlags:]): ...to this.
164
165 2016-05-15  Darin Adler  <darin@apple.com>
166
167         More CTTE and other cleanups for HTML editing header
168         https://bugs.webkit.org/show_bug.cgi?id=157722
169
170         Reviewed by Chris Dumez.
171
172         * WebCoreSupport/WebFrameIOS.mm:
173         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): auto
174         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): auto
175
176 2016-05-14  Darin Adler  <darin@apple.com>
177
178         CTTE for the HTML editing header
179         https://bugs.webkit.org/show_bug.cgi?id=157676
180
181         Reviewed by Chris Dumez.
182
183         * WebCoreSupport/WebFrameIOS.mm:
184         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): Update since
185         lastOffsetForEditing takes a reference now. Seems like this code should be in WebCore.
186         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): Ditto.
187
188 2016-05-13  Beth Dakin  <bdakin@apple.com>
189
190         Add dyldSPI.h for linked on or after checks, and add one for link preview
191         https://bugs.webkit.org/show_bug.cgi?id=157401
192         -and corresponding-
193         rdar://problem/26253396
194
195         Reviewed by Darin Adler.
196
197         This patch removes DynamicLinkerSPI.h and replaces it with 
198         wtf/spi/darwin/dyldSPI.h
199
200         * Misc/WebUIKitSupport.mm:
201
202 2016-05-06  Simon Fraser  <simon.fraser@apple.com>
203
204         Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
205         https://bugs.webkit.org/show_bug.cgi?id=157432
206         rdar://problem/16406720
207
208         Reviewed by Dean Jackson.
209
210         Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
211
212         Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
213         preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
214         These two settings are shared with TEXT_AUTOSIZING.
215
216         Add a TextAutosizing log channel, which is useful for generated -expected.html results.
217
218         Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
219         without changes.
220
221         An implication of this set of changes is that the way clients enable text autosizing
222         has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
223         Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
224         on iPhone only, not iPad.
225
226         Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
227         instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
228
229         UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
230         which will now always return 15, but had no other code that toggled this. So it's safe to just rely
231         on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
232
233         * Misc/WebUIKitSupport.mm:
234         (WebKitGetMinimumZoomFontSize):
235
236 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
237
238         URL Parsing should signal failure for illegal IDN
239         https://bugs.webkit.org/show_bug.cgi?id=154945
240         <rdar://problem/8014795>
241
242         Reviewed by Brent Fulgham.
243
244         * Misc/WebNSStringExtrasIOS.m:
245         (-[NSString _web_possibleURLsForForUserTypedString:]):
246         * WebView/WebPDFViewPlaceholder.mm:
247         (-[WebPDFViewPlaceholder _updateTitleForURL:]):
248
249 2016-03-15  Chris Dumez  <cdumez@apple.com>
250
251         Unreviewed, rolling out r198203.
252
253         Favorites view is no longer loading on iOS
254
255         Reverted changeset:
256
257         "URL Parsing should signal failure for illegal IDN"
258         https://bugs.webkit.org/show_bug.cgi?id=154945
259         http://trac.webkit.org/changeset/198203
260
261 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
262
263         URL Parsing should signal failure for illegal IDN
264         https://bugs.webkit.org/show_bug.cgi?id=154945
265         <rdar://problem/8014795>
266
267         Reviewed by Brent Fulgham.
268
269         * Misc/WebNSStringExtrasIOS.m:
270         (-[NSString _web_possibleURLsForForUserTypedString:]):
271         * WebView/WebPDFViewPlaceholder.mm:
272         (-[WebPDFViewPlaceholder _updateTitleForURL:]):
273
274 2016-03-05  Chris Dumez  <cdumez@apple.com>
275
276         Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
277         https://bugs.webkit.org/show_bug.cgi?id=155035
278
279         Reviewed by Darin Adler.
280
281         Update runtime application checks.
282
283         * WebCoreSupport/WebChromeClientIOS.mm:
284
285 2016-02-17  David Kilzer  <ddkilzer@apple.com>
286
287         [iOS WK1] NSTimer in WebGeolocationProviderIOS.mm fires on the main thread without the WebThreadLock
288         <http://webkit.org/b/154347>
289         <rdar://problem/19360382>
290
291         Reviewed by Andy Estes.
292
293         This isn't testable because the GeolocationClientMock in WebCore
294         bypasses this code in WebKit1.
295
296         * Misc/WebGeolocationProviderIOS.mm:
297         (-[WebGeolocationProviderIOS _handlePendingInitialPosition:]):
298         Assert that this is always called on the WebThread.
299         (-[WebGeolocationProviderIOS registerWebView:]): Register the
300         NSTimer on the WebThread NSRunLoop.
301
302 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
303
304         Remove TextRun::allowsRoundingHacks()
305         https://bugs.webkit.org/show_bug.cgi?id=153185
306
307         Reviewed by Simon Fraser.
308
309         * Misc/WebUIKitSupport.mm:
310         (WebKitInitialize): Deleted.
311
312 2016-01-13  Chris Dumez  <cdumez@apple.com>
313
314         Unreviewed, rolling out r194900.
315
316         Roll back in as this did not actually regress PLT
317
318         Reverted changeset:
319
320         "Unreviewed, rolling out r194826."
321         https://bugs.webkit.org/show_bug.cgi?id=153020
322         http://trac.webkit.org/changeset/194900
323
324 2016-01-12  Commit Queue  <commit-queue@webkit.org>
325
326         Unreviewed, rolling out r194826.
327         https://bugs.webkit.org/show_bug.cgi?id=153020
328
329         Appears to have regressed PLT (Requested by kling on #webkit).
330
331         Reverted changeset:
332
333         "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
334         cont'd"
335         https://bugs.webkit.org/show_bug.cgi?id=152902
336         http://trac.webkit.org/changeset/194826
337
338 2016-01-10  Andreas Kling  <akling@apple.com>
339
340         Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
341         <https://webkit.org/b/152902>
342
343         Reviewed by Andy Estes.
344
345         * WebCoreSupport/WebFixedPositionContent.mm:
346         (WebFixedPositionContentDataLock):
347
348 2015-12-31  Andy Estes  <aestes@apple.com>
349
350         Replace WTF::move with WTFMove
351         https://bugs.webkit.org/show_bug.cgi?id=152601
352
353         Reviewed by Brady Eidson.
354
355         * WebCoreSupport/WebFixedPositionContent.mm:
356         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
357         * WebCoreSupport/WebInspectorClientIOS.mm:
358         (WebInspectorFrontendClient::WebInspectorFrontendClient):
359
360 2015-12-20  Dan Bernstein  <mitz@apple.com>
361
362         Remove unused setToolbarHeight
363         https://bugs.webkit.org/show_bug.cgi?id=152466
364
365         Reviewed by Darin Adler.
366
367         * WebCoreSupport/WebInspectorClientIOS.mm:
368         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
369
370 2015-12-18  Simon Fraser  <simon.fraser@apple.com>
371
372         Turn off "shrink-to-fit" viewport scaling in UIWebViews
373         https://bugs.webkit.org/show_bug.cgi?id=152451
374         rdar://problem/23960882
375
376         Reviewed by Tim Horton.
377         
378         Disable the "shrink to fit" behavior in UIWebViews. This disables it entirely,
379         even when the page has "shrink-to-fit=yes" in the viewport meta tag.
380         
381         Not testable because we can't test actual UIWebView scaling behavior.
382
383         * WebCoreSupport/WebChromeClientIOS.mm:
384         (dictionaryForViewportArguments):
385
386 2015-11-07  Simon Fraser  <simon.fraser@apple.com>
387
388         Remove ColorSpace argument to all the drawing calls
389         https://bugs.webkit.org/show_bug.cgi?id=150967
390
391         Reviewed by Darin Adler.
392
393         Since the -webkit-color-correction CSS property was removed in r188202, and ColorSpaceDeviceRGB
394         and ColorSpaceSRGB are functionally equivalent, we can remove all the ColorSpace arguments passed
395         to drawing functions, and remove RenderStyle::colorSpace(), which was hardcoded to return ColorSpaceSRGB.
396
397         * WebView/WebPDFViewIOS.mm:
398         (-[WebPDFView drawPage:]):
399         * WebView/WebPlainWhiteView.mm:
400
401 2015-11-02  Andy Estes  <aestes@apple.com>
402
403         Fixed the iOS build after r191904.
404
405         * WebCoreSupport/WebChromeClientIOS.mm:
406         (WebChromeClientIOS::screenSize):
407
408 2015-10-31  Andy Estes  <aestes@apple.com>
409
410         Replace iOS-only WebKitSystemInterface calls with SPI
411         https://bugs.webkit.org/show_bug.cgi?id=150763
412
413         Reviewed by Darin Adler.
414
415         * Misc/WebUIKitSupport.mm:
416         (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
417         (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
418         * WebCoreSupport/WebChromeClientIOS.mm:
419         (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
420
421 2015-11-02  Commit Queue  <commit-queue@webkit.org>
422
423         Unreviewed, rolling out r191902.
424         https://bugs.webkit.org/show_bug.cgi?id=150811
425
426         This change broke iOS builders (Requested by ryanhaddad on
427         #webkit).
428
429         Reverted changeset:
430
431         "Replace iOS-only WebKitSystemInterface calls with SPI"
432         https://bugs.webkit.org/show_bug.cgi?id=150763
433         http://trac.webkit.org/changeset/191902
434
435 2015-10-31  Andy Estes  <aestes@apple.com>
436
437         Replace iOS-only WebKitSystemInterface calls with SPI
438         https://bugs.webkit.org/show_bug.cgi?id=150763
439
440         Reviewed by Darin Adler.
441
442         * Misc/WebUIKitSupport.mm:
443         (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
444         (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
445         * WebCoreSupport/WebChromeClientIOS.mm:
446         (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
447
448 2015-10-14  Zhuo Li  <zachli@apple.com>
449
450         Augment <input type=search>’s recent search history with the time each entry was added,
451         in order to allow time-based clearing of search history.
452         https://bugs.webkit.org/show_bug.cgi?id=148388.
453
454         Reviewed by Darin Adler.
455
456         Replace Vector<String> with Vector<RecentSearch>, where RecentSearch is a struct
457         that consists search string and time, for recent searches in order to store additional time information.
458
459         * WebCoreSupport/SearchPopupMenuIOS.cpp:
460         (SearchPopupMenuIOS::saveRecentSearches):
461         (SearchPopupMenuIOS::loadRecentSearches):
462         * WebCoreSupport/SearchPopupMenuIOS.h:
463
464 2015-09-17  Brian Burg  <bburg@apple.com>
465
466         ASSERT(!m_frontendRouter->hasLocalFrontend()) when running Web Inspector tests
467         https://bugs.webkit.org/show_bug.cgi?id=149006
468
469         Reviewed by Joseph Pecoraro.
470
471         * WebCoreSupport/WebInspectorClientIOS.mm:
472         (WebInspectorClient::closeLocalFrontend): Deleted.
473         (WebInspectorFrontendClient::disconnectFromBackend): Deleted.
474
475 2015-09-12  Brian Burg  <bburg@apple.com>
476
477         Web Inspector: disambiguate inspected/frontend controllers and pages in backend code
478         https://bugs.webkit.org/show_bug.cgi?id=149071
479
480         Reviewed by Joseph Pecoraro.
481
482         * WebCoreSupport/WebInspectorClientIOS.mm:
483         (WebInspectorClient::WebInspectorClient):
484         (WebInspectorClient::inspectedPageDestroyed): Renamed.
485         (WebInspectorClient::openLocalFrontend): Renamed.
486         (WebInspectorClient::closeLocalFrontend): Renamed.
487         (WebInspectorClient::inspectorDestroyed): Deleted.
488         (WebInspectorClient::openInspectorFrontend): Deleted.
489         (WebInspectorClient::closeInspectorFrontend): Deleted.
490         (WebInspectorClient::showInspectorIndication):
491         (WebInspectorClient::hideInspectorIndication):
492         (WebInspectorClient::didSetSearchingForNode):
493         (WebInspectorFrontendClient::WebInspectorFrontendClient):
494
495 2015-08-17  Filip Pizlo  <fpizlo@apple.com>
496
497         Replace all remaining uses of WTF::Mutex with WTF::Lock
498         https://bugs.webkit.org/show_bug.cgi?id=148089
499
500         Reviewed by Geoffrey Garen.
501
502         * WebCoreSupport/WebFixedPositionContent.mm:
503         (WebFixedPositionContentDataLock):
504         (-[WebFixedPositionContent scrollOrZoomChanged:]):
505         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
506         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
507         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
508         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
509
510 2015-08-13  Tim Horton  <timothy_horton@apple.com>
511
512         Refactor and improve TextIndicator to prepare for tests
513         https://bugs.webkit.org/show_bug.cgi?id=147622
514
515         Reviewed by Simon Fraser.
516
517         * WebCoreSupport/WebFrameIOS.mm:
518         (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]):
519         Adjust to Range method renames.
520
521 2015-08-05  Filip Pizlo  <fpizlo@apple.com>
522
523         Unreviewed, roll out http://trac.webkit.org/changeset/187972.
524
525         * WebCoreSupport/WebFixedPositionContent.mm:
526         (WebFixedPositionContentDataLock):
527         (-[WebFixedPositionContent scrollOrZoomChanged:]):
528         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
529         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
530         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
531         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
532
533 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
534
535         Rename Mutex to DeprecatedMutex
536         https://bugs.webkit.org/show_bug.cgi?id=147675
537
538         Reviewed by Geoffrey Garen.
539
540         * WebCoreSupport/WebFixedPositionContent.mm:
541         (WebFixedPositionContentDataLock):
542         (-[WebFixedPositionContent scrollOrZoomChanged:]):
543         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
544         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
545         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
546         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
547
548 2015-08-04  Anders Carlsson  <andersca@apple.com>
549
550         Remove database thread pause code
551         https://bugs.webkit.org/show_bug.cgi?id=147669
552
553         Reviewed by Daniel Bates.
554
555         * Misc/WebUIKitSupport.mm:
556         (WebKitSetBackgroundAndForegroundNotificationNames):
557         (applicationDidEnterBackground): Deleted.
558         (applicationWillEnterForeground): Deleted.
559
560 2015-07-21  Tim Horton  <timothy_horton@apple.com>
561
562         Expose shrink-wrapping as UIKit support SPI
563         https://bugs.webkit.org/show_bug.cgi?id=147148
564         <rdar://problem/21920008>
565
566         * WebKit.iOS.exp:
567         Also export.
568
569 2015-07-21  Tim Horton  <timothy_horton@apple.com>
570
571         Expose shrink-wrapping as UIKit support SPI
572         https://bugs.webkit.org/show_bug.cgi?id=147148
573         <rdar://problem/21920008>
574
575         Reviewed by Simon Fraser.
576
577         * Misc/WebUIKitSupport.h:
578         * Misc/WebUIKitSupport.mm:
579         (WebKitCreatePathWithShrinkWrappedRects):
580
581 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
582
583         iOS WebKitLegacy should match WebKit2's viewport behavior
584         https://bugs.webkit.org/show_bug.cgi?id=146564
585         <rdar://problem/20574017>
586
587         Reviewed by Brent Fulgham.
588
589         * WebCoreSupport/WebChromeClientIOS.mm:
590         (dictionaryForViewportArguments):
591
592 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
593
594         iOS WebKitLegacy should match WebKit2's viewport behavior
595         https://bugs.webkit.org/show_bug.cgi?id=146540
596         <rdar://problem/20574017>
597
598         Reviewed by Dan Bernstein.
599
600         * WebKit.iOS.exp:
601
602 2015-06-25  Joseph Pecoraro  <pecoraro@apple.com>
603
604         Unreviewed, attempt to fix the iOS build after r185968.
605
606         * WebCoreSupport/WebInspectorClientIOS.mm:
607         (WebInspectorFrontendClient::startWindowDrag):
608
609 2015-06-02  Brady Eidson  <beidson@apple.com>
610
611         WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
612         rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
613
614         Reviewed by Alex Christensen.
615
616         * WebView/WebPDFViewPlaceholder.mm:
617         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
618
619 2015-05-25  Dan Bernstein  <mitz@apple.com>
620
621         ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
622         https://bugs.webkit.org/show_bug.cgi?id=145372
623
624         Reviewed by Sam Weinig.
625
626         * Misc/WebGeolocationCoreLocationProvider.mm:
627         (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
628         (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
629         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
630         (-[WebGeolocationCoreLocationProvider start]): Ditto.
631         (-[WebGeolocationCoreLocationProvider stop]): Ditto.
632         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
633
634 2015-04-28  Brady Eidson  <beidson@apple.com>
635
636         Consolidate most "frame load" arguments into FrameLoadRequest.
637         https://bugs.webkit.org/show_bug.cgi?id=144276
638
639         Reviewed by Alexey Proskuryakov.
640
641         * WebView/WebPDFViewPlaceholder.mm:
642         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
643
644 2015-04-13  Beth Dakin  <bdakin@apple.com>
645
646         Add force property to MouseEvents
647         https://bugs.webkit.org/show_bug.cgi?id=143569
648         -and corresponding-
649         rdar://problem/20472954
650
651         Reviewed by Darin Adler.
652
653         Send the appropriate force with this simulated click event.
654         * WebView/WebPDFViewPlaceholder.mm:
655         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
656
657 2015-03-31  Myles C. Maxfield  <mmaxfield@apple.com>
658
659         Move ExpansionBehaviorFlags and TextDirection to their own file
660         https://bugs.webkit.org/show_bug.cgi?id=143273
661
662         Reviewed by Simon Fraser.
663
664         This is a mechanical change. It just moves code around.
665
666         This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
667
668         * WebCoreSupport/WebFrameIOS.mm:
669         * WebCoreSupport/WebVisiblePosition.mm:
670
671 2015-03-09  David Kilzer  <ddkilzer@apple.com>
672
673         [iOS] Fix build when compiling with dead code stripping disabled
674         <http://webkit.org/b/142467>
675
676         Reviewed by Simon Fraser.
677
678         * WebCoreSupport/WebInspectorClientIOS.mm:
679         (WebInspectorFrontendClient::save): Add missing method.
680
681 2015-02-14  Alexey Proskuryakov  <ap@apple.com>
682
683         rel="noreferrer" should make window.opener null
684         https://bugs.webkit.org/show_bug.cgi?id=141579
685
686         Reviewed by Darin Adler.
687
688         * WebView/WebPDFViewPlaceholder.mm:
689         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
690         function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
691
692 2015-02-03  Enrica Casucci  <enrica@apple.com>
693
694         [iOS] Add support for deleteFromInputWithFlags.
695         https://bugs.webkit.org/show_bug.cgi?id=141216
696         rdar://problem/19130081
697
698         Reviewed by Benjamin Poulain.
699
700         Adopts the new method as soon as it is available.
701         The patch also removes some obsolete code used for staging.
702
703         * DefaultDelegates/WebDefaultUIKitDelegate.m:
704         (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
705         (-[WebDefaultUIKitDelegate deleteFromInput]):
706         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
707         (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
708         * WebView/WebUIKitDelegate.h:
709
710 2015-01-22  Andreas Kling  <akling@apple.com>
711
712         Remove unused class EmojiFallbackFontSelector.
713         <https://webkit.org/b/140809>
714
715         Reviewed by Antti Koivisto.
716
717         This class no longer has any clients.
718
719         * Misc/EmojiFallbackFontSelector.cpp: Removed.
720         * Misc/EmojiFallbackFontSelector.h: Removed.
721
722 2015-01-13  Chris Dumez  <cdumez@apple.com>
723
724         Unreviewed iOS build fix after r178375
725
726         Match FontSelector API changes.
727
728         * Misc/EmojiFallbackFontSelector.cpp:
729         (EmojiFallbackFontSelector::fallbackFontDataAt):
730         (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
731         * Misc/EmojiFallbackFontSelector.h:
732
733 2014-12-07  Dan Bernstein  <mitz@apple.com>
734
735         Introduce and deploy a function that allocates and returns an instance of a soft-linked class
736         https://bugs.webkit.org/show_bug.cgi?id=139348
737
738         Reviewed by Anders Carlsson.
739
740         In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
741         picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
742         to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
743         doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
744         avoiding the ambiguity.
745
746         * Misc/WebGeolocationCoreLocationProvider.mm:
747         (-[WebGeolocationCoreLocationProvider createLocationManager]):
748
749 2014-12-06  Anders Carlsson  <andersca@apple.com>
750
751         Fix build with newer versions of clang.
752         rdar://problem/18978687
753
754         Cast the result of +alloc to the right type.
755
756         * Misc/WebGeolocationCoreLocationProvider.mm:
757         (-[WebGeolocationCoreLocationProvider createLocationManager]):
758         * WebCoreSupport/WebSelectionRect.m:
759         (+[WebSelectionRect selectionRect]):
760
761 2014-11-20  Benjamin Poulain  <bpoulain@apple.com>
762
763         Remove the remaining vestiges of minimal-ui
764         https://bugs.webkit.org/show_bug.cgi?id=138890
765
766         Reviewed by Sam Weinig.
767
768         * WebCoreSupport/WebChromeClientIOS.mm:
769         (dictionaryForViewportArguments):
770         * WebKit.iOS.exp:
771
772 2014-11-19  Daniel Bates  <dabates@apple.com>
773
774         [iOS] Make WebKit build with public iOS SDK
775         https://bugs.webkit.org/show_bug.cgi?id=136863
776
777         Reviewed by David Kilzer.
778
779         * Misc/WebGeolocationCoreLocationProvider.mm:  Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
780         * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
781         * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
782
783 2014-11-14  Daniel Bates  <dabates@apple.com>
784
785         [iOS] CoreGraphics SPI not available in public SDK
786         https://bugs.webkit.org/show_bug.cgi?id=138709
787
788         Reviewed by David Kilzer.
789
790         Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
791
792         * WebCoreSupport/WebFixedPositionContent.mm:
793
794 2014-10-20  Andy Estes  <aestes@apple.com>
795
796         Fix the iOS build.
797
798         * WebCoreSupport/WebFrameIOS.mm:
799         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
800         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
801         * WebCoreSupport/WebVisiblePosition.mm:
802         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
803         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
804
805 2014-10-15  Chris Dumez  <cdumez@apple.com>
806
807         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
808         https://bugs.webkit.org/show_bug.cgi?id=137727
809
810         Reviewed by Darin Adler.
811
812         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
813
814         * WebCoreSupport/WebVisiblePosition.mm:
815         (-[DOMHTMLInputElement startPosition]):
816         (-[DOMHTMLInputElement endPosition]):
817         (-[DOMHTMLTextAreaElement startPosition]):
818         (-[DOMHTMLTextAreaElement endPosition]):
819
820 2014-10-03  Tim Horton  <timothy_horton@apple.com>
821
822         REGRESSION (r165896): UIWebView PDFs have a forced black background
823         https://bugs.webkit.org/show_bug.cgi?id=137387
824         <rdar://problem/17948411>
825
826         Reviewed by David Kilzer.
827
828         * WebView/WebPDFViewPlaceholder.h:
829         * WebView/WebPDFViewPlaceholder.mm:
830         (-[WebPDFViewPlaceholder layout]):
831         Remove an ill-advised attempt to force the PDF background color from WebKit.
832         The idea was that we would maintain Safari's black background except if there
833         were no pages in the PDF, in which case we would use white instead to avoid
834         having an all-black view. However, this broke clients who didn't want a black
835         background, because we were now forcing it to black. Also, we don't need to
836         maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
837         This wasn't an important part of the patch, in any case.
838
839 2014-10-03  Tim Horton  <timothy_horton@apple.com>
840
841         REGRESSION (r173265): UIWebView PDF loading is completely broken
842         https://bugs.webkit.org/show_bug.cgi?id=137386
843         <rdar://problem/18524717>
844
845         Reviewed by David Kilzer.
846
847         * WebView/WebPDFViewPlaceholder.h:
848         * WebView/WebPDFViewPlaceholder.mm:
849         (-[WebPDFViewPlaceholder layout]):
850         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
851         Restore important code that creates the CGDataProvider and sets _didFinishLoad
852         and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
853         removed in the aforementioned revision.
854
855 2014-10-01  Christophe Dumez  <cdumez@apple.com>
856
857         Have is<>(T*) function do a null check on the pointer argument
858         https://bugs.webkit.org/show_bug.cgi?id=137333
859
860         Reviewed by Gavin Barraclough.
861
862         Have is<>(T*) function do a null check on the argument instead of a
863         simple assertion. This makes sense for 2 reasons:
864         1. It is more consistent with downcast<>(T*), which will succeed even
865            if the argument is a nullptr.
866         2. It simplifies the code a bit as it gets rid of a lot of explicit
867            null checks.
868
869         * WebCoreSupport/WebChromeClientIOS.mm:
870         (WebChromeClientIOS::focusedElementChanged):
871
872 2014-09-29  Daniel Bates  <dabates@apple.com>
873
874         [iOS] Remove CoreLocation workaround
875         https://bugs.webkit.org/show_bug.cgi?id=137198
876
877         Reviewed by Dan Bernstein.
878
879         Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
880         committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
881
882         * Misc/WebGeolocationCoreLocationProvider.mm:
883         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
884         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
885
886 2014-09-24  Daniel Bates  <dabates@apple.com>
887
888         [iOS] Another iOS build fix; workaround for CoreLocation
889         https://bugs.webkit.org/show_bug.cgi?id=137104
890         <rdar://problem/18450785>
891
892         Rubber-stamped by Benjamin Poulain.
893
894         Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
895         and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
896         We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
897
898         * Misc/WebGeolocationCoreLocationProvider.mm:
899         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
900         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
901
902 2014-09-24  Daniel Bates  <dabates@apple.com>
903
904         [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
905         https://bugs.webkit.org/show_bug.cgi?id=137101
906         <rdar://problem/18449815>
907
908         Reviewed by Mark Lam.
909
910         * Misc/WebGeolocationCoreLocationProvider.mm:
911         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
912         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
913
914 2014-09-24  Christophe Dumez  <cdumez@apple.com>
915
916         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
917         https://bugs.webkit.org/show_bug.cgi?id=137068
918
919         Reviewed by Ryosuke Niwa.
920
921         Start using is<HTML*Element>() instead of isHTML*Element().
922         Remaining usages will be updated in a follow-up patch to
923         reduce the size of the change.
924
925         * WebCoreSupport/WebChromeClientIOS.mm:
926         (WebChromeClientIOS::focusedElementChanged):
927
928 2014-09-21  Timothy Hatcher  <timothy@apple.com>
929
930         Make the Web Inspector use a separate web process.
931
932         https://bugs.webkit.org/show_bug.cgi?id=135120
933
934         Reviewed by Anders Carlsson.
935
936         * WebCoreSupport/WebInspectorClientIOS.mm:
937         (WebInspectorClient::WebInspectorClient):
938         Removed m_frontendClient initialization since it is
939         now a std::unique_ptr that defaults to nullptr.
940
941 2014-09-23  Chris Dumez  <cdumez@apple.com>
942
943         Use downcast<HTML*Element>() instead of toHTML*Element()
944         https://bugs.webkit.org/show_bug.cgi?id=137007
945
946         Reviewed by Benjamin Poulain.
947
948         Use downcast<HTML*Element>() instead of toHTML*Element().
949
950         * WebCoreSupport/WebChromeClientIOS.mm:
951         (WebChromeClientIOS::focusedElementChanged):
952
953 2014-09-17  Daniel Bates  <dabates@apple.com>
954
955         Unreviewed, rolling out r173695.
956
957         Broke building third-party Legacy WebKit apps; will
958         investigate offline
959
960         Reverted changeset:
961
962         "[iOS] Make WebCore build with public iOS SDK"
963         https://bugs.webkit.org/show_bug.cgi?id=136487
964         http://trac.webkit.org/changeset/173695
965
966 2014-09-17  Daniel Bates  <dabates@apple.com>
967
968         [iOS] Make WebCore build with public iOS SDK
969         https://bugs.webkit.org/show_bug.cgi?id=136487
970
971         Reviewed by David Kilzer.
972
973         Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
974
975         * WebCoreSupport/WebFixedPositionContent.mm:
976
977 2014-09-05  Simon Fraser  <simon.fraser@apple.com>
978
979         Remove some PLATFORM(IOS) code in Color.h/cpp
980         https://bugs.webkit.org/show_bug.cgi?id=136582
981
982         Reviewed by Dan Bates.
983         
984         createCGColorWithDeviceWhite() is only used here so make it a local static function.
985
986         * WebView/WebPDFViewIOS.mm:
987         (createCGColorWithDeviceWhite):
988
989 2014-09-04  Pratik Solanki  <psolanki@apple.com>
990
991         Remove iOS specific disk image cache
992         https://bugs.webkit.org/show_bug.cgi?id=136517
993
994         Reviewed by Antti Koivisto.
995
996         Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
997         this now since we don't enable it in WebKit2 on iOS.
998
999         * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
1000         * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
1001         * WebView/WebPDFViewPlaceholder.mm:
1002         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
1003         (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
1004         (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
1005
1006 2014-08-31  Tim Horton  <timothy_horton@apple.com>
1007
1008         Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
1009         https://bugs.webkit.org/show_bug.cgi?id=136416
1010
1011         Reviewed by Dan Bernstein.
1012
1013         * WebView/WebPDFViewIOS.mm:
1014         (-[WebPDFView drawPage:]):
1015         (-[WebPDFView drawRect:]):
1016         * WebView/WebPlainWhiteView.mm:
1017         We only end up filling, so only set the fill color.
1018
1019 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
1020
1021         Implement paint flashing in the WK1 InspectorOverlay page
1022         https://bugs.webkit.org/show_bug.cgi?id=136138
1023
1024         Reviewed by Sam Weinig, Joseph Pecoraro.
1025
1026         Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
1027         We avoid allocating backing store for this canvas until we have paint rects.
1028         
1029         Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
1030         an array of rects, and pushes them to the page when they change, before forcing a paint.
1031         
1032         Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
1033         WebKit WebInspectorClient, but don't yet implement paint flashing there.
1034
1035         * WebCoreSupport/WebInspectorClientIOS.mm:
1036         (WebInspectorClient::setShowPaintRects):
1037         (WebInspectorClient::showPaintRect):
1038
1039 2014-08-18  Andy Estes  <aestes@apple.com>
1040
1041         Fix the iOS build after  r172709.
1042
1043         * WebView/WebPDFViewPlaceholder.mm:
1044         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1045
1046 2014-07-03  Daniel Bates  <dabates@apple.com>
1047
1048         Add WTF::move()
1049         https://bugs.webkit.org/show_bug.cgi?id=134500
1050
1051         Rubber-stamped by Anders Carlsson.
1052
1053         Substitute WTF::move() for std::move().
1054
1055         * WebCoreSupport/WebFixedPositionContent.mm:
1056         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1057         * WebCoreSupport/WebInspectorClientIOS.mm:
1058         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1059
1060 2014-07-01  Alex Christensen  <achristensen@webkit.org>
1061
1062         [iOS] Compile fix with pointer lock enabled.
1063         https://bugs.webkit.org/show_bug.cgi?id=134472
1064
1065         Reviewed by Pratik Solanki.
1066
1067         * WebView/WebPDFViewPlaceholder.mm:
1068         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1069         Add parameters required for pointer lock.
1070
1071 2014-06-05  Benjamin Poulain  <bpoulain@apple.com>
1072
1073         [iOS][WK2] Add device orientation
1074         https://bugs.webkit.org/show_bug.cgi?id=133530
1075
1076         Reviewed by Tim Horton.
1077
1078         Change WebKit1 to provide the deviceOrientation as pull instead of push.
1079
1080         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1081         (-[WebDefaultUIKitDelegate deviceOrientation]):
1082         * WebCoreSupport/WebChromeClientIOS.h:
1083         * WebCoreSupport/WebChromeClientIOS.mm:
1084         (WebChromeClientIOS::deviceOrientation):
1085         * WebView/WebUIKitDelegate.h:
1086
1087 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
1088
1089         [iOS] Switch geolocation to an explicit authorization query model
1090         https://bugs.webkit.org/show_bug.cgi?id=132717
1091         <rdar://problem/16762390>
1092
1093         Reviewed by Sam Weinig.
1094
1095         WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
1096
1097         The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
1098         The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
1099         listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
1100
1101         We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
1102         before invoking "start".
1103         If "start" is called and the authorization is not granted, we assume geolocation was reset since
1104         the last time authorization was requested, and we reset the client.
1105
1106
1107         WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
1108         to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
1109
1110         * Misc/WebGeolocationCoreLocationProvider.h:
1111         * Misc/WebGeolocationCoreLocationProvider.mm:
1112         (-[WebGeolocationCoreLocationProvider createLocationManager]):
1113         (-[WebGeolocationCoreLocationProvider dealloc]):
1114         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1115         (isAuthorizationGranted):
1116         (-[WebGeolocationCoreLocationProvider start]):
1117         (-[WebGeolocationCoreLocationProvider stop]):
1118         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1119         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
1120         (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
1121         * Misc/WebGeolocationProviderIOS.mm:
1122         (-[WebGeolocationProviderIOS suspend]):
1123         (-[WebGeolocationProviderIOS resume]):
1124         (-[WebGeolocationProviderIOS registerWebView:]):
1125         (-[WebGeolocationProviderIOS unregisterWebView:]):
1126         (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
1127         (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
1128         (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
1129         (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
1130         (-[WebGeolocationProviderIOS stopTrackingWebView:]):
1131         (-[WebGeolocationProviderIOS resetGeolocation]):
1132         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
1133         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
1134         (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
1135         (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
1136         (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
1137         (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
1138         (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
1139         (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
1140         (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
1141         (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
1142         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
1143         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
1144
1145 2014-04-30  Anders Carlsson  <andersca@apple.com>
1146
1147         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
1148         https://bugs.webkit.org/show_bug.cgi?id=132399
1149         <rdar://problem/15920046>
1150
1151         Reviewed by Dan Bernstein.
1152
1153         Import WebKitLegacy headers instead of WebKit headers.
1154         
1155         * DefaultDelegates/WebDefaultFormDelegate.h:
1156         * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
1157         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
1158         * DefaultDelegates/WebDefaultUIKitDelegate.h:
1159         * Misc/WebGeolocationProviderIOS.h:
1160         * Misc/WebNSStringExtrasIPhone.h:
1161         * WebCoreSupport/WebFrameIOS.h:
1162         * WebCoreSupport/WebFrameIOS.mm:
1163         * WebCoreSupport/WebFrameIPhone.h:
1164         * WebCoreSupport/WebSelectionRect.h:
1165         * WebCoreSupport/WebVisiblePosition.h:
1166         * WebView/WebPDFViewIOS.h:
1167         * WebView/WebPDFViewIOS.mm:
1168         * WebView/WebPDFViewIPhone.h:
1169         * WebView/WebPDFViewPlaceholder.h:
1170         * WebView/WebPDFViewPlaceholder.mm:
1171         * WebView/WebPlainWhiteView.h:
1172         * WebView/WebUIKitDelegate.h:
1173
1174 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
1175
1176         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
1177         https://bugs.webkit.org/show_bug.cgi?id=132110
1178
1179         Reviewed by Tim Horton.
1180
1181         Updates callers to use '.' instead of '->'.
1182
1183         No new tests are necessary because there should be no behavior change.
1184
1185         * Misc/EmojiFallbackFontSelector.cpp:
1186         (EmojiFallbackFontSelector::getFallbackFontData):
1187
1188 2014-04-17  Daniel Bates  <dabates@apple.com>
1189
1190         [iOS] Hook up screen.{availHeight, availWidth, height, width}
1191         https://bugs.webkit.org/show_bug.cgi?id=131821
1192         <rdar://problem/16413795>
1193
1194         Reviewed by Benjamin Poulain and Tim Horton.
1195
1196         Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
1197
1198         Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
1199
1200         * WebCoreSupport/WebChromeClientIOS.h:
1201         * WebCoreSupport/WebChromeClientIOS.mm:
1202         (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
1203         (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
1204         should consult it's associated WAKWindow for the available screen size.
1205
1206 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
1207
1208         Rename Clipboard to DataTransfer
1209         https://bugs.webkit.org/show_bug.cgi?id=131371
1210
1211         Reviewed by Anders Carlsson.
1212
1213         * WebView/WebPDFViewPlaceholder.mm:
1214
1215 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
1216
1217         [iOS] Remove the legacy string drawing code
1218         https://bugs.webkit.org/show_bug.cgi?id=131088
1219
1220         Reviewed by Sam Weinig.
1221
1222         * Misc/WebNSStringDrawing.h: Removed.
1223         * Misc/WebNSStringDrawing.mm: Removed.
1224         * Misc/WebUIKitSupport.h:
1225
1226 2014-04-02  Mark Rowe  <mrowe@apple.com>
1227
1228         Build fix after r166684.
1229
1230         * WebView/WebPDFViewPlaceholder.mm:
1231         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1232
1233 2014-03-31  Anders Carlsson  <andersca@apple.com>
1234
1235         Fix iOS build.
1236
1237         * WebCoreSupport/WebChromeClientIOS.h:
1238         * WebCoreSupport/WebChromeClientIOS.mm:
1239         * WebCoreSupport/WebFixedPositionContent.mm:
1240         * WebCoreSupport/WebFixedPositionContentInternal.h:
1241
1242 2014-03-30  Dan Bernstein  <mitz@apple.com>
1243
1244         Tried to fix the iOS build.
1245
1246         * Misc/WebGeolocationCoreLocationProvider.mm:
1247         (-[WebGeolocationCoreLocationProvider start]):
1248         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1249
1250 2014-03-27  Enrica Casucci  <enrica@apple.com>
1251
1252         Add support for AirPlay picker for iOS.
1253         https://bugs.webkit.org/show_bug.cgi?id=130876
1254         <rdar://problem/15349859>
1255
1256         Reviewed by Benjamin Poulain.
1257
1258         Adds support for the AirPlay picker for WebKit.
1259         The actual picker is implemented in UIKit.
1260
1261         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1262         (-[WebDefaultUIKitDelegate interactionLocation]):
1263         (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
1264         * WebCoreSupport/WebChromeClientIOS.mm:
1265         (WebChromeClientIOS::showPlaybackTargetPicker):
1266         * WebCoreSupport/WebFrameIOS.h:
1267         * WebCoreSupport/WebFrameIOS.mm:
1268         (-[WebFrame elementRectAtPoint:]):
1269         * WebView/WebUIKitDelegate.h:
1270
1271 2014-03-27  Enrica Casucci  <enrica@apple.com>
1272
1273         Add support for AirPlay picker in WK2 for iOS.
1274         https://bugs.webkit.org/show_bug.cgi?id=130855
1275         <rdar://problem/15349859>
1276
1277         Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
1278
1279         Adds stub for new WebKit chrome client method.
1280
1281         * WebCoreSupport/WebChromeClientIOS.h:
1282         * WebCoreSupport/WebChromeClientIOS.mm:
1283         (WebChromeClientIOS::showAirPlayRoutePicker):
1284
1285 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
1286
1287         [iOS] Inspector View Indication Support
1288         https://bugs.webkit.org/show_bug.cgi?id=130709
1289
1290         Reviewed by Simon Fraser.
1291
1292         * WebCoreSupport/WebInspectorClientIOS.mm:
1293         (WebInspectorClient::showInspectorIndication):
1294         (WebInspectorClient::hideInspectorIndication):
1295         Renamed methods.
1296
1297 2014-03-22  Darin Adler  <darin@apple.com>
1298
1299         Remove String::deprecatedCharacters
1300         https://bugs.webkit.org/show_bug.cgi?id=126854
1301
1302         Reviewed by Sam Weinig.
1303
1304         * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
1305         * Misc/WebNSStringDrawing.mm:
1306         (+[NSString _web_setWordRoundingEnabled:]):
1307         (+[NSString _web_wordRoundingEnabled]):
1308         (+[NSString _web_setWordRoundingAllowed:]):
1309         (+[NSString _web_wordRoundingAllowed]):
1310         (+[NSString _web_setAscentRoundingEnabled:]):
1311         (+[NSString _web_ascentRoundingEnabled]):
1312         (-[NSString _web_drawAtPoint:withFont:]):
1313         (-[NSString _web_sizeWithFont:]):
1314         (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
1315         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
1316         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
1317         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
1318         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
1319         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
1320         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
1321         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
1322         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
1323         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
1324         (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
1325         (-[NSString _web_sizeInRect:withFont:ellipsis:]):
1326         (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
1327         (-[NSString _web_sizeForWidth:withAttributes:]):
1328         (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
1329         (-[NSString _web_sizeInRect:withAttributes:]):
1330         (-[NSString _web_drawInRect:withAttributes:]):
1331         Emptied out all these functions since callers aren't really using them any more.
1332
1333 2014-03-21  Tim Horton  <timothy_horton@apple.com>
1334
1335         Always retrieve the screen scale factor from WKSI
1336         <rdar://problem/16329679>
1337
1338         Reviewed by Sam Weinig.
1339
1340         * Misc/WebUIKitSupport.mm:
1341         (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
1342
1343 2014-03-19  Tim Horton  <timothy_horton@apple.com>
1344
1345         [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
1346         https://bugs.webkit.org/show_bug.cgi?id=130444
1347         <rdar://problem/15580682>
1348
1349         Reviewed by Sam Weinig.
1350
1351         * WebView/WebPDFViewPlaceholder.h:
1352         * WebView/WebPDFViewPlaceholder.mm:
1353         (-[WebPDFViewPlaceholder layout]):
1354         Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
1355         which is confusing.
1356
1357         Don't divide by zero if we have no pages, instead return an empty bounding size.
1358
1359         (-[WebPDFViewPlaceholder _computePageRects:]):
1360         If we have an empty document, set the background color to white.
1361         Otherwise, set it to black. It's not clear that black is the ideal
1362         background color, but this retains existing behavior.
1363
1364 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
1365
1366         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1367         https://bugs.webkit.org/show_bug.cgi?id=130276
1368         <rdar://problem/16266927>
1369         
1370         Reviewed by Simon Fraser.
1371
1372         * WebCoreSupport/WebCaretChangeListener.h:
1373         * WebCoreSupport/WebInspectorClientIOS.mm:
1374         * WebView/WebPlainWhiteView.h:
1375         * WebView/WebPlainWhiteView.mm:
1376
1377 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
1378
1379         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
1380         https://bugs.webkit.org/show_bug.cgi?id=129612
1381
1382         Reviewed by Darin Adler.
1383
1384         For new code use static NeverDestroyed<T> instead.
1385
1386         * Misc/EmojiFallbackFontSelector.cpp:
1387         (EmojiFallbackFontSelector::getFallbackFontData):
1388         * WebCoreSupport/WebFixedPositionContent.mm:
1389         (WebFixedPositionContentDataLock):
1390
1391 2014-03-13  Benjamin Poulain  <bpoulain@apple.com>
1392
1393         The viewport code should not depend on WebKitSystemInterface
1394         https://bugs.webkit.org/show_bug.cgi?id=130218
1395
1396         Reviewed by Tim Horton.
1397
1398         * WebCoreSupport/WebChromeClientIOS.h:
1399         * WebCoreSupport/WebChromeClientIOS.mm:
1400         (WebChromeClientIOS::viewportScreenSize):
1401         Get the viewport size from WebKitSystemInterface.
1402
1403 2014-03-12  Enrica Casucci  <enrica@apple.com>
1404
1405         Incorrect reference counting of Range in WebFrame.
1406         https://bugs.webkit.org/show_bug.cgi?id=130160
1407         <rdar://problem/16282535>
1408
1409         Reviewed by Anders Carlsson.
1410
1411         * WebCoreSupport/WebFrameIOS.mm:
1412         (-[WebFrame selectionRects]):
1413
1414 2014-03-12  Simon Fraser  <simon.fraser@apple.com>
1415
1416         Spelling is hard
1417         https://bugs.webkit.org/show_bug.cgi?id=130146
1418
1419         Reviewed by Beth Dakin.
1420         
1421         Fix spelling (constained -> constrained).
1422
1423         * WebCoreSupport/WebFixedPositionContent.mm:
1424         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1425         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
1426         (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
1427         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
1428         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
1429
1430 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
1431
1432         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
1433         https://bugs.webkit.org/show_bug.cgi?id=128681
1434
1435         Reviewed by Timothy Hatcher.
1436
1437         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
1438         WebCore/inspector/*. Besides files in there, a few other files in
1439         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
1440         and WebCore/testing were touched.
1441
1442         * WebCoreSupport/WebInspectorClientIOS.mm:
1443
1444 2014-02-12  Benjamin Poulain  <bpoulain@apple.com>
1445
1446         [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
1447         https://bugs.webkit.org/show_bug.cgi?id=128639
1448
1449         Reviewed by Andreas Kling.
1450
1451         * WebCoreSupport/WebChromeClientIOS.h:
1452         * WebCoreSupport/WebChromeClientIOS.mm:
1453         (WebChromeClientIOS::didReceiveMobileDocType):
1454
1455 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
1456
1457         Build fix after r163739.
1458
1459         * WebCoreSupport/WebFrameIOS.mm:
1460         (-[WebFrame collapseSelection]):
1461         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1462
1463 2014-02-03  Dan Bernstein  <mitz@apple.com>
1464
1465         More iOS build fixing.
1466
1467         * Misc/WebNSStringDrawing.mm:
1468         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1469         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1470
1471 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1472
1473         Remove inline member functions of FrameSelection that access m_selection
1474         https://bugs.webkit.org/show_bug.cgi?id=127986
1475
1476         Reviewed by Enrica Casucci.
1477
1478         * WebCoreSupport/WebFrameIOS.mm:
1479         (-[WebFrame extendSelection:]):
1480         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1481         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1482         (-[WebFrame expandSelectionToSentence]):
1483         (-[WebFrame setBaseWritingDirection:]):
1484         (-[WebFrame smartExtendRangedSelection:]):
1485
1486 2014-01-30  Andrei Bucur  <abucur@adobe.com>
1487
1488         Remove the ACCELERATED_COMPOSITING flag
1489         https://bugs.webkit.org/show_bug.cgi?id=127833
1490
1491         Reviewed by Antti Koivisto.
1492
1493         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
1494         mandatory.
1495
1496         * WebCoreSupport/WebChromeClientIOS.h:
1497         * WebCoreSupport/WebChromeClientIOS.mm:
1498         (WebChromeClientIOS::attachRootGraphicsLayer):
1499         * WebView/WebUIKitDelegate.h:
1500
1501 2014-01-27  Joseph Pecoraro  <pecoraro@apple.com>
1502
1503         Unreviewed iOS build fix. FALLTHROUGHs for iOS.
1504
1505         * Misc/WebNSStringDrawing.mm:
1506         (needsBidiLayout):
1507
1508 2014-01-27  Andy Estes  <aestes@apple.com>
1509
1510         Scrub WebKit API headers of WTF macros
1511         https://bugs.webkit.org/show_bug.cgi?id=127706
1512
1513         Reviewed by David Kilzer.
1514
1515         * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
1516         TARGET_OS_IPHONE.
1517
1518 2014-01-15  Sam Weinig  <sam@webkit.org>
1519
1520         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
1521         https://bugs.webkit.org/show_bug.cgi?id=126856
1522
1523         Reviewed by Ryosuke Niwa.
1524
1525         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
1526         now unnecessary up-conversions to UTF-16 in the process.
1527
1528         * Misc/WebNSStringDrawing.mm:
1529
1530 2014-01-16  Anders Carlsson  <andersca@apple.com>
1531
1532         Change all uses of FINAL to final now that all our compilers support it
1533         https://bugs.webkit.org/show_bug.cgi?id=127142
1534
1535         Reviewed by Benjamin Poulain.
1536
1537         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1538
1539 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1540
1541         Remove workaround for compilers not supporting explicit override control
1542         https://bugs.webkit.org/show_bug.cgi?id=127111
1543
1544         Reviewed by Anders Carlsson.
1545
1546         Now all compilers support explicit override control, this workaround can be removed.
1547
1548         * Misc/EmojiFallbackFontSelector.h:
1549         * Storage/WebSQLiteDatabaseTrackerClient.h:
1550         * WebCoreSupport/PopupMenuIOS.h:
1551         * WebCoreSupport/SearchPopupMenuIOS.h:
1552         * WebCoreSupport/WebChromeClientIOS.h:
1553         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1554
1555 2014-01-16  Andy Estes  <aestes@apple.com>
1556
1557         [iOS] Fix build issues with exported headers
1558
1559         * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
1560         TARGET_OS_IPHONE.
1561
1562 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1563
1564         Avoid PLATFORM() macros in exported headers.
1565
1566         * WebView/WebPDFViewPlaceholder.h:
1567
1568 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1569
1570         Clean up exports and headers for iOS.
1571
1572         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
1573         * WebCoreSupport/WebFrameIOS.h: Ditto.
1574         * WebCoreSupport/WebSelectionRect.h: Ditto.
1575
1576 2014-01-14  Dean Jackson  <dino@apple.com>
1577
1578         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
1579
1580         * WebKit.iOS.exp:
1581
1582 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1583
1584         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
1585
1586         * WebCoreSupport/WebInspectorClientIOS.mm:
1587         (WebInspectorClient::indicate):
1588         (WebInspectorClient::hideIndication):
1589
1590 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
1591
1592         More work towards getting iOS WK1 building.
1593
1594         * WebCoreSupport/WebFrameIOS.mm:
1595         (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
1596         function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
1597
1598 2014-01-12  Darin Adler  <darin@apple.com>
1599
1600         Add type checking to isEqual methods
1601         https://bugs.webkit.org/show_bug.cgi?id=126862
1602
1603         Reviewed by Anders Carlsson.
1604
1605         * WebCoreSupport/WebVisiblePosition.mm:
1606         (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
1607         Add a FIXME about the lack of a hash method override. Simplified by
1608         removing the unneeded local variables.
1609
1610 2014-01-02  Andy Estes  <aestes@apple.com>
1611
1612         [iOS] Upstream remainder of minimal-ui viewport changes
1613         https://bugs.webkit.org/show_bug.cgi?id=126410
1614
1615         Reviewed by Sam Weinig.
1616
1617         * WebCoreSupport/WebChromeClientIOS.mm:
1618         (dictionaryForViewportArguments):
1619         * WebKit.iOS.exp:
1620
1621 2013-12-31  Andy Estes  <aestes@apple.com>
1622
1623         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1624         https://bugs.webkit.org/show_bug.cgi?id=125746
1625
1626         Reviewed by David Kilzer.
1627
1628         * WebCoreSupport/WebVisiblePosition.mm:
1629         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1630         to mention iOS rather than iPhone.
1631
1632 2013-12-27  Daniel Bates  <dabates@apple.com>
1633
1634         [iOS] Upstream WebCore/page changes
1635         https://bugs.webkit.org/show_bug.cgi?id=126180
1636
1637         Reviewed by Darin Adler.
1638
1639         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1640
1641 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
1642
1643         Consolidate various frame snapshot capabilities.
1644         https://bugs.webkit.org/show_bug.cgi?id=124325
1645
1646         Reviewed by Darin Adler.
1647
1648         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1649
1650 2013-12-04  Andy Estes  <aestes@apple.com>
1651
1652         [iOS] Upstream build fixes in Source/WebKit/ios/
1653         https://bugs.webkit.org/show_bug.cgi?id=125230
1654
1655         Reviewed by Sam Weinig.
1656
1657         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1658         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1659         * Misc/WebNSStringDrawing.mm:
1660         (needsBidiLayout):
1661         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1662         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1663         * Misc/WebUIKitSupport.mm:
1664         (WebKitInitialize):
1665         * WebCoreSupport/WebChromeClientIOS.h:
1666         * WebCoreSupport/WebChromeClientIOS.mm:
1667         (WebChromeClientIOS::didReceiveMobileDocType):
1668         (WebChromeClientIOS::focusedElementChanged):
1669         * WebCoreSupport/WebFrameIOS.mm:
1670         (-[WebFrame clearSelection]):
1671         (-[WebFrame selectionState]):
1672         (-[WebFrame collapseSelection]):
1673         (-[WebFrame extendSelection:]):
1674         (-[WebFrame selectionRects]):
1675         (-[WebFrame setRangedSelectionWithExtentPoint:]):
1676         (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1677         (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1678         (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1679         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1680         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1681         (-[WebFrame expandSelectionToSentence]):
1682         (-[WebFrame setBaseWritingDirection:]):
1683         (-[WebFrame moveSelectionToStart]):
1684         (-[WebFrame moveSelectionToEnd]):
1685         (-[WebFrame moveSelectionToPoint:]):
1686         (-[WebFrame setSelectionGranularity:]):
1687         (-[WebFrame smartExtendRangedSelection:]):
1688         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1689         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1690         * WebCoreSupport/WebInspectorClientIOS.mm:
1691         (WebInspectorClient::WebInspectorClient):
1692         (WebInspectorClient::didSetSearchingForNode):
1693         (WebInspectorClient::setupRemoteConnection):
1694         (WebInspectorClient::teardownRemoteConnection):
1695         * WebCoreSupport/WebVisiblePosition.mm:
1696         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1697         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1698         (-[DOMHTMLInputElement startPosition]):
1699         (-[DOMHTMLInputElement endPosition]):
1700         (-[DOMHTMLTextAreaElement startPosition]):
1701         (-[DOMHTMLTextAreaElement endPosition]):
1702         * WebView/WebPDFViewIOS.mm:
1703         (+[WebPDFView shadowColor]):
1704         (+[WebPDFView backgroundColor]):
1705         (-[WebPDFView _checkPDFTitle]):
1706         * WebView/WebPDFViewPlaceholder.mm:
1707         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1708         * WebView/WebUIKitDelegate.h:
1709
1710 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
1711
1712         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1713         https://bugs.webkit.org/show_bug.cgi?id=124613
1714
1715         Reviewed by Timothy Hatcher.
1716
1717         * WebCoreSupport/WebInspectorClientIOS.mm:
1718         (WebInspectorClient::WebInspectorClient):
1719         (WebInspectorClient::inspectorDestroyed):
1720
1721 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
1722
1723         Typo: FixedPositionConstaint -> FixedPositionConstraint
1724         https://bugs.webkit.org/show_bug.cgi?id=125171
1725
1726         Reviewed by Simon Fraser.
1727
1728         * WebCoreSupport/WebFixedPositionContent.mm:
1729         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1730
1731 2013-11-18  Commit Queue  <commit-queue@webkit.org>
1732
1733         Unreviewed, rolling out r159455.
1734         http://trac.webkit.org/changeset/159455
1735         https://bugs.webkit.org/show_bug.cgi?id=124568
1736
1737         broke two api tests (see bug 124564) (Requested by thorton on
1738         #webkit).
1739
1740         * WebCoreSupport/WebFrameIOS.mm:
1741
1742 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
1743
1744         Consolidate various frame snapshot capabilities.
1745         https://bugs.webkit.org/show_bug.cgi?id=124325
1746
1747         Reviewed by Timothy Hatcher.
1748
1749         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1750
1751 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
1752
1753         Remove a PLATFORM(IOS) from WebKit Private Header
1754         https://bugs.webkit.org/show_bug.cgi?id=124014
1755
1756         Reviewed by Timothy Hatcher.
1757
1758         * WebKit.iOS.exp:
1759
1760 2013-10-29  Andy Estes  <aestes@apple.com>
1761
1762         [iOS] Upstream Source/WebKit/ios/
1763         https://bugs.webkit.org/show_bug.cgi?id=123470
1764
1765         Reviewed by Sam Weinig.
1766
1767         * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1768         * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1769         * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1770         * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1771         * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1772         * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1773         * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1774         * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1775         * Misc/EmojiFallbackFontSelector.cpp: Added.
1776         * Misc/EmojiFallbackFontSelector.h: Added.
1777         * Misc/MemoryMeasure.h: Added.
1778         * Misc/MemoryMeasure.mm: Added.
1779         * Misc/WebGeolocationCoreLocationProvider.h: Added.
1780         * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1781         * Misc/WebGeolocationProviderIOS.h: Added.
1782         * Misc/WebGeolocationProviderIOS.mm: Added.
1783         * Misc/WebNSStringDrawing.h: Added.
1784         * Misc/WebNSStringDrawing.mm: Added.
1785         * Misc/WebNSStringExtrasIOS.h: Added.
1786         * Misc/WebNSStringExtrasIOS.m: Added.
1787         * Misc/WebNSStringExtrasIPhone.h: Added.
1788         * Misc/WebUIKitSupport.h: Added.
1789         * Misc/WebUIKitSupport.mm: Added.
1790         * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1791         * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1792         * WebCoreSupport/PopupMenuIOS.h: Added.
1793         * WebCoreSupport/PopupMenuIOS.mm: Added.
1794         * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1795         * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1796         * WebCoreSupport/WebCaretChangeListener.h: Added.
1797         * WebCoreSupport/WebChromeClientIOS.h: Added.
1798         * WebCoreSupport/WebChromeClientIOS.mm: Added.
1799         * WebCoreSupport/WebFixedPositionContent.h: Added.
1800         * WebCoreSupport/WebFixedPositionContent.mm: Added.
1801         * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1802         * WebCoreSupport/WebFrameIOS.h: Added.
1803         * WebCoreSupport/WebFrameIOS.mm: Added.
1804         * WebCoreSupport/WebFrameIPhone.h: Added.
1805         * WebCoreSupport/WebGeolocation.mm: Added.
1806         * WebCoreSupport/WebGeolocationInternal.h: Added.
1807         * WebCoreSupport/WebGeolocationPrivate.h: Added.
1808         * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1809         * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1810         * WebCoreSupport/WebSelectionRect.h: Added.
1811         * WebCoreSupport/WebSelectionRect.m: Added.
1812         * WebCoreSupport/WebVisiblePosition.h: Added.
1813         * WebCoreSupport/WebVisiblePosition.mm: Added.
1814         * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1815         * WebKit.iOS.exp: Added.
1816         * WebView/WebFrameViewWAKCompatibility.m: Added.
1817         * WebView/WebMailDelegate.h: Added.
1818         * WebView/WebPDFViewIOS.h: Added.
1819         * WebView/WebPDFViewIOS.mm: Added.
1820         * WebView/WebPDFViewIPhone.h: Added.
1821         * WebView/WebPDFViewPlaceholder.h: Added.
1822         * WebView/WebPDFViewPlaceholder.mm: Added.
1823         * WebView/WebPlainWhiteView.h: Added.
1824         * WebView/WebPlainWhiteView.mm: Added.
1825         * WebView/WebUIKitDelegate.h: Added.
1826
1827 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
1828
1829         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1830         https://bugs.webkit.org/show_bug.cgi?id=123111
1831
1832         Reviewed by Timothy Hatcher.
1833
1834         iOS does not have a local inspector, only remote. So give it a custom
1835         implementation separate from the WebKit/mac WebInspectorClient
1836         implementation which handles an attaching/detaching local inspector.
1837
1838         * WebKit.xcodeproj/project.pbxproj:
1839         * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1840         (WebInspectorClient::WebInspectorClient):
1841         (WebInspectorClient::inspectorDestroyed):
1842         (WebInspectorClient::openInspectorFrontend):
1843         (WebInspectorClient::bringFrontendToFront):
1844         (WebInspectorClient::closeInspectorFrontend):
1845         (WebInspectorClient::didResizeMainFrame):
1846         (WebInspectorClient::highlight):
1847         (WebInspectorClient::hideHighlight):
1848         (WebInspectorClient::didSetSearchingForNode):
1849         (WebInspectorClient::sendMessageToFrontend):
1850         (WebInspectorClient::sendMessageToBackend):
1851         (WebInspectorClient::setupRemoteConnection):
1852         (WebInspectorClient::teardownRemoteConnection):
1853         (WebInspectorClient::hasLocalSession):
1854         (WebInspectorClient::canBeRemotelyInspected):
1855         (WebInspectorClient::inspectedWebView):
1856         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1857         (WebInspectorFrontendClient::attachAvailabilityChanged):
1858         (WebInspectorFrontendClient::frontendLoaded):
1859         (WebInspectorFrontendClient::localizedStringsURL):
1860         (WebInspectorFrontendClient::bringToFront):
1861         (WebInspectorFrontendClient::closeWindow):
1862         (WebInspectorFrontendClient::disconnectFromBackend):
1863         (WebInspectorFrontendClient::attachWindow):
1864         (WebInspectorFrontendClient::detachWindow):
1865         (WebInspectorFrontendClient::setAttachedWindowHeight):
1866         (WebInspectorFrontendClient::setAttachedWindowWidth):
1867         (WebInspectorFrontendClient::setToolbarHeight):
1868         (WebInspectorFrontendClient::inspectedURLChanged):
1869         (WebInspectorFrontendClient::updateWindowTitle):
1870         (WebInspectorFrontendClient::save):
1871         (WebInspectorFrontendClient::append):