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