Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit...
[WebKit-https.git] / Source / WebKit / ios / ChangeLog
1 2014-04-30  Anders Carlsson  <andersca@apple.com>
2
3         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
4         https://bugs.webkit.org/show_bug.cgi?id=132399
5         <rdar://problem/15920046>
6
7         Reviewed by Dan Bernstein.
8
9         Import WebKitLegacy headers instead of WebKit headers.
10         
11         * DefaultDelegates/WebDefaultFormDelegate.h:
12         * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
13         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
14         * DefaultDelegates/WebDefaultUIKitDelegate.h:
15         * Misc/WebGeolocationProviderIOS.h:
16         * Misc/WebNSStringExtrasIPhone.h:
17         * WebCoreSupport/WebFrameIOS.h:
18         * WebCoreSupport/WebFrameIOS.mm:
19         * WebCoreSupport/WebFrameIPhone.h:
20         * WebCoreSupport/WebSelectionRect.h:
21         * WebCoreSupport/WebVisiblePosition.h:
22         * WebView/WebPDFViewIOS.h:
23         * WebView/WebPDFViewIOS.mm:
24         * WebView/WebPDFViewIPhone.h:
25         * WebView/WebPDFViewPlaceholder.h:
26         * WebView/WebPDFViewPlaceholder.mm:
27         * WebView/WebPlainWhiteView.h:
28         * WebView/WebUIKitDelegate.h:
29
30 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
31
32         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
33         https://bugs.webkit.org/show_bug.cgi?id=132110
34
35         Reviewed by Tim Horton.
36
37         Updates callers to use '.' instead of '->'.
38
39         No new tests are necessary because there should be no behavior change.
40
41         * Misc/EmojiFallbackFontSelector.cpp:
42         (EmojiFallbackFontSelector::getFallbackFontData):
43
44 2014-04-17  Daniel Bates  <dabates@apple.com>
45
46         [iOS] Hook up screen.{availHeight, availWidth, height, width}
47         https://bugs.webkit.org/show_bug.cgi?id=131821
48         <rdar://problem/16413795>
49
50         Reviewed by Benjamin Poulain and Tim Horton.
51
52         Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
53
54         Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
55
56         * WebCoreSupport/WebChromeClientIOS.h:
57         * WebCoreSupport/WebChromeClientIOS.mm:
58         (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
59         (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
60         should consult it's associated WAKWindow for the available screen size.
61
62 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
63
64         Rename Clipboard to DataTransfer
65         https://bugs.webkit.org/show_bug.cgi?id=131371
66
67         Reviewed by Anders Carlsson.
68
69         * WebView/WebPDFViewPlaceholder.mm:
70
71 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
72
73         [iOS] Remove the legacy string drawing code
74         https://bugs.webkit.org/show_bug.cgi?id=131088
75
76         Reviewed by Sam Weinig.
77
78         * Misc/WebNSStringDrawing.h: Removed.
79         * Misc/WebNSStringDrawing.mm: Removed.
80         * Misc/WebUIKitSupport.h:
81
82 2014-04-02  Mark Rowe  <mrowe@apple.com>
83
84         Build fix after r166684.
85
86         * WebView/WebPDFViewPlaceholder.mm:
87         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
88
89 2014-03-31  Anders Carlsson  <andersca@apple.com>
90
91         Fix iOS build.
92
93         * WebCoreSupport/WebChromeClientIOS.h:
94         * WebCoreSupport/WebChromeClientIOS.mm:
95         * WebCoreSupport/WebFixedPositionContent.mm:
96         * WebCoreSupport/WebFixedPositionContentInternal.h:
97
98 2014-03-30  Dan Bernstein  <mitz@apple.com>
99
100         Tried to fix the iOS build.
101
102         * Misc/WebGeolocationCoreLocationProvider.mm:
103         (-[WebGeolocationCoreLocationProvider start]):
104         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
105
106 2014-03-27  Enrica Casucci  <enrica@apple.com>
107
108         Add support for AirPlay picker for iOS.
109         https://bugs.webkit.org/show_bug.cgi?id=130876
110         <rdar://problem/15349859>
111
112         Reviewed by Benjamin Poulain.
113
114         Adds support for the AirPlay picker for WebKit.
115         The actual picker is implemented in UIKit.
116
117         * DefaultDelegates/WebDefaultUIKitDelegate.m:
118         (-[WebDefaultUIKitDelegate interactionLocation]):
119         (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
120         * WebCoreSupport/WebChromeClientIOS.mm:
121         (WebChromeClientIOS::showPlaybackTargetPicker):
122         * WebCoreSupport/WebFrameIOS.h:
123         * WebCoreSupport/WebFrameIOS.mm:
124         (-[WebFrame elementRectAtPoint:]):
125         * WebView/WebUIKitDelegate.h:
126
127 2014-03-27  Enrica Casucci  <enrica@apple.com>
128
129         Add support for AirPlay picker in WK2 for iOS.
130         https://bugs.webkit.org/show_bug.cgi?id=130855
131         <rdar://problem/15349859>
132
133         Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
134
135         Adds stub for new WebKit chrome client method.
136
137         * WebCoreSupport/WebChromeClientIOS.h:
138         * WebCoreSupport/WebChromeClientIOS.mm:
139         (WebChromeClientIOS::showAirPlayRoutePicker):
140
141 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
142
143         [iOS] Inspector View Indication Support
144         https://bugs.webkit.org/show_bug.cgi?id=130709
145
146         Reviewed by Simon Fraser.
147
148         * WebCoreSupport/WebInspectorClientIOS.mm:
149         (WebInspectorClient::showInspectorIndication):
150         (WebInspectorClient::hideInspectorIndication):
151         Renamed methods.
152
153 2014-03-22  Darin Adler  <darin@apple.com>
154
155         Remove String::deprecatedCharacters
156         https://bugs.webkit.org/show_bug.cgi?id=126854
157
158         Reviewed by Sam Weinig.
159
160         * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
161         * Misc/WebNSStringDrawing.mm:
162         (+[NSString _web_setWordRoundingEnabled:]):
163         (+[NSString _web_wordRoundingEnabled]):
164         (+[NSString _web_setWordRoundingAllowed:]):
165         (+[NSString _web_wordRoundingAllowed]):
166         (+[NSString _web_setAscentRoundingEnabled:]):
167         (+[NSString _web_ascentRoundingEnabled]):
168         (-[NSString _web_drawAtPoint:withFont:]):
169         (-[NSString _web_sizeWithFont:]):
170         (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
171         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
172         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
173         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
174         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
175         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
176         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
177         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
178         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
179         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
180         (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
181         (-[NSString _web_sizeInRect:withFont:ellipsis:]):
182         (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
183         (-[NSString _web_sizeForWidth:withAttributes:]):
184         (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
185         (-[NSString _web_sizeInRect:withAttributes:]):
186         (-[NSString _web_drawInRect:withAttributes:]):
187         Emptied out all these functions since callers aren't really using them any more.
188
189 2014-03-21  Tim Horton  <timothy_horton@apple.com>
190
191         Always retrieve the screen scale factor from WKSI
192         <rdar://problem/16329679>
193
194         Reviewed by Sam Weinig.
195
196         * Misc/WebUIKitSupport.mm:
197         (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
198
199 2014-03-19  Tim Horton  <timothy_horton@apple.com>
200
201         [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
202         https://bugs.webkit.org/show_bug.cgi?id=130444
203         <rdar://problem/15580682>
204
205         Reviewed by Sam Weinig.
206
207         * WebView/WebPDFViewPlaceholder.h:
208         * WebView/WebPDFViewPlaceholder.mm:
209         (-[WebPDFViewPlaceholder layout]):
210         Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
211         which is confusing.
212
213         Don't divide by zero if we have no pages, instead return an empty bounding size.
214
215         (-[WebPDFViewPlaceholder _computePageRects:]):
216         If we have an empty document, set the background color to white.
217         Otherwise, set it to black. It's not clear that black is the ideal
218         background color, but this retains existing behavior.
219
220 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
221
222         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
223         https://bugs.webkit.org/show_bug.cgi?id=130276
224         <rdar://problem/16266927>
225         
226         Reviewed by Simon Fraser.
227
228         * WebCoreSupport/WebCaretChangeListener.h:
229         * WebCoreSupport/WebInspectorClientIOS.mm:
230         * WebView/WebPlainWhiteView.h:
231         * WebView/WebPlainWhiteView.mm:
232
233 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
234
235         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
236         https://bugs.webkit.org/show_bug.cgi?id=129612
237
238         Reviewed by Darin Adler.
239
240         For new code use static NeverDestroyed<T> instead.
241
242         * Misc/EmojiFallbackFontSelector.cpp:
243         (EmojiFallbackFontSelector::getFallbackFontData):
244         * WebCoreSupport/WebFixedPositionContent.mm:
245         (WebFixedPositionContentDataLock):
246
247 2014-03-13  Benjamin Poulain  <bpoulain@apple.com>
248
249         The viewport code should not depend on WebKitSystemInterface
250         https://bugs.webkit.org/show_bug.cgi?id=130218
251
252         Reviewed by Tim Horton.
253
254         * WebCoreSupport/WebChromeClientIOS.h:
255         * WebCoreSupport/WebChromeClientIOS.mm:
256         (WebChromeClientIOS::viewportScreenSize):
257         Get the viewport size from WebKitSystemInterface.
258
259 2014-03-12  Enrica Casucci  <enrica@apple.com>
260
261         Incorrect reference counting of Range in WebFrame.
262         https://bugs.webkit.org/show_bug.cgi?id=130160
263         <rdar://problem/16282535>
264
265         Reviewed by Anders Carlsson.
266
267         * WebCoreSupport/WebFrameIOS.mm:
268         (-[WebFrame selectionRects]):
269
270 2014-03-12  Simon Fraser  <simon.fraser@apple.com>
271
272         Spelling is hard
273         https://bugs.webkit.org/show_bug.cgi?id=130146
274
275         Reviewed by Beth Dakin.
276         
277         Fix spelling (constained -> constrained).
278
279         * WebCoreSupport/WebFixedPositionContent.mm:
280         (-[WebFixedPositionContent scrollOrZoomChanged:]):
281         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
282         (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
283         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
284         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
285
286 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
287
288         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
289         https://bugs.webkit.org/show_bug.cgi?id=128681
290
291         Reviewed by Timothy Hatcher.
292
293         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
294         WebCore/inspector/*. Besides files in there, a few other files in
295         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
296         and WebCore/testing were touched.
297
298         * WebCoreSupport/WebInspectorClientIOS.mm:
299
300 2014-02-12  Benjamin Poulain  <bpoulain@apple.com>
301
302         [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
303         https://bugs.webkit.org/show_bug.cgi?id=128639
304
305         Reviewed by Andreas Kling.
306
307         * WebCoreSupport/WebChromeClientIOS.h:
308         * WebCoreSupport/WebChromeClientIOS.mm:
309         (WebChromeClientIOS::didReceiveMobileDocType):
310
311 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
312
313         Build fix after r163739.
314
315         * WebCoreSupport/WebFrameIOS.mm:
316         (-[WebFrame collapseSelection]):
317         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
318
319 2014-02-03  Dan Bernstein  <mitz@apple.com>
320
321         More iOS build fixing.
322
323         * Misc/WebNSStringDrawing.mm:
324         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
325         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
326
327 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
328
329         Remove inline member functions of FrameSelection that access m_selection
330         https://bugs.webkit.org/show_bug.cgi?id=127986
331
332         Reviewed by Enrica Casucci.
333
334         * WebCoreSupport/WebFrameIOS.mm:
335         (-[WebFrame extendSelection:]):
336         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
337         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
338         (-[WebFrame expandSelectionToSentence]):
339         (-[WebFrame setBaseWritingDirection:]):
340         (-[WebFrame smartExtendRangedSelection:]):
341
342 2014-01-30  Andrei Bucur  <abucur@adobe.com>
343
344         Remove the ACCELERATED_COMPOSITING flag
345         https://bugs.webkit.org/show_bug.cgi?id=127833
346
347         Reviewed by Antti Koivisto.
348
349         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
350         mandatory.
351
352         * WebCoreSupport/WebChromeClientIOS.h:
353         * WebCoreSupport/WebChromeClientIOS.mm:
354         (WebChromeClientIOS::attachRootGraphicsLayer):
355         * WebView/WebUIKitDelegate.h:
356
357 2014-01-27  Joseph Pecoraro  <pecoraro@apple.com>
358
359         Unreviewed iOS build fix. FALLTHROUGHs for iOS.
360
361         * Misc/WebNSStringDrawing.mm:
362         (needsBidiLayout):
363
364 2014-01-27  Andy Estes  <aestes@apple.com>
365
366         Scrub WebKit API headers of WTF macros
367         https://bugs.webkit.org/show_bug.cgi?id=127706
368
369         Reviewed by David Kilzer.
370
371         * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
372         TARGET_OS_IPHONE.
373
374 2014-01-15  Sam Weinig  <sam@webkit.org>
375
376         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
377         https://bugs.webkit.org/show_bug.cgi?id=126856
378
379         Reviewed by Ryosuke Niwa.
380
381         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
382         now unnecessary up-conversions to UTF-16 in the process.
383
384         * Misc/WebNSStringDrawing.mm:
385
386 2014-01-16  Anders Carlsson  <andersca@apple.com>
387
388         Change all uses of FINAL to final now that all our compilers support it
389         https://bugs.webkit.org/show_bug.cgi?id=127142
390
391         Reviewed by Benjamin Poulain.
392
393         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
394
395 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
396
397         Remove workaround for compilers not supporting explicit override control
398         https://bugs.webkit.org/show_bug.cgi?id=127111
399
400         Reviewed by Anders Carlsson.
401
402         Now all compilers support explicit override control, this workaround can be removed.
403
404         * Misc/EmojiFallbackFontSelector.h:
405         * Storage/WebSQLiteDatabaseTrackerClient.h:
406         * WebCoreSupport/PopupMenuIOS.h:
407         * WebCoreSupport/SearchPopupMenuIOS.h:
408         * WebCoreSupport/WebChromeClientIOS.h:
409         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
410
411 2014-01-16  Andy Estes  <aestes@apple.com>
412
413         [iOS] Fix build issues with exported headers
414
415         * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
416         TARGET_OS_IPHONE.
417
418 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
419
420         Avoid PLATFORM() macros in exported headers.
421
422         * WebView/WebPDFViewPlaceholder.h:
423
424 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
425
426         Clean up exports and headers for iOS.
427
428         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
429         * WebCoreSupport/WebFrameIOS.h: Ditto.
430         * WebCoreSupport/WebSelectionRect.h: Ditto.
431
432 2014-01-14  Dean Jackson  <dino@apple.com>
433
434         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
435
436         * WebKit.iOS.exp:
437
438 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
439
440         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
441
442         * WebCoreSupport/WebInspectorClientIOS.mm:
443         (WebInspectorClient::indicate):
444         (WebInspectorClient::hideIndication):
445
446 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
447
448         More work towards getting iOS WK1 building.
449
450         * WebCoreSupport/WebFrameIOS.mm:
451         (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
452         function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
453
454 2014-01-12  Darin Adler  <darin@apple.com>
455
456         Add type checking to isEqual methods
457         https://bugs.webkit.org/show_bug.cgi?id=126862
458
459         Reviewed by Anders Carlsson.
460
461         * WebCoreSupport/WebVisiblePosition.mm:
462         (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
463         Add a FIXME about the lack of a hash method override. Simplified by
464         removing the unneeded local variables.
465
466 2014-01-02  Andy Estes  <aestes@apple.com>
467
468         [iOS] Upstream remainder of minimal-ui viewport changes
469         https://bugs.webkit.org/show_bug.cgi?id=126410
470
471         Reviewed by Sam Weinig.
472
473         * WebCoreSupport/WebChromeClientIOS.mm:
474         (dictionaryForViewportArguments):
475         * WebKit.iOS.exp:
476
477 2013-12-31  Andy Estes  <aestes@apple.com>
478
479         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
480         https://bugs.webkit.org/show_bug.cgi?id=125746
481
482         Reviewed by David Kilzer.
483
484         * WebCoreSupport/WebVisiblePosition.mm:
485         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
486         to mention iOS rather than iPhone.
487
488 2013-12-27  Daniel Bates  <dabates@apple.com>
489
490         [iOS] Upstream WebCore/page changes
491         https://bugs.webkit.org/show_bug.cgi?id=126180
492
493         Reviewed by Darin Adler.
494
495         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
496
497 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
498
499         Consolidate various frame snapshot capabilities.
500         https://bugs.webkit.org/show_bug.cgi?id=124325
501
502         Reviewed by Darin Adler.
503
504         * WebCoreSupport/WebFrameIOS.mm: use new header file.
505
506 2013-12-04  Andy Estes  <aestes@apple.com>
507
508         [iOS] Upstream build fixes in Source/WebKit/ios/
509         https://bugs.webkit.org/show_bug.cgi?id=125230
510
511         Reviewed by Sam Weinig.
512
513         * DefaultDelegates/WebDefaultUIKitDelegate.m:
514         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
515         * Misc/WebNSStringDrawing.mm:
516         (needsBidiLayout):
517         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
518         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
519         * Misc/WebUIKitSupport.mm:
520         (WebKitInitialize):
521         * WebCoreSupport/WebChromeClientIOS.h:
522         * WebCoreSupport/WebChromeClientIOS.mm:
523         (WebChromeClientIOS::didReceiveMobileDocType):
524         (WebChromeClientIOS::focusedElementChanged):
525         * WebCoreSupport/WebFrameIOS.mm:
526         (-[WebFrame clearSelection]):
527         (-[WebFrame selectionState]):
528         (-[WebFrame collapseSelection]):
529         (-[WebFrame extendSelection:]):
530         (-[WebFrame selectionRects]):
531         (-[WebFrame setRangedSelectionWithExtentPoint:]):
532         (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
533         (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
534         (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
535         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
536         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
537         (-[WebFrame expandSelectionToSentence]):
538         (-[WebFrame setBaseWritingDirection:]):
539         (-[WebFrame moveSelectionToStart]):
540         (-[WebFrame moveSelectionToEnd]):
541         (-[WebFrame moveSelectionToPoint:]):
542         (-[WebFrame setSelectionGranularity:]):
543         (-[WebFrame smartExtendRangedSelection:]):
544         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
545         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
546         * WebCoreSupport/WebInspectorClientIOS.mm:
547         (WebInspectorClient::WebInspectorClient):
548         (WebInspectorClient::didSetSearchingForNode):
549         (WebInspectorClient::setupRemoteConnection):
550         (WebInspectorClient::teardownRemoteConnection):
551         * WebCoreSupport/WebVisiblePosition.mm:
552         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
553         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
554         (-[DOMHTMLInputElement startPosition]):
555         (-[DOMHTMLInputElement endPosition]):
556         (-[DOMHTMLTextAreaElement startPosition]):
557         (-[DOMHTMLTextAreaElement endPosition]):
558         * WebView/WebPDFViewIOS.mm:
559         (+[WebPDFView shadowColor]):
560         (+[WebPDFView backgroundColor]):
561         (-[WebPDFView _checkPDFTitle]):
562         * WebView/WebPDFViewPlaceholder.mm:
563         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
564         * WebView/WebUIKitDelegate.h:
565
566 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
567
568         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
569         https://bugs.webkit.org/show_bug.cgi?id=124613
570
571         Reviewed by Timothy Hatcher.
572
573         * WebCoreSupport/WebInspectorClientIOS.mm:
574         (WebInspectorClient::WebInspectorClient):
575         (WebInspectorClient::inspectorDestroyed):
576
577 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
578
579         Typo: FixedPositionConstaint -> FixedPositionConstraint
580         https://bugs.webkit.org/show_bug.cgi?id=125171
581
582         Reviewed by Simon Fraser.
583
584         * WebCoreSupport/WebFixedPositionContent.mm:
585         (-[WebFixedPositionContent scrollOrZoomChanged:]):
586
587 2013-11-18  Commit Queue  <commit-queue@webkit.org>
588
589         Unreviewed, rolling out r159455.
590         http://trac.webkit.org/changeset/159455
591         https://bugs.webkit.org/show_bug.cgi?id=124568
592
593         broke two api tests (see bug 124564) (Requested by thorton on
594         #webkit).
595
596         * WebCoreSupport/WebFrameIOS.mm:
597
598 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
599
600         Consolidate various frame snapshot capabilities.
601         https://bugs.webkit.org/show_bug.cgi?id=124325
602
603         Reviewed by Timothy Hatcher.
604
605         * WebCoreSupport/WebFrameIOS.mm: use new header file.
606
607 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
608
609         Remove a PLATFORM(IOS) from WebKit Private Header
610         https://bugs.webkit.org/show_bug.cgi?id=124014
611
612         Reviewed by Timothy Hatcher.
613
614         * WebKit.iOS.exp:
615
616 2013-10-29  Andy Estes  <aestes@apple.com>
617
618         [iOS] Upstream Source/WebKit/ios/
619         https://bugs.webkit.org/show_bug.cgi?id=123470
620
621         Reviewed by Sam Weinig.
622
623         * DefaultDelegates/WebDefaultFormDelegate.h: Added.
624         * DefaultDelegates/WebDefaultFormDelegate.m: Added.
625         * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
626         * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
627         * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
628         * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
629         * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
630         * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
631         * Misc/EmojiFallbackFontSelector.cpp: Added.
632         * Misc/EmojiFallbackFontSelector.h: Added.
633         * Misc/MemoryMeasure.h: Added.
634         * Misc/MemoryMeasure.mm: Added.
635         * Misc/WebGeolocationCoreLocationProvider.h: Added.
636         * Misc/WebGeolocationCoreLocationProvider.mm: Added.
637         * Misc/WebGeolocationProviderIOS.h: Added.
638         * Misc/WebGeolocationProviderIOS.mm: Added.
639         * Misc/WebNSStringDrawing.h: Added.
640         * Misc/WebNSStringDrawing.mm: Added.
641         * Misc/WebNSStringExtrasIOS.h: Added.
642         * Misc/WebNSStringExtrasIOS.m: Added.
643         * Misc/WebNSStringExtrasIPhone.h: Added.
644         * Misc/WebUIKitSupport.h: Added.
645         * Misc/WebUIKitSupport.mm: Added.
646         * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
647         * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
648         * WebCoreSupport/PopupMenuIOS.h: Added.
649         * WebCoreSupport/PopupMenuIOS.mm: Added.
650         * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
651         * WebCoreSupport/SearchPopupMenuIOS.h: Added.
652         * WebCoreSupport/WebCaretChangeListener.h: Added.
653         * WebCoreSupport/WebChromeClientIOS.h: Added.
654         * WebCoreSupport/WebChromeClientIOS.mm: Added.
655         * WebCoreSupport/WebFixedPositionContent.h: Added.
656         * WebCoreSupport/WebFixedPositionContent.mm: Added.
657         * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
658         * WebCoreSupport/WebFrameIOS.h: Added.
659         * WebCoreSupport/WebFrameIOS.mm: Added.
660         * WebCoreSupport/WebFrameIPhone.h: Added.
661         * WebCoreSupport/WebGeolocation.mm: Added.
662         * WebCoreSupport/WebGeolocationInternal.h: Added.
663         * WebCoreSupport/WebGeolocationPrivate.h: Added.
664         * WebCoreSupport/WebMIMETypeRegistry.h: Added.
665         * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
666         * WebCoreSupport/WebSelectionRect.h: Added.
667         * WebCoreSupport/WebSelectionRect.m: Added.
668         * WebCoreSupport/WebVisiblePosition.h: Added.
669         * WebCoreSupport/WebVisiblePosition.mm: Added.
670         * WebCoreSupport/WebVisiblePositionInternal.h: Added.
671         * WebKit.iOS.exp: Added.
672         * WebView/WebFrameViewWAKCompatibility.m: Added.
673         * WebView/WebMailDelegate.h: Added.
674         * WebView/WebPDFViewIOS.h: Added.
675         * WebView/WebPDFViewIOS.mm: Added.
676         * WebView/WebPDFViewIPhone.h: Added.
677         * WebView/WebPDFViewPlaceholder.h: Added.
678         * WebView/WebPDFViewPlaceholder.mm: Added.
679         * WebView/WebPlainWhiteView.h: Added.
680         * WebView/WebPlainWhiteView.mm: Added.
681         * WebView/WebUIKitDelegate.h: Added.
682
683 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
684
685         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
686         https://bugs.webkit.org/show_bug.cgi?id=123111
687
688         Reviewed by Timothy Hatcher.
689
690         iOS does not have a local inspector, only remote. So give it a custom
691         implementation separate from the WebKit/mac WebInspectorClient
692         implementation which handles an attaching/detaching local inspector.
693
694         * WebKit.xcodeproj/project.pbxproj:
695         * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
696         (WebInspectorClient::WebInspectorClient):
697         (WebInspectorClient::inspectorDestroyed):
698         (WebInspectorClient::openInspectorFrontend):
699         (WebInspectorClient::bringFrontendToFront):
700         (WebInspectorClient::closeInspectorFrontend):
701         (WebInspectorClient::didResizeMainFrame):
702         (WebInspectorClient::highlight):
703         (WebInspectorClient::hideHighlight):
704         (WebInspectorClient::didSetSearchingForNode):
705         (WebInspectorClient::sendMessageToFrontend):
706         (WebInspectorClient::sendMessageToBackend):
707         (WebInspectorClient::setupRemoteConnection):
708         (WebInspectorClient::teardownRemoteConnection):
709         (WebInspectorClient::hasLocalSession):
710         (WebInspectorClient::canBeRemotelyInspected):
711         (WebInspectorClient::inspectedWebView):
712         (WebInspectorFrontendClient::WebInspectorFrontendClient):
713         (WebInspectorFrontendClient::attachAvailabilityChanged):
714         (WebInspectorFrontendClient::frontendLoaded):
715         (WebInspectorFrontendClient::localizedStringsURL):
716         (WebInspectorFrontendClient::bringToFront):
717         (WebInspectorFrontendClient::closeWindow):
718         (WebInspectorFrontendClient::disconnectFromBackend):
719         (WebInspectorFrontendClient::attachWindow):
720         (WebInspectorFrontendClient::detachWindow):
721         (WebInspectorFrontendClient::setAttachedWindowHeight):
722         (WebInspectorFrontendClient::setAttachedWindowWidth):
723         (WebInspectorFrontendClient::setToolbarHeight):
724         (WebInspectorFrontendClient::inspectedURLChanged):
725         (WebInspectorFrontendClient::updateWindowTitle):
726         (WebInspectorFrontendClient::save):
727         (WebInspectorFrontendClient::append):