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