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