1 2017-02-22 Aakash Jain <aakash_jain@apple.com>
3 Move instance members from WebSelectionRect.h to implementation file
4 https://bugs.webkit.org/show_bug.cgi?id=168732
6 Reviewed by Tim Horton.
8 * WebCoreSupport/WebSelectionRect.h: Moving instance members to implementation file.
9 * WebCoreSupport/WebSelectionRect.m: Ditto.
11 2017-02-22 Aakash Jain <aakash_jain@apple.com>
13 Move iOS specific symbols to WebKit.ios.exp
14 https://bugs.webkit.org/show_bug.cgi?id=168726
16 Reviewed by Alexey Proskuryakov.
20 2017-02-21 Commit Queue <commit-queue@webkit.org>
22 Unreviewed, rolling out r212768.
23 https://bugs.webkit.org/show_bug.cgi?id=168698
25 Rolling out since this would break other projects. (Requested
26 by aakashjain on #webkit).
30 "[iOS] Remove old WebKit1 MemoryMeasure helper."
31 https://bugs.webkit.org/show_bug.cgi?id=168675
32 http://trac.webkit.org/changeset/212768
34 2017-02-21 Andreas Kling <akling@apple.com>
36 [iOS] Remove old WebKit1 MemoryMeasure helper.
37 <https://webkit.org/b/168675>
39 Reviewed by Sam Weinig.
41 Remove the MemoryMeasure logging helper from the WebKit1 days. It was using an old way
42 of measuring memory, and we were only using it in a single place anyway.
44 * Misc/MemoryMeasure.h: Removed.
45 * Misc/MemoryMeasure.mm: Removed.
48 2017-02-21 Andreas Kling <akling@apple.com>
50 [iOS] WebKit1 should use shared memory pressure handler code.
51 <https://webkit.org/b/168653>
53 Reviewed by Antti Koivisto.
55 * Misc/WebUIKitSupport.mm:
56 (WebKitInitialize): Don't unconditionally install a memory warning handler just
57 because the framework is loaded.
59 2017-02-20 Alexey Proskuryakov <ap@apple.com>
61 List of WebCore symbols to re-export from WebKitLegacy should be built automatically
62 https://bugs.webkit.org/show_bug.cgi?id=168342
63 rdar://problem/26182266
65 Reviewed by Tim Horton.
67 * WebKit.iOS.exp: Removed manually added symbols.
69 2017-02-20 Aakash Jain <aakash_jain@apple.com>
71 Stop exporting WebPluginController from WebKit
72 https://bugs.webkit.org/show_bug.cgi?id=168603
74 Reviewed by Alexey Proskuryakov.
78 2017-02-10 Aakash Jain <aakash_jain@apple.com>
80 WebKitLegacy doesn't re-export various symbols from WebCore required by clients
81 https://bugs.webkit.org/show_bug.cgi?id=168158
82 <rdar://problem/24527933>
84 Reviewed by Dan Bernstein.
86 * WebKit.iOS.exp: Exporting various symbols which are required by clients. This
87 would enable clients to stop linking against WebCore and instead link against WebKit.
89 2017-02-02 Yongjun Zhang <yongjun_zhang@apple.com>
91 In iOS, we should take background assertion when accessing localstorage databases.
92 https://bugs.webkit.org/show_bug.cgi?id=165478
94 Move application background task handling code from WebKit to WebCore.
96 Reviewed by Brady Eidson.
98 * Misc/WebUIKitSupport.h: Remove several methods that only used internally for background
99 task handling. They are not needed in WebKit any more since background task handling
100 is moved to WebCore and wrapped in WebBackgroundTaskController class.
101 * Misc/WebUIKitSupport.mm:
102 (WebKitSetInvalidWebBackgroundTaskIdentifier): Instead of storing the value in a static global
103 variable, save it in WebBackgroundTaskController.
104 (WebKitSetStartBackgroundTaskBlock): Ditto.
105 (WebKitSetEndBackgroundTaskBlock): Ditto.
107 2017-01-25 Aakash Jain <aakash_jain@apple.com>
109 LoadWebLocalizedStrings method should be moved in correct file
110 https://bugs.webkit.org/show_bug.cgi?id=167393
112 Reviewed by Alexey Proskuryakov.
114 * Misc/WebUIKitSupport.mm:
115 (LoadWebLocalizedStringsTimerCallback): Moved from WebLocalizableStrings.mm
116 (LoadWebLocalizedStrings): Moved from WebLocalizableStrings.mm
118 2017-01-21 Darin Adler <darin@apple.com>
120 Remove PassRefPtr from "page" directory of WebCore, also deploy references
121 https://bugs.webkit.org/show_bug.cgi?id=167224
123 Reviewed by Chris Dumez.
125 * WebCoreSupport/WebChromeClientIOS.h: Update for changes to ChromeClient.
126 * WebCoreSupport/WebChromeClientIOS.mm:
127 (WebChromeClientIOS::runJavaScriptAlert): Ditto.
128 (WebChromeClientIOS::runJavaScriptConfirm): Ditto.
129 (WebChromeClientIOS::runJavaScriptPrompt): Ditto.
130 (WebChromeClientIOS::setNeedsScrollNotifications): Ditto.
131 (WebChromeClientIOS::observedContentChange): Ditto.
132 (WebChromeClientIOS::clearContentChangeObservers): Ditto.
133 (WebChromeClientIOS::notifyRevealedSelectionByScrollingFrame): Ditto.
134 (WebChromeClientIOS::elementDidFocus): Ditto.
135 (WebChromeClientIOS::elementDidBlur): Ditto.
136 (WebChromeClientIOS::createPopupMenu): Ditto.
137 (WebChromeClientIOS::createSearchPopupMenu): Ditto.
138 (WebChromeClientIOS::attachRootGraphicsLayer): Ditto.
140 2017-01-21 Simon Fraser <simon.fraser@apple.com>
142 Remove the unused -[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]
143 https://bugs.webkit.org/show_bug.cgi?id=167273
145 Reviewed by Alex Christensen.
147 This function was added for an experiment, but is no longer used, so remove it.
149 * WebCoreSupport/WebFixedPositionContent.h:
150 * WebCoreSupport/WebFixedPositionContent.mm:
151 (anchorEdgeFlagsForAnchorEdge): Deleted.
152 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]): Deleted.
154 2017-01-15 Darin Adler <darin@apple.com>
156 Remove PassRefPtr from "loader" directory of WebCore
157 https://bugs.webkit.org/show_bug.cgi?id=167055
159 Reviewed by Alex Christensen.
161 * WebCoreSupport/WebChromeClientIOS.h: Updated runOpenPanel to take references.
162 Made class final and most functions private and final.
163 * WebCoreSupport/WebChromeClientIOS.mm:
164 (WebChromeClientIOS::runOpenPanel): Updated to take references.
166 2016-12-30 Darin Adler <darin@apple.com>
168 Remove PassRefPtr use from the "dom" directory, related cleanup
169 https://bugs.webkit.org/show_bug.cgi?id=166569
171 Reviewed by Alex Christensen.
173 * WebView/WebPDFViewIOS.mm:
174 (-[WebPDFView _checkPDFTitle]): Use aggregate-style syntax for StringWithDirection.
175 Not needed now, but useful later if we ever can get rid of the explicit constructors.
177 2016-12-15 Myles C. Maxfield <mmaxfield@apple.com>
179 Stop reinterpret_casting UBreakIterators to the undefined type TextBreakIterator
180 https://bugs.webkit.org/show_bug.cgi?id=165931
182 Reviewed by Alex Christensen.
184 * Misc/WebUIKitSupport.mm:
186 2016-11-01 Alex Christensen <achristensen@webkit.org>
188 Remove PassRefPtr from DumpRenderTree
189 https://bugs.webkit.org/show_bug.cgi?id=164307
191 Reviewed by Sam Weinig.
193 * Misc/WebGeolocationProviderIOS.mm:
195 2016-10-26 Dan Bernstein <mitz@apple.com>
197 Tried to fix the iOS build after r207934.
199 * WebCoreSupport/WebFrameIOS.mm:
200 (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]): Removed commented-out code and
201 a comment that had a typo in it and looked like a bad Doxygen trailing comment.
203 2016-08-16 Myles C. Maxfield <mmaxfield@apple.com>
205 Migrate line breaking code from ints to Optional<unsigned>s
206 https://bugs.webkit.org/show_bug.cgi?id=160859
208 Reviewed by Darin Adler.
210 * Misc/WebUIKitSupport.mm:
211 (WebKitGetLastLineBreakInBuffer):
213 2016-08-15 Joseph Pecoraro <pecoraro@apple.com>
215 Remove unused includes of wtf headers
216 https://bugs.webkit.org/show_bug.cgi?id=160839
218 Reviewed by Alex Christensen.
220 * Misc/WebGeolocationCoreLocationProvider.h:
221 * WebView/WebPDFViewIOS.mm:
222 * WebView/WebPlainWhiteView.mm:
224 2016-08-09 George Ruan <gruan@apple.com>
226 Implement functionality of media capture on iOS
227 https://bugs.webkit.org/show_bug.cgi?id=158945
228 <rdar://problem/26893343>
230 Reviewed by Tim Horton.
232 * DefaultDelegates/WebDefaultUIKitDelegate.m:
233 (-[WebDefaultUIKitDelegate
234 webView:runOpenPanelForFileButtonWithResultListener:configuration:]):
235 Use a dictionary instead of passing each parameter in separately.
236 (-[WebDefaultUIKitDelegate webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:acceptMIMETypes:]): Deleted.
237 * WebCoreSupport/WebChromeClientIOS.mm:
238 (webMediaCaptureType): Converts from WebCore::MediaCaptureType to
240 (WebChromeClientIOS::runOpenPanel):
241 * WebKit.iOS.exp: Expose NSDictionary keys for
242 runOpenPanelForFileButtonWithResultListener.
243 * WebView/WebUIKitDelegate.h: Add WebMediaCaptureType enum and
244 NSDictionary keys for
245 runOpenPanelForFileButtonWithResultListener.
247 2016-07-11 Enrica Casucci <enrica@apple.com>
249 Add synthetic click origin to WKNavigationAction.
250 https://bugs.webkit.org/show_bug.cgi?id=159584
251 rdar://problem/25610422
253 Reviewed by Tim Horton.
255 * WebView/WebPDFViewPlaceholder.mm:
256 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
258 2016-06-23 Alex Christensen <achristensen@webkit.org>
260 Remove unused didCancelAuthenticationChallenge
261 https://bugs.webkit.org/show_bug.cgi?id=158819
263 Reviewed by David Kilzer.
265 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
266 (-[WebDefaultResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
267 (-[WebDefaultResourceLoadDelegate webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:]):
268 (-[WebDefaultResourceLoadDelegate webView:resource:didCancelAuthenticationChallenge:fromDataSource:]): Deleted.
270 2016-06-02 David Kilzer <ddkilzer@apple.com>
272 Fix typo in -[WebDefaultUIKitDelegate deleteFromInputwithFlags:]
273 <https://webkit.org/b/158323>
274 <rdar://problem/26549165>
276 Reviewed by Andy Estes.
278 * DefaultDelegates/WebDefaultUIKitDelegate.m:
279 (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]): Rename...
280 (-[WebDefaultUIKitDelegate deleteFromInputWithFlags:]): ...to this.
282 2016-05-15 Darin Adler <darin@apple.com>
284 More CTTE and other cleanups for HTML editing header
285 https://bugs.webkit.org/show_bug.cgi?id=157722
287 Reviewed by Chris Dumez.
289 * WebCoreSupport/WebFrameIOS.mm:
290 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): auto
291 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): auto
293 2016-05-14 Darin Adler <darin@apple.com>
295 CTTE for the HTML editing header
296 https://bugs.webkit.org/show_bug.cgi?id=157676
298 Reviewed by Chris Dumez.
300 * WebCoreSupport/WebFrameIOS.mm:
301 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): Update since
302 lastOffsetForEditing takes a reference now. Seems like this code should be in WebCore.
303 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): Ditto.
305 2016-05-13 Beth Dakin <bdakin@apple.com>
307 Add dyldSPI.h for linked on or after checks, and add one for link preview
308 https://bugs.webkit.org/show_bug.cgi?id=157401
310 rdar://problem/26253396
312 Reviewed by Darin Adler.
314 This patch removes DynamicLinkerSPI.h and replaces it with
315 wtf/spi/darwin/dyldSPI.h
317 * Misc/WebUIKitSupport.mm:
319 2016-05-06 Simon Fraser <simon.fraser@apple.com>
321 Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
322 https://bugs.webkit.org/show_bug.cgi?id=157432
323 rdar://problem/16406720
325 Reviewed by Dean Jackson.
327 Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
329 Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
330 preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
331 These two settings are shared with TEXT_AUTOSIZING.
333 Add a TextAutosizing log channel, which is useful for generated -expected.html results.
335 Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
338 An implication of this set of changes is that the way clients enable text autosizing
339 has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
340 Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
341 on iPhone only, not iPad.
343 Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
344 instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
346 UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
347 which will now always return 15, but had no other code that toggled this. So it's safe to just rely
348 on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
350 * Misc/WebUIKitSupport.mm:
351 (WebKitGetMinimumZoomFontSize):
353 2016-03-16 Jiewen Tan <jiewen_tan@apple.com>
355 URL Parsing should signal failure for illegal IDN
356 https://bugs.webkit.org/show_bug.cgi?id=154945
357 <rdar://problem/8014795>
359 Reviewed by Brent Fulgham.
361 * Misc/WebNSStringExtrasIOS.m:
362 (-[NSString _web_possibleURLsForForUserTypedString:]):
363 * WebView/WebPDFViewPlaceholder.mm:
364 (-[WebPDFViewPlaceholder _updateTitleForURL:]):
366 2016-03-15 Chris Dumez <cdumez@apple.com>
368 Unreviewed, rolling out r198203.
370 Favorites view is no longer loading on iOS
374 "URL Parsing should signal failure for illegal IDN"
375 https://bugs.webkit.org/show_bug.cgi?id=154945
376 http://trac.webkit.org/changeset/198203
378 2016-03-15 Jiewen Tan <jiewen_tan@apple.com>
380 URL Parsing should signal failure for illegal IDN
381 https://bugs.webkit.org/show_bug.cgi?id=154945
382 <rdar://problem/8014795>
384 Reviewed by Brent Fulgham.
386 * Misc/WebNSStringExtrasIOS.m:
387 (-[NSString _web_possibleURLsForForUserTypedString:]):
388 * WebView/WebPDFViewPlaceholder.mm:
389 (-[WebPDFViewPlaceholder _updateTitleForURL:]):
391 2016-03-05 Chris Dumez <cdumez@apple.com>
393 Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
394 https://bugs.webkit.org/show_bug.cgi?id=155035
396 Reviewed by Darin Adler.
398 Update runtime application checks.
400 * WebCoreSupport/WebChromeClientIOS.mm:
402 2016-02-17 David Kilzer <ddkilzer@apple.com>
404 [iOS WK1] NSTimer in WebGeolocationProviderIOS.mm fires on the main thread without the WebThreadLock
405 <http://webkit.org/b/154347>
406 <rdar://problem/19360382>
408 Reviewed by Andy Estes.
410 This isn't testable because the GeolocationClientMock in WebCore
411 bypasses this code in WebKit1.
413 * Misc/WebGeolocationProviderIOS.mm:
414 (-[WebGeolocationProviderIOS _handlePendingInitialPosition:]):
415 Assert that this is always called on the WebThread.
416 (-[WebGeolocationProviderIOS registerWebView:]): Register the
417 NSTimer on the WebThread NSRunLoop.
419 2016-01-16 Myles C. Maxfield <mmaxfield@apple.com>
421 Remove TextRun::allowsRoundingHacks()
422 https://bugs.webkit.org/show_bug.cgi?id=153185
424 Reviewed by Simon Fraser.
426 * Misc/WebUIKitSupport.mm:
427 (WebKitInitialize): Deleted.
429 2016-01-13 Chris Dumez <cdumez@apple.com>
431 Unreviewed, rolling out r194900.
433 Roll back in as this did not actually regress PLT
437 "Unreviewed, rolling out r194826."
438 https://bugs.webkit.org/show_bug.cgi?id=153020
439 http://trac.webkit.org/changeset/194900
441 2016-01-12 Commit Queue <commit-queue@webkit.org>
443 Unreviewed, rolling out r194826.
444 https://bugs.webkit.org/show_bug.cgi?id=153020
446 Appears to have regressed PLT (Requested by kling on #webkit).
450 "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
452 https://bugs.webkit.org/show_bug.cgi?id=152902
453 http://trac.webkit.org/changeset/194826
455 2016-01-10 Andreas Kling <akling@apple.com>
457 Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
458 <https://webkit.org/b/152902>
460 Reviewed by Andy Estes.
462 * WebCoreSupport/WebFixedPositionContent.mm:
463 (WebFixedPositionContentDataLock):
465 2015-12-31 Andy Estes <aestes@apple.com>
467 Replace WTF::move with WTFMove
468 https://bugs.webkit.org/show_bug.cgi?id=152601
470 Reviewed by Brady Eidson.
472 * WebCoreSupport/WebFixedPositionContent.mm:
473 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
474 * WebCoreSupport/WebInspectorClientIOS.mm:
475 (WebInspectorFrontendClient::WebInspectorFrontendClient):
477 2015-12-20 Dan Bernstein <mitz@apple.com>
479 Remove unused setToolbarHeight
480 https://bugs.webkit.org/show_bug.cgi?id=152466
482 Reviewed by Darin Adler.
484 * WebCoreSupport/WebInspectorClientIOS.mm:
485 (WebInspectorFrontendClient::setToolbarHeight): Deleted.
487 2015-12-18 Simon Fraser <simon.fraser@apple.com>
489 Turn off "shrink-to-fit" viewport scaling in UIWebViews
490 https://bugs.webkit.org/show_bug.cgi?id=152451
491 rdar://problem/23960882
493 Reviewed by Tim Horton.
495 Disable the "shrink to fit" behavior in UIWebViews. This disables it entirely,
496 even when the page has "shrink-to-fit=yes" in the viewport meta tag.
498 Not testable because we can't test actual UIWebView scaling behavior.
500 * WebCoreSupport/WebChromeClientIOS.mm:
501 (dictionaryForViewportArguments):
503 2015-11-07 Simon Fraser <simon.fraser@apple.com>
505 Remove ColorSpace argument to all the drawing calls
506 https://bugs.webkit.org/show_bug.cgi?id=150967
508 Reviewed by Darin Adler.
510 Since the -webkit-color-correction CSS property was removed in r188202, and ColorSpaceDeviceRGB
511 and ColorSpaceSRGB are functionally equivalent, we can remove all the ColorSpace arguments passed
512 to drawing functions, and remove RenderStyle::colorSpace(), which was hardcoded to return ColorSpaceSRGB.
514 * WebView/WebPDFViewIOS.mm:
515 (-[WebPDFView drawPage:]):
516 * WebView/WebPlainWhiteView.mm:
518 2015-11-02 Andy Estes <aestes@apple.com>
520 Fixed the iOS build after r191904.
522 * WebCoreSupport/WebChromeClientIOS.mm:
523 (WebChromeClientIOS::screenSize):
525 2015-10-31 Andy Estes <aestes@apple.com>
527 Replace iOS-only WebKitSystemInterface calls with SPI
528 https://bugs.webkit.org/show_bug.cgi?id=150763
530 Reviewed by Darin Adler.
532 * Misc/WebUIKitSupport.mm:
533 (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
534 (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
535 * WebCoreSupport/WebChromeClientIOS.mm:
536 (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
538 2015-11-02 Commit Queue <commit-queue@webkit.org>
540 Unreviewed, rolling out r191902.
541 https://bugs.webkit.org/show_bug.cgi?id=150811
543 This change broke iOS builders (Requested by ryanhaddad on
548 "Replace iOS-only WebKitSystemInterface calls with SPI"
549 https://bugs.webkit.org/show_bug.cgi?id=150763
550 http://trac.webkit.org/changeset/191902
552 2015-10-31 Andy Estes <aestes@apple.com>
554 Replace iOS-only WebKitSystemInterface calls with SPI
555 https://bugs.webkit.org/show_bug.cgi?id=150763
557 Reviewed by Darin Adler.
559 * Misc/WebUIKitSupport.mm:
560 (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
561 (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
562 * WebCoreSupport/WebChromeClientIOS.mm:
563 (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
565 2015-10-14 Zhuo Li <zachli@apple.com>
567 Augment <input type=search>’s recent search history with the time each entry was added,
568 in order to allow time-based clearing of search history.
569 https://bugs.webkit.org/show_bug.cgi?id=148388.
571 Reviewed by Darin Adler.
573 Replace Vector<String> with Vector<RecentSearch>, where RecentSearch is a struct
574 that consists search string and time, for recent searches in order to store additional time information.
576 * WebCoreSupport/SearchPopupMenuIOS.cpp:
577 (SearchPopupMenuIOS::saveRecentSearches):
578 (SearchPopupMenuIOS::loadRecentSearches):
579 * WebCoreSupport/SearchPopupMenuIOS.h:
581 2015-09-17 Brian Burg <bburg@apple.com>
583 ASSERT(!m_frontendRouter->hasLocalFrontend()) when running Web Inspector tests
584 https://bugs.webkit.org/show_bug.cgi?id=149006
586 Reviewed by Joseph Pecoraro.
588 * WebCoreSupport/WebInspectorClientIOS.mm:
589 (WebInspectorClient::closeLocalFrontend): Deleted.
590 (WebInspectorFrontendClient::disconnectFromBackend): Deleted.
592 2015-09-12 Brian Burg <bburg@apple.com>
594 Web Inspector: disambiguate inspected/frontend controllers and pages in backend code
595 https://bugs.webkit.org/show_bug.cgi?id=149071
597 Reviewed by Joseph Pecoraro.
599 * WebCoreSupport/WebInspectorClientIOS.mm:
600 (WebInspectorClient::WebInspectorClient):
601 (WebInspectorClient::inspectedPageDestroyed): Renamed.
602 (WebInspectorClient::openLocalFrontend): Renamed.
603 (WebInspectorClient::closeLocalFrontend): Renamed.
604 (WebInspectorClient::inspectorDestroyed): Deleted.
605 (WebInspectorClient::openInspectorFrontend): Deleted.
606 (WebInspectorClient::closeInspectorFrontend): Deleted.
607 (WebInspectorClient::showInspectorIndication):
608 (WebInspectorClient::hideInspectorIndication):
609 (WebInspectorClient::didSetSearchingForNode):
610 (WebInspectorFrontendClient::WebInspectorFrontendClient):
612 2015-08-17 Filip Pizlo <fpizlo@apple.com>
614 Replace all remaining uses of WTF::Mutex with WTF::Lock
615 https://bugs.webkit.org/show_bug.cgi?id=148089
617 Reviewed by Geoffrey Garen.
619 * WebCoreSupport/WebFixedPositionContent.mm:
620 (WebFixedPositionContentDataLock):
621 (-[WebFixedPositionContent scrollOrZoomChanged:]):
622 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
623 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
624 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
625 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
627 2015-08-13 Tim Horton <timothy_horton@apple.com>
629 Refactor and improve TextIndicator to prepare for tests
630 https://bugs.webkit.org/show_bug.cgi?id=147622
632 Reviewed by Simon Fraser.
634 * WebCoreSupport/WebFrameIOS.mm:
635 (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]):
636 Adjust to Range method renames.
638 2015-08-05 Filip Pizlo <fpizlo@apple.com>
640 Unreviewed, roll out http://trac.webkit.org/changeset/187972.
642 * WebCoreSupport/WebFixedPositionContent.mm:
643 (WebFixedPositionContentDataLock):
644 (-[WebFixedPositionContent scrollOrZoomChanged:]):
645 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
646 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
647 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
648 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
650 2015-08-04 Filip Pizlo <fpizlo@apple.com>
652 Rename Mutex to DeprecatedMutex
653 https://bugs.webkit.org/show_bug.cgi?id=147675
655 Reviewed by Geoffrey Garen.
657 * WebCoreSupport/WebFixedPositionContent.mm:
658 (WebFixedPositionContentDataLock):
659 (-[WebFixedPositionContent scrollOrZoomChanged:]):
660 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
661 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
662 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
663 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
665 2015-08-04 Anders Carlsson <andersca@apple.com>
667 Remove database thread pause code
668 https://bugs.webkit.org/show_bug.cgi?id=147669
670 Reviewed by Daniel Bates.
672 * Misc/WebUIKitSupport.mm:
673 (WebKitSetBackgroundAndForegroundNotificationNames):
674 (applicationDidEnterBackground): Deleted.
675 (applicationWillEnterForeground): Deleted.
677 2015-07-21 Tim Horton <timothy_horton@apple.com>
679 Expose shrink-wrapping as UIKit support SPI
680 https://bugs.webkit.org/show_bug.cgi?id=147148
681 <rdar://problem/21920008>
686 2015-07-21 Tim Horton <timothy_horton@apple.com>
688 Expose shrink-wrapping as UIKit support SPI
689 https://bugs.webkit.org/show_bug.cgi?id=147148
690 <rdar://problem/21920008>
692 Reviewed by Simon Fraser.
694 * Misc/WebUIKitSupport.h:
695 * Misc/WebUIKitSupport.mm:
696 (WebKitCreatePathWithShrinkWrappedRects):
698 2015-07-02 Timothy Horton <timothy_horton@apple.com>
700 iOS WebKitLegacy should match WebKit2's viewport behavior
701 https://bugs.webkit.org/show_bug.cgi?id=146564
702 <rdar://problem/20574017>
704 Reviewed by Brent Fulgham.
706 * WebCoreSupport/WebChromeClientIOS.mm:
707 (dictionaryForViewportArguments):
709 2015-07-02 Timothy Horton <timothy_horton@apple.com>
711 iOS WebKitLegacy should match WebKit2's viewport behavior
712 https://bugs.webkit.org/show_bug.cgi?id=146540
713 <rdar://problem/20574017>
715 Reviewed by Dan Bernstein.
719 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
721 Unreviewed, attempt to fix the iOS build after r185968.
723 * WebCoreSupport/WebInspectorClientIOS.mm:
724 (WebInspectorFrontendClient::startWindowDrag):
726 2015-06-02 Brady Eidson <beidson@apple.com>
728 WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
729 rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
731 Reviewed by Alex Christensen.
733 * WebView/WebPDFViewPlaceholder.mm:
734 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
736 2015-05-25 Dan Bernstein <mitz@apple.com>
738 ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
739 https://bugs.webkit.org/show_bug.cgi?id=145372
741 Reviewed by Sam Weinig.
743 * Misc/WebGeolocationCoreLocationProvider.mm:
744 (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
745 (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
746 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
747 (-[WebGeolocationCoreLocationProvider start]): Ditto.
748 (-[WebGeolocationCoreLocationProvider stop]): Ditto.
749 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
751 2015-04-28 Brady Eidson <beidson@apple.com>
753 Consolidate most "frame load" arguments into FrameLoadRequest.
754 https://bugs.webkit.org/show_bug.cgi?id=144276
756 Reviewed by Alexey Proskuryakov.
758 * WebView/WebPDFViewPlaceholder.mm:
759 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
761 2015-04-13 Beth Dakin <bdakin@apple.com>
763 Add force property to MouseEvents
764 https://bugs.webkit.org/show_bug.cgi?id=143569
766 rdar://problem/20472954
768 Reviewed by Darin Adler.
770 Send the appropriate force with this simulated click event.
771 * WebView/WebPDFViewPlaceholder.mm:
772 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
774 2015-03-31 Myles C. Maxfield <mmaxfield@apple.com>
776 Move ExpansionBehaviorFlags and TextDirection to their own file
777 https://bugs.webkit.org/show_bug.cgi?id=143273
779 Reviewed by Simon Fraser.
781 This is a mechanical change. It just moves code around.
783 This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
785 * WebCoreSupport/WebFrameIOS.mm:
786 * WebCoreSupport/WebVisiblePosition.mm:
788 2015-03-09 David Kilzer <ddkilzer@apple.com>
790 [iOS] Fix build when compiling with dead code stripping disabled
791 <http://webkit.org/b/142467>
793 Reviewed by Simon Fraser.
795 * WebCoreSupport/WebInspectorClientIOS.mm:
796 (WebInspectorFrontendClient::save): Add missing method.
798 2015-02-14 Alexey Proskuryakov <ap@apple.com>
800 rel="noreferrer" should make window.opener null
801 https://bugs.webkit.org/show_bug.cgi?id=141579
803 Reviewed by Darin Adler.
805 * WebView/WebPDFViewPlaceholder.mm:
806 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
807 function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
809 2015-02-03 Enrica Casucci <enrica@apple.com>
811 [iOS] Add support for deleteFromInputWithFlags.
812 https://bugs.webkit.org/show_bug.cgi?id=141216
813 rdar://problem/19130081
815 Reviewed by Benjamin Poulain.
817 Adopts the new method as soon as it is available.
818 The patch also removes some obsolete code used for staging.
820 * DefaultDelegates/WebDefaultUIKitDelegate.m:
821 (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
822 (-[WebDefaultUIKitDelegate deleteFromInput]):
823 (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
824 (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
825 * WebView/WebUIKitDelegate.h:
827 2015-01-22 Andreas Kling <akling@apple.com>
829 Remove unused class EmojiFallbackFontSelector.
830 <https://webkit.org/b/140809>
832 Reviewed by Antti Koivisto.
834 This class no longer has any clients.
836 * Misc/EmojiFallbackFontSelector.cpp: Removed.
837 * Misc/EmojiFallbackFontSelector.h: Removed.
839 2015-01-13 Chris Dumez <cdumez@apple.com>
841 Unreviewed iOS build fix after r178375
843 Match FontSelector API changes.
845 * Misc/EmojiFallbackFontSelector.cpp:
846 (EmojiFallbackFontSelector::fallbackFontDataAt):
847 (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
848 * Misc/EmojiFallbackFontSelector.h:
850 2014-12-07 Dan Bernstein <mitz@apple.com>
852 Introduce and deploy a function that allocates and returns an instance of a soft-linked class
853 https://bugs.webkit.org/show_bug.cgi?id=139348
855 Reviewed by Anders Carlsson.
857 In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
858 picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
859 to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
860 doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
861 avoiding the ambiguity.
863 * Misc/WebGeolocationCoreLocationProvider.mm:
864 (-[WebGeolocationCoreLocationProvider createLocationManager]):
866 2014-12-06 Anders Carlsson <andersca@apple.com>
868 Fix build with newer versions of clang.
869 rdar://problem/18978687
871 Cast the result of +alloc to the right type.
873 * Misc/WebGeolocationCoreLocationProvider.mm:
874 (-[WebGeolocationCoreLocationProvider createLocationManager]):
875 * WebCoreSupport/WebSelectionRect.m:
876 (+[WebSelectionRect selectionRect]):
878 2014-11-20 Benjamin Poulain <bpoulain@apple.com>
880 Remove the remaining vestiges of minimal-ui
881 https://bugs.webkit.org/show_bug.cgi?id=138890
883 Reviewed by Sam Weinig.
885 * WebCoreSupport/WebChromeClientIOS.mm:
886 (dictionaryForViewportArguments):
889 2014-11-19 Daniel Bates <dabates@apple.com>
891 [iOS] Make WebKit build with public iOS SDK
892 https://bugs.webkit.org/show_bug.cgi?id=136863
894 Reviewed by David Kilzer.
896 * Misc/WebGeolocationCoreLocationProvider.mm: Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
897 * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
898 * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
900 2014-11-14 Daniel Bates <dabates@apple.com>
902 [iOS] CoreGraphics SPI not available in public SDK
903 https://bugs.webkit.org/show_bug.cgi?id=138709
905 Reviewed by David Kilzer.
907 Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
909 * WebCoreSupport/WebFixedPositionContent.mm:
911 2014-10-20 Andy Estes <aestes@apple.com>
915 * WebCoreSupport/WebFrameIOS.mm:
916 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
917 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
918 * WebCoreSupport/WebVisiblePosition.mm:
919 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
920 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
922 2014-10-15 Chris Dumez <cdumez@apple.com>
924 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
925 https://bugs.webkit.org/show_bug.cgi?id=137727
927 Reviewed by Darin Adler.
929 Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
931 * WebCoreSupport/WebVisiblePosition.mm:
932 (-[DOMHTMLInputElement startPosition]):
933 (-[DOMHTMLInputElement endPosition]):
934 (-[DOMHTMLTextAreaElement startPosition]):
935 (-[DOMHTMLTextAreaElement endPosition]):
937 2014-10-03 Tim Horton <timothy_horton@apple.com>
939 REGRESSION (r165896): UIWebView PDFs have a forced black background
940 https://bugs.webkit.org/show_bug.cgi?id=137387
941 <rdar://problem/17948411>
943 Reviewed by David Kilzer.
945 * WebView/WebPDFViewPlaceholder.h:
946 * WebView/WebPDFViewPlaceholder.mm:
947 (-[WebPDFViewPlaceholder layout]):
948 Remove an ill-advised attempt to force the PDF background color from WebKit.
949 The idea was that we would maintain Safari's black background except if there
950 were no pages in the PDF, in which case we would use white instead to avoid
951 having an all-black view. However, this broke clients who didn't want a black
952 background, because we were now forcing it to black. Also, we don't need to
953 maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
954 This wasn't an important part of the patch, in any case.
956 2014-10-03 Tim Horton <timothy_horton@apple.com>
958 REGRESSION (r173265): UIWebView PDF loading is completely broken
959 https://bugs.webkit.org/show_bug.cgi?id=137386
960 <rdar://problem/18524717>
962 Reviewed by David Kilzer.
964 * WebView/WebPDFViewPlaceholder.h:
965 * WebView/WebPDFViewPlaceholder.mm:
966 (-[WebPDFViewPlaceholder layout]):
967 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
968 Restore important code that creates the CGDataProvider and sets _didFinishLoad
969 and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
970 removed in the aforementioned revision.
972 2014-10-01 Christophe Dumez <cdumez@apple.com>
974 Have is<>(T*) function do a null check on the pointer argument
975 https://bugs.webkit.org/show_bug.cgi?id=137333
977 Reviewed by Gavin Barraclough.
979 Have is<>(T*) function do a null check on the argument instead of a
980 simple assertion. This makes sense for 2 reasons:
981 1. It is more consistent with downcast<>(T*), which will succeed even
982 if the argument is a nullptr.
983 2. It simplifies the code a bit as it gets rid of a lot of explicit
986 * WebCoreSupport/WebChromeClientIOS.mm:
987 (WebChromeClientIOS::focusedElementChanged):
989 2014-09-29 Daniel Bates <dabates@apple.com>
991 [iOS] Remove CoreLocation workaround
992 https://bugs.webkit.org/show_bug.cgi?id=137198
994 Reviewed by Dan Bernstein.
996 Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
997 committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
999 * Misc/WebGeolocationCoreLocationProvider.mm:
1000 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1001 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1003 2014-09-24 Daniel Bates <dabates@apple.com>
1005 [iOS] Another iOS build fix; workaround for CoreLocation
1006 https://bugs.webkit.org/show_bug.cgi?id=137104
1007 <rdar://problem/18450785>
1009 Rubber-stamped by Benjamin Poulain.
1011 Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
1012 and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
1013 We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
1015 * Misc/WebGeolocationCoreLocationProvider.mm:
1016 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1017 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1019 2014-09-24 Daniel Bates <dabates@apple.com>
1021 [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
1022 https://bugs.webkit.org/show_bug.cgi?id=137101
1023 <rdar://problem/18449815>
1025 Reviewed by Mark Lam.
1027 * Misc/WebGeolocationCoreLocationProvider.mm:
1028 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1029 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1031 2014-09-24 Christophe Dumez <cdumez@apple.com>
1033 Use is<HTML*Element>() instead of isHTML*Element() - Part 1
1034 https://bugs.webkit.org/show_bug.cgi?id=137068
1036 Reviewed by Ryosuke Niwa.
1038 Start using is<HTML*Element>() instead of isHTML*Element().
1039 Remaining usages will be updated in a follow-up patch to
1040 reduce the size of the change.
1042 * WebCoreSupport/WebChromeClientIOS.mm:
1043 (WebChromeClientIOS::focusedElementChanged):
1045 2014-09-21 Timothy Hatcher <timothy@apple.com>
1047 Make the Web Inspector use a separate web process.
1049 https://bugs.webkit.org/show_bug.cgi?id=135120
1051 Reviewed by Anders Carlsson.
1053 * WebCoreSupport/WebInspectorClientIOS.mm:
1054 (WebInspectorClient::WebInspectorClient):
1055 Removed m_frontendClient initialization since it is
1056 now a std::unique_ptr that defaults to nullptr.
1058 2014-09-23 Chris Dumez <cdumez@apple.com>
1060 Use downcast<HTML*Element>() instead of toHTML*Element()
1061 https://bugs.webkit.org/show_bug.cgi?id=137007
1063 Reviewed by Benjamin Poulain.
1065 Use downcast<HTML*Element>() instead of toHTML*Element().
1067 * WebCoreSupport/WebChromeClientIOS.mm:
1068 (WebChromeClientIOS::focusedElementChanged):
1070 2014-09-17 Daniel Bates <dabates@apple.com>
1072 Unreviewed, rolling out r173695.
1074 Broke building third-party Legacy WebKit apps; will
1079 "[iOS] Make WebCore build with public iOS SDK"
1080 https://bugs.webkit.org/show_bug.cgi?id=136487
1081 http://trac.webkit.org/changeset/173695
1083 2014-09-17 Daniel Bates <dabates@apple.com>
1085 [iOS] Make WebCore build with public iOS SDK
1086 https://bugs.webkit.org/show_bug.cgi?id=136487
1088 Reviewed by David Kilzer.
1090 Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
1092 * WebCoreSupport/WebFixedPositionContent.mm:
1094 2014-09-05 Simon Fraser <simon.fraser@apple.com>
1096 Remove some PLATFORM(IOS) code in Color.h/cpp
1097 https://bugs.webkit.org/show_bug.cgi?id=136582
1099 Reviewed by Dan Bates.
1101 createCGColorWithDeviceWhite() is only used here so make it a local static function.
1103 * WebView/WebPDFViewIOS.mm:
1104 (createCGColorWithDeviceWhite):
1106 2014-09-04 Pratik Solanki <psolanki@apple.com>
1108 Remove iOS specific disk image cache
1109 https://bugs.webkit.org/show_bug.cgi?id=136517
1111 Reviewed by Antti Koivisto.
1113 Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
1114 this now since we don't enable it in WebKit2 on iOS.
1116 * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
1117 * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
1118 * WebView/WebPDFViewPlaceholder.mm:
1119 (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
1120 (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
1121 (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
1123 2014-08-31 Tim Horton <timothy_horton@apple.com>
1125 Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
1126 https://bugs.webkit.org/show_bug.cgi?id=136416
1128 Reviewed by Dan Bernstein.
1130 * WebView/WebPDFViewIOS.mm:
1131 (-[WebPDFView drawPage:]):
1132 (-[WebPDFView drawRect:]):
1133 * WebView/WebPlainWhiteView.mm:
1134 We only end up filling, so only set the fill color.
1136 2014-08-22 Simon Fraser <simon.fraser@apple.com>
1138 Implement paint flashing in the WK1 InspectorOverlay page
1139 https://bugs.webkit.org/show_bug.cgi?id=136138
1141 Reviewed by Sam Weinig, Joseph Pecoraro.
1143 Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
1144 We avoid allocating backing store for this canvas until we have paint rects.
1146 Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
1147 an array of rects, and pushes them to the page when they change, before forcing a paint.
1149 Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
1150 WebKit WebInspectorClient, but don't yet implement paint flashing there.
1152 * WebCoreSupport/WebInspectorClientIOS.mm:
1153 (WebInspectorClient::setShowPaintRects):
1154 (WebInspectorClient::showPaintRect):
1156 2014-08-18 Andy Estes <aestes@apple.com>
1158 Fix the iOS build after r172709.
1160 * WebView/WebPDFViewPlaceholder.mm:
1161 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1163 2014-07-03 Daniel Bates <dabates@apple.com>
1166 https://bugs.webkit.org/show_bug.cgi?id=134500
1168 Rubber-stamped by Anders Carlsson.
1170 Substitute WTF::move() for std::move().
1172 * WebCoreSupport/WebFixedPositionContent.mm:
1173 (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1174 * WebCoreSupport/WebInspectorClientIOS.mm:
1175 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1177 2014-07-01 Alex Christensen <achristensen@webkit.org>
1179 [iOS] Compile fix with pointer lock enabled.
1180 https://bugs.webkit.org/show_bug.cgi?id=134472
1182 Reviewed by Pratik Solanki.
1184 * WebView/WebPDFViewPlaceholder.mm:
1185 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1186 Add parameters required for pointer lock.
1188 2014-06-05 Benjamin Poulain <bpoulain@apple.com>
1190 [iOS][WK2] Add device orientation
1191 https://bugs.webkit.org/show_bug.cgi?id=133530
1193 Reviewed by Tim Horton.
1195 Change WebKit1 to provide the deviceOrientation as pull instead of push.
1197 * DefaultDelegates/WebDefaultUIKitDelegate.m:
1198 (-[WebDefaultUIKitDelegate deviceOrientation]):
1199 * WebCoreSupport/WebChromeClientIOS.h:
1200 * WebCoreSupport/WebChromeClientIOS.mm:
1201 (WebChromeClientIOS::deviceOrientation):
1202 * WebView/WebUIKitDelegate.h:
1204 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
1206 [iOS] Switch geolocation to an explicit authorization query model
1207 https://bugs.webkit.org/show_bug.cgi?id=132717
1208 <rdar://problem/16762390>
1210 Reviewed by Sam Weinig.
1212 WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
1214 The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
1215 The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
1216 listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
1218 We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
1219 before invoking "start".
1220 If "start" is called and the authorization is not granted, we assume geolocation was reset since
1221 the last time authorization was requested, and we reset the client.
1224 WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
1225 to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
1227 * Misc/WebGeolocationCoreLocationProvider.h:
1228 * Misc/WebGeolocationCoreLocationProvider.mm:
1229 (-[WebGeolocationCoreLocationProvider createLocationManager]):
1230 (-[WebGeolocationCoreLocationProvider dealloc]):
1231 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1232 (isAuthorizationGranted):
1233 (-[WebGeolocationCoreLocationProvider start]):
1234 (-[WebGeolocationCoreLocationProvider stop]):
1235 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1236 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
1237 (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
1238 * Misc/WebGeolocationProviderIOS.mm:
1239 (-[WebGeolocationProviderIOS suspend]):
1240 (-[WebGeolocationProviderIOS resume]):
1241 (-[WebGeolocationProviderIOS registerWebView:]):
1242 (-[WebGeolocationProviderIOS unregisterWebView:]):
1243 (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
1244 (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
1245 (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
1246 (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
1247 (-[WebGeolocationProviderIOS stopTrackingWebView:]):
1248 (-[WebGeolocationProviderIOS resetGeolocation]):
1249 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
1250 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
1251 (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
1252 (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
1253 (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
1254 (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
1255 (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
1256 (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
1257 (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
1258 (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
1259 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
1260 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
1262 2014-04-30 Anders Carlsson <andersca@apple.com>
1264 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
1265 https://bugs.webkit.org/show_bug.cgi?id=132399
1266 <rdar://problem/15920046>
1268 Reviewed by Dan Bernstein.
1270 Import WebKitLegacy headers instead of WebKit headers.
1272 * DefaultDelegates/WebDefaultFormDelegate.h:
1273 * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
1274 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
1275 * DefaultDelegates/WebDefaultUIKitDelegate.h:
1276 * Misc/WebGeolocationProviderIOS.h:
1277 * Misc/WebNSStringExtrasIPhone.h:
1278 * WebCoreSupport/WebFrameIOS.h:
1279 * WebCoreSupport/WebFrameIOS.mm:
1280 * WebCoreSupport/WebFrameIPhone.h:
1281 * WebCoreSupport/WebSelectionRect.h:
1282 * WebCoreSupport/WebVisiblePosition.h:
1283 * WebView/WebPDFViewIOS.h:
1284 * WebView/WebPDFViewIOS.mm:
1285 * WebView/WebPDFViewIPhone.h:
1286 * WebView/WebPDFViewPlaceholder.h:
1287 * WebView/WebPDFViewPlaceholder.mm:
1288 * WebView/WebPlainWhiteView.h:
1289 * WebView/WebUIKitDelegate.h:
1291 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
1293 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
1294 https://bugs.webkit.org/show_bug.cgi?id=132110
1296 Reviewed by Tim Horton.
1298 Updates callers to use '.' instead of '->'.
1300 No new tests are necessary because there should be no behavior change.
1302 * Misc/EmojiFallbackFontSelector.cpp:
1303 (EmojiFallbackFontSelector::getFallbackFontData):
1305 2014-04-17 Daniel Bates <dabates@apple.com>
1307 [iOS] Hook up screen.{availHeight, availWidth, height, width}
1308 https://bugs.webkit.org/show_bug.cgi?id=131821
1309 <rdar://problem/16413795>
1311 Reviewed by Benjamin Poulain and Tim Horton.
1313 Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
1315 Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
1317 * WebCoreSupport/WebChromeClientIOS.h:
1318 * WebCoreSupport/WebChromeClientIOS.mm:
1319 (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
1320 (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
1321 should consult it's associated WAKWindow for the available screen size.
1323 2014-04-08 Alexey Proskuryakov <ap@apple.com>
1325 Rename Clipboard to DataTransfer
1326 https://bugs.webkit.org/show_bug.cgi?id=131371
1328 Reviewed by Anders Carlsson.
1330 * WebView/WebPDFViewPlaceholder.mm:
1332 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
1334 [iOS] Remove the legacy string drawing code
1335 https://bugs.webkit.org/show_bug.cgi?id=131088
1337 Reviewed by Sam Weinig.
1339 * Misc/WebNSStringDrawing.h: Removed.
1340 * Misc/WebNSStringDrawing.mm: Removed.
1341 * Misc/WebUIKitSupport.h:
1343 2014-04-02 Mark Rowe <mrowe@apple.com>
1345 Build fix after r166684.
1347 * WebView/WebPDFViewPlaceholder.mm:
1348 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1350 2014-03-31 Anders Carlsson <andersca@apple.com>
1354 * WebCoreSupport/WebChromeClientIOS.h:
1355 * WebCoreSupport/WebChromeClientIOS.mm:
1356 * WebCoreSupport/WebFixedPositionContent.mm:
1357 * WebCoreSupport/WebFixedPositionContentInternal.h:
1359 2014-03-30 Dan Bernstein <mitz@apple.com>
1361 Tried to fix the iOS build.
1363 * Misc/WebGeolocationCoreLocationProvider.mm:
1364 (-[WebGeolocationCoreLocationProvider start]):
1365 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1367 2014-03-27 Enrica Casucci <enrica@apple.com>
1369 Add support for AirPlay picker for iOS.
1370 https://bugs.webkit.org/show_bug.cgi?id=130876
1371 <rdar://problem/15349859>
1373 Reviewed by Benjamin Poulain.
1375 Adds support for the AirPlay picker for WebKit.
1376 The actual picker is implemented in UIKit.
1378 * DefaultDelegates/WebDefaultUIKitDelegate.m:
1379 (-[WebDefaultUIKitDelegate interactionLocation]):
1380 (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
1381 * WebCoreSupport/WebChromeClientIOS.mm:
1382 (WebChromeClientIOS::showPlaybackTargetPicker):
1383 * WebCoreSupport/WebFrameIOS.h:
1384 * WebCoreSupport/WebFrameIOS.mm:
1385 (-[WebFrame elementRectAtPoint:]):
1386 * WebView/WebUIKitDelegate.h:
1388 2014-03-27 Enrica Casucci <enrica@apple.com>
1390 Add support for AirPlay picker in WK2 for iOS.
1391 https://bugs.webkit.org/show_bug.cgi?id=130855
1392 <rdar://problem/15349859>
1394 Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
1396 Adds stub for new WebKit chrome client method.
1398 * WebCoreSupport/WebChromeClientIOS.h:
1399 * WebCoreSupport/WebChromeClientIOS.mm:
1400 (WebChromeClientIOS::showAirPlayRoutePicker):
1402 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
1404 [iOS] Inspector View Indication Support
1405 https://bugs.webkit.org/show_bug.cgi?id=130709
1407 Reviewed by Simon Fraser.
1409 * WebCoreSupport/WebInspectorClientIOS.mm:
1410 (WebInspectorClient::showInspectorIndication):
1411 (WebInspectorClient::hideInspectorIndication):
1414 2014-03-22 Darin Adler <darin@apple.com>
1416 Remove String::deprecatedCharacters
1417 https://bugs.webkit.org/show_bug.cgi?id=126854
1419 Reviewed by Sam Weinig.
1421 * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
1422 * Misc/WebNSStringDrawing.mm:
1423 (+[NSString _web_setWordRoundingEnabled:]):
1424 (+[NSString _web_wordRoundingEnabled]):
1425 (+[NSString _web_setWordRoundingAllowed:]):
1426 (+[NSString _web_wordRoundingAllowed]):
1427 (+[NSString _web_setAscentRoundingEnabled:]):
1428 (+[NSString _web_ascentRoundingEnabled]):
1429 (-[NSString _web_drawAtPoint:withFont:]):
1430 (-[NSString _web_sizeWithFont:]):
1431 (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
1432 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
1433 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
1434 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
1435 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
1436 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
1437 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
1438 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
1439 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
1440 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
1441 (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
1442 (-[NSString _web_sizeInRect:withFont:ellipsis:]):
1443 (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
1444 (-[NSString _web_sizeForWidth:withAttributes:]):
1445 (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
1446 (-[NSString _web_sizeInRect:withAttributes:]):
1447 (-[NSString _web_drawInRect:withAttributes:]):
1448 Emptied out all these functions since callers aren't really using them any more.
1450 2014-03-21 Tim Horton <timothy_horton@apple.com>
1452 Always retrieve the screen scale factor from WKSI
1453 <rdar://problem/16329679>
1455 Reviewed by Sam Weinig.
1457 * Misc/WebUIKitSupport.mm:
1458 (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
1460 2014-03-19 Tim Horton <timothy_horton@apple.com>
1462 [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
1463 https://bugs.webkit.org/show_bug.cgi?id=130444
1464 <rdar://problem/15580682>
1466 Reviewed by Sam Weinig.
1468 * WebView/WebPDFViewPlaceholder.h:
1469 * WebView/WebPDFViewPlaceholder.mm:
1470 (-[WebPDFViewPlaceholder layout]):
1471 Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
1474 Don't divide by zero if we have no pages, instead return an empty bounding size.
1476 (-[WebPDFViewPlaceholder _computePageRects:]):
1477 If we have an empty document, set the background color to white.
1478 Otherwise, set it to black. It's not clear that black is the ideal
1479 background color, but this retains existing behavior.
1481 2014-03-14 Maciej Stachowiak <mjs@apple.com>
1483 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1484 https://bugs.webkit.org/show_bug.cgi?id=130276
1485 <rdar://problem/16266927>
1487 Reviewed by Simon Fraser.
1489 * WebCoreSupport/WebCaretChangeListener.h:
1490 * WebCoreSupport/WebInspectorClientIOS.mm:
1491 * WebView/WebPlainWhiteView.h:
1492 * WebView/WebPlainWhiteView.mm:
1494 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
1496 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
1497 https://bugs.webkit.org/show_bug.cgi?id=129612
1499 Reviewed by Darin Adler.
1501 For new code use static NeverDestroyed<T> instead.
1503 * Misc/EmojiFallbackFontSelector.cpp:
1504 (EmojiFallbackFontSelector::getFallbackFontData):
1505 * WebCoreSupport/WebFixedPositionContent.mm:
1506 (WebFixedPositionContentDataLock):
1508 2014-03-13 Benjamin Poulain <bpoulain@apple.com>
1510 The viewport code should not depend on WebKitSystemInterface
1511 https://bugs.webkit.org/show_bug.cgi?id=130218
1513 Reviewed by Tim Horton.
1515 * WebCoreSupport/WebChromeClientIOS.h:
1516 * WebCoreSupport/WebChromeClientIOS.mm:
1517 (WebChromeClientIOS::viewportScreenSize):
1518 Get the viewport size from WebKitSystemInterface.
1520 2014-03-12 Enrica Casucci <enrica@apple.com>
1522 Incorrect reference counting of Range in WebFrame.
1523 https://bugs.webkit.org/show_bug.cgi?id=130160
1524 <rdar://problem/16282535>
1526 Reviewed by Anders Carlsson.
1528 * WebCoreSupport/WebFrameIOS.mm:
1529 (-[WebFrame selectionRects]):
1531 2014-03-12 Simon Fraser <simon.fraser@apple.com>
1534 https://bugs.webkit.org/show_bug.cgi?id=130146
1536 Reviewed by Beth Dakin.
1538 Fix spelling (constained -> constrained).
1540 * WebCoreSupport/WebFixedPositionContent.mm:
1541 (-[WebFixedPositionContent scrollOrZoomChanged:]):
1542 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
1543 (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
1544 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
1545 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
1547 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
1549 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
1550 https://bugs.webkit.org/show_bug.cgi?id=128681
1552 Reviewed by Timothy Hatcher.
1554 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
1555 WebCore/inspector/*. Besides files in there, a few other files in
1556 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
1557 and WebCore/testing were touched.
1559 * WebCoreSupport/WebInspectorClientIOS.mm:
1561 2014-02-12 Benjamin Poulain <bpoulain@apple.com>
1563 [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
1564 https://bugs.webkit.org/show_bug.cgi?id=128639
1566 Reviewed by Andreas Kling.
1568 * WebCoreSupport/WebChromeClientIOS.h:
1569 * WebCoreSupport/WebChromeClientIOS.mm:
1570 (WebChromeClientIOS::didReceiveMobileDocType):
1572 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
1574 Build fix after r163739.
1576 * WebCoreSupport/WebFrameIOS.mm:
1577 (-[WebFrame collapseSelection]):
1578 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1580 2014-02-03 Dan Bernstein <mitz@apple.com>
1582 More iOS build fixing.
1584 * Misc/WebNSStringDrawing.mm:
1585 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1586 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1588 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
1590 Remove inline member functions of FrameSelection that access m_selection
1591 https://bugs.webkit.org/show_bug.cgi?id=127986
1593 Reviewed by Enrica Casucci.
1595 * WebCoreSupport/WebFrameIOS.mm:
1596 (-[WebFrame extendSelection:]):
1597 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1598 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1599 (-[WebFrame expandSelectionToSentence]):
1600 (-[WebFrame setBaseWritingDirection:]):
1601 (-[WebFrame smartExtendRangedSelection:]):
1603 2014-01-30 Andrei Bucur <abucur@adobe.com>
1605 Remove the ACCELERATED_COMPOSITING flag
1606 https://bugs.webkit.org/show_bug.cgi?id=127833
1608 Reviewed by Antti Koivisto.
1610 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
1613 * WebCoreSupport/WebChromeClientIOS.h:
1614 * WebCoreSupport/WebChromeClientIOS.mm:
1615 (WebChromeClientIOS::attachRootGraphicsLayer):
1616 * WebView/WebUIKitDelegate.h:
1618 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
1620 Unreviewed iOS build fix. FALLTHROUGHs for iOS.
1622 * Misc/WebNSStringDrawing.mm:
1625 2014-01-27 Andy Estes <aestes@apple.com>
1627 Scrub WebKit API headers of WTF macros
1628 https://bugs.webkit.org/show_bug.cgi?id=127706
1630 Reviewed by David Kilzer.
1632 * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
1635 2014-01-15 Sam Weinig <sam@webkit.org>
1637 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
1638 https://bugs.webkit.org/show_bug.cgi?id=126856
1640 Reviewed by Ryosuke Niwa.
1642 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
1643 now unnecessary up-conversions to UTF-16 in the process.
1645 * Misc/WebNSStringDrawing.mm:
1647 2014-01-16 Anders Carlsson <andersca@apple.com>
1649 Change all uses of FINAL to final now that all our compilers support it
1650 https://bugs.webkit.org/show_bug.cgi?id=127142
1652 Reviewed by Benjamin Poulain.
1654 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1656 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
1658 Remove workaround for compilers not supporting explicit override control
1659 https://bugs.webkit.org/show_bug.cgi?id=127111
1661 Reviewed by Anders Carlsson.
1663 Now all compilers support explicit override control, this workaround can be removed.
1665 * Misc/EmojiFallbackFontSelector.h:
1666 * Storage/WebSQLiteDatabaseTrackerClient.h:
1667 * WebCoreSupport/PopupMenuIOS.h:
1668 * WebCoreSupport/SearchPopupMenuIOS.h:
1669 * WebCoreSupport/WebChromeClientIOS.h:
1670 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1672 2014-01-16 Andy Estes <aestes@apple.com>
1674 [iOS] Fix build issues with exported headers
1676 * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
1679 2014-01-14 Simon Fraser <simon.fraser@apple.com>
1681 Avoid PLATFORM() macros in exported headers.
1683 * WebView/WebPDFViewPlaceholder.h:
1685 2014-01-14 Simon Fraser <simon.fraser@apple.com>
1687 Clean up exports and headers for iOS.
1689 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
1690 * WebCoreSupport/WebFrameIOS.h: Ditto.
1691 * WebCoreSupport/WebSelectionRect.h: Ditto.
1693 2014-01-14 Dean Jackson <dino@apple.com>
1695 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
1699 2014-01-14 Simon Fraser <simon.fraser@apple.com>
1701 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
1703 * WebCoreSupport/WebInspectorClientIOS.mm:
1704 (WebInspectorClient::indicate):
1705 (WebInspectorClient::hideIndication):
1707 2014-01-13 Simon Fraser <simon.fraser@apple.com>
1709 More work towards getting iOS WK1 building.
1711 * WebCoreSupport/WebFrameIOS.mm:
1712 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
1713 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
1715 2014-01-12 Darin Adler <darin@apple.com>
1717 Add type checking to isEqual methods
1718 https://bugs.webkit.org/show_bug.cgi?id=126862
1720 Reviewed by Anders Carlsson.
1722 * WebCoreSupport/WebVisiblePosition.mm:
1723 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
1724 Add a FIXME about the lack of a hash method override. Simplified by
1725 removing the unneeded local variables.
1727 2014-01-02 Andy Estes <aestes@apple.com>
1729 [iOS] Upstream remainder of minimal-ui viewport changes
1730 https://bugs.webkit.org/show_bug.cgi?id=126410
1732 Reviewed by Sam Weinig.
1734 * WebCoreSupport/WebChromeClientIOS.mm:
1735 (dictionaryForViewportArguments):
1738 2013-12-31 Andy Estes <aestes@apple.com>
1740 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1741 https://bugs.webkit.org/show_bug.cgi?id=125746
1743 Reviewed by David Kilzer.
1745 * WebCoreSupport/WebVisiblePosition.mm:
1746 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1747 to mention iOS rather than iPhone.
1749 2013-12-27 Daniel Bates <dabates@apple.com>
1751 [iOS] Upstream WebCore/page changes
1752 https://bugs.webkit.org/show_bug.cgi?id=126180
1754 Reviewed by Darin Adler.
1756 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1758 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
1760 Consolidate various frame snapshot capabilities.
1761 https://bugs.webkit.org/show_bug.cgi?id=124325
1763 Reviewed by Darin Adler.
1765 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1767 2013-12-04 Andy Estes <aestes@apple.com>
1769 [iOS] Upstream build fixes in Source/WebKit/ios/
1770 https://bugs.webkit.org/show_bug.cgi?id=125230
1772 Reviewed by Sam Weinig.
1774 * DefaultDelegates/WebDefaultUIKitDelegate.m:
1775 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1776 * Misc/WebNSStringDrawing.mm:
1778 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1779 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1780 * Misc/WebUIKitSupport.mm:
1782 * WebCoreSupport/WebChromeClientIOS.h:
1783 * WebCoreSupport/WebChromeClientIOS.mm:
1784 (WebChromeClientIOS::didReceiveMobileDocType):
1785 (WebChromeClientIOS::focusedElementChanged):
1786 * WebCoreSupport/WebFrameIOS.mm:
1787 (-[WebFrame clearSelection]):
1788 (-[WebFrame selectionState]):
1789 (-[WebFrame collapseSelection]):
1790 (-[WebFrame extendSelection:]):
1791 (-[WebFrame selectionRects]):
1792 (-[WebFrame setRangedSelectionWithExtentPoint:]):
1793 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1794 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1795 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1796 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1797 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1798 (-[WebFrame expandSelectionToSentence]):
1799 (-[WebFrame setBaseWritingDirection:]):
1800 (-[WebFrame moveSelectionToStart]):
1801 (-[WebFrame moveSelectionToEnd]):
1802 (-[WebFrame moveSelectionToPoint:]):
1803 (-[WebFrame setSelectionGranularity:]):
1804 (-[WebFrame smartExtendRangedSelection:]):
1805 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1806 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1807 * WebCoreSupport/WebInspectorClientIOS.mm:
1808 (WebInspectorClient::WebInspectorClient):
1809 (WebInspectorClient::didSetSearchingForNode):
1810 (WebInspectorClient::setupRemoteConnection):
1811 (WebInspectorClient::teardownRemoteConnection):
1812 * WebCoreSupport/WebVisiblePosition.mm:
1813 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1814 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1815 (-[DOMHTMLInputElement startPosition]):
1816 (-[DOMHTMLInputElement endPosition]):
1817 (-[DOMHTMLTextAreaElement startPosition]):
1818 (-[DOMHTMLTextAreaElement endPosition]):
1819 * WebView/WebPDFViewIOS.mm:
1820 (+[WebPDFView shadowColor]):
1821 (+[WebPDFView backgroundColor]):
1822 (-[WebPDFView _checkPDFTitle]):
1823 * WebView/WebPDFViewPlaceholder.mm:
1824 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1825 * WebView/WebUIKitDelegate.h:
1827 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
1829 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1830 https://bugs.webkit.org/show_bug.cgi?id=124613
1832 Reviewed by Timothy Hatcher.
1834 * WebCoreSupport/WebInspectorClientIOS.mm:
1835 (WebInspectorClient::WebInspectorClient):
1836 (WebInspectorClient::inspectorDestroyed):
1838 2013-12-03 Ralph Thomas <ralpht@gmail.com>
1840 Typo: FixedPositionConstaint -> FixedPositionConstraint
1841 https://bugs.webkit.org/show_bug.cgi?id=125171
1843 Reviewed by Simon Fraser.
1845 * WebCoreSupport/WebFixedPositionContent.mm:
1846 (-[WebFixedPositionContent scrollOrZoomChanged:]):
1848 2013-11-18 Commit Queue <commit-queue@webkit.org>
1850 Unreviewed, rolling out r159455.
1851 http://trac.webkit.org/changeset/159455
1852 https://bugs.webkit.org/show_bug.cgi?id=124568
1854 broke two api tests (see bug 124564) (Requested by thorton on
1857 * WebCoreSupport/WebFrameIOS.mm:
1859 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
1861 Consolidate various frame snapshot capabilities.
1862 https://bugs.webkit.org/show_bug.cgi?id=124325
1864 Reviewed by Timothy Hatcher.
1866 * WebCoreSupport/WebFrameIOS.mm: use new header file.
1868 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
1870 Remove a PLATFORM(IOS) from WebKit Private Header
1871 https://bugs.webkit.org/show_bug.cgi?id=124014
1873 Reviewed by Timothy Hatcher.
1877 2013-10-29 Andy Estes <aestes@apple.com>
1879 [iOS] Upstream Source/WebKit/ios/
1880 https://bugs.webkit.org/show_bug.cgi?id=123470
1882 Reviewed by Sam Weinig.
1884 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1885 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1886 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1887 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1888 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1889 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1890 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1891 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1892 * Misc/EmojiFallbackFontSelector.cpp: Added.
1893 * Misc/EmojiFallbackFontSelector.h: Added.
1894 * Misc/MemoryMeasure.h: Added.
1895 * Misc/MemoryMeasure.mm: Added.
1896 * Misc/WebGeolocationCoreLocationProvider.h: Added.
1897 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1898 * Misc/WebGeolocationProviderIOS.h: Added.
1899 * Misc/WebGeolocationProviderIOS.mm: Added.
1900 * Misc/WebNSStringDrawing.h: Added.
1901 * Misc/WebNSStringDrawing.mm: Added.
1902 * Misc/WebNSStringExtrasIOS.h: Added.
1903 * Misc/WebNSStringExtrasIOS.m: Added.
1904 * Misc/WebNSStringExtrasIPhone.h: Added.
1905 * Misc/WebUIKitSupport.h: Added.
1906 * Misc/WebUIKitSupport.mm: Added.
1907 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1908 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1909 * WebCoreSupport/PopupMenuIOS.h: Added.
1910 * WebCoreSupport/PopupMenuIOS.mm: Added.
1911 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1912 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1913 * WebCoreSupport/WebCaretChangeListener.h: Added.
1914 * WebCoreSupport/WebChromeClientIOS.h: Added.
1915 * WebCoreSupport/WebChromeClientIOS.mm: Added.
1916 * WebCoreSupport/WebFixedPositionContent.h: Added.
1917 * WebCoreSupport/WebFixedPositionContent.mm: Added.
1918 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1919 * WebCoreSupport/WebFrameIOS.h: Added.
1920 * WebCoreSupport/WebFrameIOS.mm: Added.
1921 * WebCoreSupport/WebFrameIPhone.h: Added.
1922 * WebCoreSupport/WebGeolocation.mm: Added.
1923 * WebCoreSupport/WebGeolocationInternal.h: Added.
1924 * WebCoreSupport/WebGeolocationPrivate.h: Added.
1925 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1926 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1927 * WebCoreSupport/WebSelectionRect.h: Added.
1928 * WebCoreSupport/WebSelectionRect.m: Added.
1929 * WebCoreSupport/WebVisiblePosition.h: Added.
1930 * WebCoreSupport/WebVisiblePosition.mm: Added.
1931 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1932 * WebKit.iOS.exp: Added.
1933 * WebView/WebFrameViewWAKCompatibility.m: Added.
1934 * WebView/WebMailDelegate.h: Added.
1935 * WebView/WebPDFViewIOS.h: Added.
1936 * WebView/WebPDFViewIOS.mm: Added.
1937 * WebView/WebPDFViewIPhone.h: Added.
1938 * WebView/WebPDFViewPlaceholder.h: Added.
1939 * WebView/WebPDFViewPlaceholder.mm: Added.
1940 * WebView/WebPlainWhiteView.h: Added.
1941 * WebView/WebPlainWhiteView.mm: Added.
1942 * WebView/WebUIKitDelegate.h: Added.
1944 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
1946 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1947 https://bugs.webkit.org/show_bug.cgi?id=123111
1949 Reviewed by Timothy Hatcher.
1951 iOS does not have a local inspector, only remote. So give it a custom
1952 implementation separate from the WebKit/mac WebInspectorClient
1953 implementation which handles an attaching/detaching local inspector.
1955 * WebKit.xcodeproj/project.pbxproj:
1956 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1957 (WebInspectorClient::WebInspectorClient):
1958 (WebInspectorClient::inspectorDestroyed):
1959 (WebInspectorClient::openInspectorFrontend):
1960 (WebInspectorClient::bringFrontendToFront):
1961 (WebInspectorClient::closeInspectorFrontend):
1962 (WebInspectorClient::didResizeMainFrame):
1963 (WebInspectorClient::highlight):
1964 (WebInspectorClient::hideHighlight):
1965 (WebInspectorClient::didSetSearchingForNode):
1966 (WebInspectorClient::sendMessageToFrontend):
1967 (WebInspectorClient::sendMessageToBackend):
1968 (WebInspectorClient::setupRemoteConnection):
1969 (WebInspectorClient::teardownRemoteConnection):
1970 (WebInspectorClient::hasLocalSession):
1971 (WebInspectorClient::canBeRemotelyInspected):
1972 (WebInspectorClient::inspectedWebView):
1973 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1974 (WebInspectorFrontendClient::attachAvailabilityChanged):
1975 (WebInspectorFrontendClient::frontendLoaded):
1976 (WebInspectorFrontendClient::localizedStringsURL):
1977 (WebInspectorFrontendClient::bringToFront):
1978 (WebInspectorFrontendClient::closeWindow):
1979 (WebInspectorFrontendClient::disconnectFromBackend):
1980 (WebInspectorFrontendClient::attachWindow):
1981 (WebInspectorFrontendClient::detachWindow):
1982 (WebInspectorFrontendClient::setAttachedWindowHeight):
1983 (WebInspectorFrontendClient::setAttachedWindowWidth):
1984 (WebInspectorFrontendClient::setToolbarHeight):
1985 (WebInspectorFrontendClient::inspectedURLChanged):
1986 (WebInspectorFrontendClient::updateWindowTitle):
1987 (WebInspectorFrontendClient::save):
1988 (WebInspectorFrontendClient::append):