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