1 2015-10-26 Anders Carlsson <andersca@apple.com>
3 Remove dead context menu code
4 https://bugs.webkit.org/show_bug.cgi?id=150567
6 Reviewed by Tim Horton.
8 * WebCoreSupport/WebContextMenuClient.h:
9 * WebCoreSupport/WebContextMenuClient.mm:
10 (WebContextMenuClient::getCustomMenuFromDefaultItems): Deleted.
12 2015-10-23 Anders Carlsson <andersca@apple.com>
14 Invoke the context menu delegate callback right before we return the menu
15 https://bugs.webkit.org/show_bug.cgi?id=150521
17 Reviewed by Tim Horton.
19 Move the getCustomMenuFromDefaultItems to WebHTMLView wholesale. This will allow us to get rid of the ContextMenuClient function from WebCore.
21 * WebCoreSupport/WebContextMenuClient.mm:
22 (WebContextMenuClient::getCustomMenuFromDefaultItems):
23 (isPreVersion3Client): Deleted.
24 (isPreInspectElementTagClient): Deleted.
25 (fixMenusToSendToOldClients): Deleted.
26 (fixMenusReceivedFromOldClients): Deleted.
27 * WebView/WebHTMLView.mm:
28 (isPreVersion3Client):
29 (isPreInspectElementTagClient):
30 (fixMenusToSendToOldClients):
31 (fixMenusReceivedFromOldClients):
32 (customMenuFromDefaultItems):
33 (-[WebHTMLView menuForEvent:]):
35 2015-10-23 Anders Carlsson <andersca@apple.com>
37 More context menu simplification
38 https://bugs.webkit.org/show_bug.cgi?id=150519
40 Reviewed by Tim Horton.
42 There's no need to convert the menu items back to ContextMenuItems just so we can check whether its
43 represented object is the sharing service picker. Also, move the check to the second loop.
45 * WebView/WebHTMLView.mm:
46 (-[WebHTMLView menuForEvent:]):
48 2015-10-23 Anders Carlsson <andersca@apple.com>
50 Simplify the WebKitLegacy menu conversion code
51 https://bugs.webkit.org/show_bug.cgi?id=150509
53 Reviewed by Andreas Kling.
55 * WebCoreSupport/WebContextMenuClient.mm:
56 (fixMenusToSendToOldClients):
57 (fixMenusReceivedFromOldClients):
58 (WebContextMenuClient::getCustomMenuFromDefaultItems):
60 2015-10-23 Anders Carlsson <andersca@apple.com>
62 Don't override already existing represented objects on menu items
63 https://bugs.webkit.org/show_bug.cgi?id=150508
65 Reviewed by Tim Horton.
67 This fixes a crash/exception when a client implements webView:contextMenuItemsForElement:defaultMenuItems: and
68 the default menu has a share menu item.
70 * WebCoreSupport/WebContextMenuClient.mm:
71 (WebContextMenuClient::getCustomMenuFromDefaultItems):
73 2015-10-22 Sam Weinig <sam@webkit.org>
75 Navigations on the same host (but with different schemes and ports) should not trigger universal links
76 <rdar://problem/22811325>
77 https://bugs.webkit.org/show_bug.cgi?id=150481
79 Reviewed by Dan Bernstein.
81 * WebCoreSupport/WebFrameLoaderClient.mm:
83 Update the policy for following universal links to only take host into consideration.
85 2015-10-22 Gordon Sheridan <gordon_sheridan@apple.com>
87 Fix build for clang-700.0.59.5 by replacing deprecated calls to convert points between screen and window coordinates for Mac.
88 https://bugs.webkit.org/show_bug.cgi?id=150379
90 Reviewed by Andy Estes.
92 * WebView/WebHTMLView.mm:
93 (-[WebHTMLView characterIndexForPoint:]):
94 Convert point to rect, and replace call to deprecated convertScreenToBase: with convertRectFromScreen:.
96 (-[WebHTMLView firstRectForCharacterRange:]):
97 Replace call to deprecated convertBaseToScreen: with convertRectToScreen:.
99 2015-10-22 Myles C. Maxfield <mmaxfield@apple.com>
101 [Cocoa] Migrate WKSetPatternPhaseInUserSpace() and WKGetUserToBaseCTM() from WKSI
102 https://bugs.webkit.org/show_bug.cgi?id=150460
104 Reviewed by Tim Horton.
106 * WebCoreSupport/WebSystemInterface.mm:
107 (InitWebCoreSystemInterface): Deleted.
109 2015-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
111 NetworkProcess: DNS prefetch happens in the Web Process
112 https://bugs.webkit.org/show_bug.cgi?id=147824
114 Reviewed by Chris Dumez.
116 Implement FrameLoaderClient::prefetchDNS().
118 * WebCoreSupport/WebFrameLoaderClient.h:
119 * WebCoreSupport/WebFrameLoaderClient.mm:
121 2015-10-20 Commit Queue <commit-queue@webkit.org>
123 Unreviewed, rolling out r191370.
124 https://bugs.webkit.org/show_bug.cgi?id=150384
126 Broke iOS 9 build (Requested by ap on #webkit).
130 "Fix build for clang-700.0.59.5 by replacing deprecated calls
131 to convertScreenToBase: with convertRectFromScreen:."
132 https://bugs.webkit.org/show_bug.cgi?id=150379
133 http://trac.webkit.org/changeset/191370
135 2015-10-20 Gordon Sheridan <gordon_sheridan@apple.com>
137 Fix build for clang-700.0.59.5 by replacing deprecated calls to convertScreenToBase: with convertRectFromScreen:.
138 https://bugs.webkit.org/show_bug.cgi?id=150379
140 Reviewed by Simon Fraser.
142 * WebView/WebHTMLView.mm:
143 (-[WebHTMLView characterIndexForPoint:]):
144 Convert point to rect, and call convertRectFromScreen:.
146 (-[WebHTMLView firstRectForCharacterRange:]):
147 Replace convertBaseToScreen: with convertRectToScreen:.
149 2015-10-20 Tim Horton <timothy_horton@apple.com>
151 Try to fix the build by disabling MAC_GESTURE_EVENTS on 10.9 and 10.10
153 * Configurations/FeatureDefines.xcconfig:
155 2015-10-20 Yoav Weiss <yoav@yoav.ws>
157 Rename the PICTURE_SIZES flag to CURRENTSRC
158 https://bugs.webkit.org/show_bug.cgi?id=150275
160 Reviewed by Dean Jackson.
162 * Configurations/FeatureDefines.xcconfig:
164 2015-10-19 Tim Horton <timothy_horton@apple.com>
166 Try to fix the iOS build
168 * Configurations/FeatureDefines.xcconfig:
170 2015-10-19 Tim Horton <timothy_horton@apple.com>
172 Add magnify and rotate gesture event support for Mac
173 https://bugs.webkit.org/show_bug.cgi?id=150179
174 <rdar://problem/8036240>
176 Reviewed by Darin Adler.
178 * Configurations/FeatureDefines.xcconfig:
181 2015-10-17 Myles C. Maxfield <mmaxfield@apple.com>
183 Build fix after r191260
187 * WebView/WebView.mm:
188 (+[WebView initialize]):
190 2015-10-18 Myles C. Maxfield <mmaxfield@apple.com>
192 Stop honoring the user default "WebKitKerningAndLigaturesEnabledByDefault"
193 https://bugs.webkit.org/show_bug.cgi?id=150287
195 Reviewed by Simon Fraser.
197 * WebView/WebView.mm:
198 (+[WebView initialize]): Deleted.
200 2015-10-18 Commit Queue <commit-queue@webkit.org>
202 Unreviewed, rolling out r191250 and r191253.
203 https://bugs.webkit.org/show_bug.cgi?id=150296
205 Broke all the tests on Windows (Requested by ap on #webkit).
209 "Stop honoring the user default
210 "WebKitKerningAndLigaturesEnabledByDefault""
211 https://bugs.webkit.org/show_bug.cgi?id=150287
212 http://trac.webkit.org/changeset/191250
214 "Build fix after r191250"
215 http://trac.webkit.org/changeset/191253
217 2015-10-17 Myles C. Maxfield <mmaxfield@apple.com>
219 Build fix after r191250
223 * WebView/WebView.mm:
224 (+[WebView initialize]):
226 2015-10-17 Myles C. Maxfield <mmaxfield@apple.com>
228 Stop honoring the user default "WebKitKerningAndLigaturesEnabledByDefault"
229 https://bugs.webkit.org/show_bug.cgi?id=150287
231 Reviewed by Simon Fraser.
233 * WebView/WebView.mm:
234 (+[WebView initialize]): Deleted.
236 2015-10-16 Anders Carlsson <andersca@apple.com>
238 WebEditingDelegate should be a formal protocol
239 https://bugs.webkit.org/show_bug.cgi?id=150254
240 <rdar://problem/23149847>
242 Reviewed by Dan Bernstein.
244 * WebView/WebEditingDelegate.h:
245 Move all the delegate methods inside the protocol declaration. Also make the header self-contained.
248 Change the type of the editing delegate and make it assign.
250 2015-10-15 Myles C. Maxfield <mmaxfield@apple.com>
252 Migrate to CGContextSetBaseCTM() and CGContextResetClip() from WKSI
253 https://bugs.webkit.org/show_bug.cgi?id=150155
255 Reviewed by Tim Horton.
257 * WebCoreSupport/WebSystemInterface.mm:
258 (InitWebCoreSystemInterface): Deleted.
259 * WebView/WebView.mm:
260 (-[WebView _setBaseCTM:forContext:]):
262 2015-10-15 Dan Bernstein <mitz@apple.com>
264 [Cocoa] Stop using WKSetNSURLConnectionDefersCallbacks
265 https://bugs.webkit.org/show_bug.cgi?id=150189
267 Reviewed by Anders Carlsson.
269 * WebCoreSupport/WebSystemInterface.mm:
270 (InitWebCoreSystemInterface): Removed initialization.
272 2015-10-14 Zhuo Li <zachli@apple.com>
274 Augment <input type=search>’s recent search history with the time each entry was added,
275 in order to allow time-based clearing of search history.
276 https://bugs.webkit.org/show_bug.cgi?id=148388.
278 Reviewed by Darin Adler.
280 Replace Vector<String> with Vector<RecentSearch>, where RecentSearch is a struct
281 that consists search string and time, for recent searches in order to store additional time information.
283 All these new RecentSearches are stored in a plist in which the structure looks like:
288 { "searchString": searchString, "date": date },
295 * WebCoreSupport/SearchPopupMenuMac.h:
296 * WebCoreSupport/SearchPopupMenuMac.mm:
297 (SearchPopupMenuMac::saveRecentSearches): Call saveRecentSearches in WebCore::SearchPopupMenuCocoa.
298 (SearchPopupMenuMac::loadRecentSearches): Call loadRecentSearches in WebCore::SearchPopupMenuCocoa.
299 (autosaveKey): Deleted.
301 2015-10-13 Myles C. Maxfield <mmaxfield@apple.com>
303 Split TypesettingFeatures into kerning and ligatures bools
304 https://bugs.webkit.org/show_bug.cgi?id=150074
306 Reviewed by Simon Fraser.
308 * WebView/WebView.mm:
309 (+[WebView initialize]):
311 2015-10-13 Chris Dumez <cdumez@apple.com>
313 Avoid useless copies in range-loops that are using 'auto'
314 https://bugs.webkit.org/show_bug.cgi?id=150091
316 Reviewed by Sam Weinig.
318 Avoid useless copies in range-loops that are using 'auto'. Also use
319 'auto*' instead of 'auto' when range values are pointers for clarity.
321 * WebView/WebFrame.mm:
322 (-[WebFrame getDictationResultRanges:andMetadatas:]):
324 2015-10-09 Anders Carlsson <andersca@apple.com>
326 Don't allow plug-ins to override image types for <embed> elements
327 https://bugs.webkit.org/show_bug.cgi?id=149979
329 Reviewed by Tim Horton.
331 * WebCoreSupport/WebFrameLoaderClient.h:
332 * WebCoreSupport/WebFrameLoaderClient.mm:
333 (WebFrameLoaderClient::objectContentType):
335 2015-10-10 Dan Bernstein <mitz@apple.com>
337 [iOS] Remove unnecessary iOS version checks
338 https://bugs.webkit.org/show_bug.cgi?id=150002
340 Reviewed by Alexey Proskuryakov.
342 * Plugins/WebPluginController.h:
343 * Plugins/WebPluginController.mm:
344 (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
345 (+[WebPluginController addPlugInView:]):
346 (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]): Deleted.
347 * WebCoreSupport/WebFrameLoaderClient.mm:
349 * WebView/WebPreferences.mm:
350 (-[WebPreferences isDNSPrefetchingEnabled]):
351 (-[WebPreferences setWebInspectorServerEnabled:]): Deleted.
352 (-[WebPreferences _setAllowCompositingLayerVisualDegradation:]): Deleted.
353 * WebView/WebPreferencesPrivate.h:
354 * WebView/WebView.mm:
355 (shouldAllowPictureInPictureMediaPlayback):
357 2015-10-10 Dan Bernstein <mitz@apple.com>
359 [iOS] Remove project support for iOS 8
360 https://bugs.webkit.org/show_bug.cgi?id=149993
362 Reviewed by Alexey Proskuryakov.
364 * Configurations/WebKitLegacy.xcconfig:
366 2015-10-06 Daniel Bates <dbates@webkit.org>
368 Enable XSLT when building WebKit for iOS using the public iOS SDK
369 https://bugs.webkit.org/show_bug.cgi?id=149827
371 Reviewed by Alexey Proskuryakov.
373 * Configurations/FeatureDefines.xcconfig:
375 2015-10-06 Alex Christensen <achristensen@webkit.org>
377 Report error when main resource is blocked by content blocker
378 https://bugs.webkit.org/show_bug.cgi?id=149719
379 rdar://problem/21970595
381 Reviewed by Brady Eidson.
383 * WebCoreSupport/WebFrameLoaderClient.h:
384 * WebCoreSupport/WebFrameLoaderClient.mm:
385 (WebFrameLoaderClient::blockedError):
386 (WebFrameLoaderClient::blockedByContentBlockerError):
387 (WebFrameLoaderClient::cannotShowURLError):
388 Add blockedByContentBlockerError so WebFrameLoaderClient is not an abstract class,
389 but it should be unused because content blockers are not enabled on WK1.
391 2015-10-05 Daniel Bates <dabates@apple.com>
393 DumpRenderTree built with public iOS SDK crashes under -[WebPreferences(WebPrivate) _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]
394 https://bugs.webkit.org/show_bug.cgi?id=149766
396 Reviewed by Alexey Proskuryakov.
398 Assert that we have a non-null pointer to a cookie storage.
400 * WebView/WebPreferences.mm:
401 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
403 2015-10-05 Andreas Kling <akling@apple.com>
405 Remove unused HistoryItem::targetItem()
406 <https://webkit.org/b/149803>
408 Reviewed by Anders Carlsson.
410 Remove the only (unused) client of HistoryItem::targetItem().
412 * History/WebHistoryItem.mm:
413 * History/WebHistoryItemPrivate.h:
415 2015-10-05 Andreas Kling <akling@apple.com>
417 Remove unused HistoryItem::parent
418 <https://webkit.org/b/149803>
420 Reviewed by Anders Carlsson.
422 Remove the only (unused) client of HistoryItem's with-parent constructor.
424 * History/WebHistoryItem.mm:
425 (-[WebHistoryItem initWithURL:target:parent:title:]): Deleted.
426 * History/WebHistoryItemInternal.h:
428 2015-09-30 Timothy Horton <timothy_horton@apple.com>
430 Compute document marker rects at use time instead of paint time
431 https://bugs.webkit.org/show_bug.cgi?id=149643
433 Reviewed by Darin Adler.
435 * WebView/WebHTMLView.mm:
436 (-[WebHTMLView rectsForTextMatches]):
438 2015-09-16 Carlos Garcia Campos <cgarcia@igalia.com>
440 printing does not use minimum page zoom factor
441 https://bugs.webkit.org/show_bug.cgi?id=108507
443 Reviewed by Darin Adler.
445 Pass a the frame as a reference instead of using pointers.
447 * Misc/WebCoreStatistics.mm:
448 (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
449 (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
451 2015-09-25 Eric Carlson <eric.carlson@apple.com>
453 Clean up user media request internal API
454 https://bugs.webkit.org/show_bug.cgi?id=149527
456 Reviewed by Tim Horton.
458 * WebCoreSupport/WebUserMediaClient.mm:
459 (WebUserMediaClient::cancelRequest): Put UserMediaRequestsMap in a local instead or calling
460 userMediaRequestsMap() three times.
461 (-[WebUserMediaPolicyListener allow]): Get rid of unneeded local variables.
462 (-[WebUserMediaPolicyListener allowDeviceWithVideoUID]): Deleted, unused.
464 2015-09-22 Andy Estes <aestes@apple.com>
466 Disable QuickLook on tvOS
467 https://bugs.webkit.org/show_bug.cgi?id=149492
468 <rdar://problem/22741586>
470 Reviewed by Dan Bernstein.
472 We can't use USE(QUICK_LOOK) in a Private header, and postprocess-headers.sh doesn't know how to strip things
473 that aren't feature flags. So, if QuickLook is disabled, we'll just always define WebQuickLookFileNameKey and
474 WebQuickLookUTIKey, and we'll also define -quickLookContentForURL: but have it return nil.
476 * WebView/WebView.mm:
477 (-[WebView quickLookContentForURL:]):
479 2015-09-22 Tim Horton <timothy_horton@apple.com>
481 Make it more obvious when using an unaccelerated image buffer, and fix a few callers who do
482 https://bugs.webkit.org/show_bug.cgi?id=149428
484 Reviewed by Simon Fraser and Darin Adler.
486 * WebCoreSupport/WebContextMenuClient.mm:
487 (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
489 2015-09-21 Alexey Proskuryakov <ap@apple.com>
491 REGRESSION (r182648): UIWebView does not set location.hash synchronously
492 https://bugs.webkit.org/show_bug.cgi?id=149415
493 <rdar://problem/22169467>
495 Reviewed by Darin Adler.
497 The problem was that the delegate in UI thread became asynchronous due to calling
500 * WebCoreSupport/WebFrameLoaderClient.mm: (shouldTryAppLink): Don't attempt app
501 links for same domain navigations. This check is part of substantially more complicated
502 logic in WebKit2 that I don't understand, but that should be enough to demonstrate
503 that this fix is an improvement at least.
505 2015-09-20 Youenn Fablet <youenn.fablet@crf.canon.fr>
507 Remove XHR_TIMEOUT compilation guard
508 https://bugs.webkit.org/show_bug.cgi?id=149260
510 Reviewed by Benjamin Poulain.
512 * Configurations/FeatureDefines.xcconfig:
514 2015-09-18 Commit Queue <commit-queue@webkit.org>
516 Unreviewed, rolling out r189908.
517 https://bugs.webkit.org/show_bug.cgi?id=149368
519 Broke run-webkit-tests --pixel (Requested by ap on #webkit).
523 "printing does not use minimum page zoom factor"
524 https://bugs.webkit.org/show_bug.cgi?id=108507
525 http://trac.webkit.org/changeset/189908
527 2015-09-17 Brian Burg <bburg@apple.com>
529 ASSERT(!m_frontendRouter->hasLocalFrontend()) when running Web Inspector tests
530 https://bugs.webkit.org/show_bug.cgi?id=149006
532 Reviewed by Joseph Pecoraro.
534 WK1 WebInspectorClient was connecting to the wrong controllers. Fix this, and
535 remove extra code paths for closing the frontend.
537 * WebCoreSupport/WebInspectorClient.h:
538 * WebCoreSupport/WebInspectorClient.mm:
539 (-[WebInspectorWindowController destroyInspectorView]):
541 Disconnect the FrontendClient from the frontend page's inspector controller.
542 Do this teardown before releasing the frontend, otherwise we can't use it.
544 (WebInspectorClient::inspectedPageDestroyed): Deleted.
545 (WebInspectorClient::closeLocalFrontend): Deleted.
546 (WebInspectorFrontendClient::disconnectFromBackend): Deleted.
547 * WebInspector/WebInspector.mm:
548 (-[WebInspector inspectedWebViewClosed]):
550 Make sure to close ourself if the inspected page closes.
552 (-[WebInspector close:]):
554 Go through the frontend instead of InspectorController.
556 * WebInspector/WebInspectorFrontend.h:
557 * WebInspector/WebInspectorFrontend.mm:
558 (-[WebInspectorFrontend close]):
560 2015-09-16 Carlos Garcia Campos <cgarcia@igalia.com>
562 printing does not use minimum page zoom factor
563 https://bugs.webkit.org/show_bug.cgi?id=108507
565 Reviewed by Darin Adler.
567 Pass a the frame as a reference instead of using pointers.
569 * Misc/WebCoreStatistics.mm:
570 (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
571 (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
573 2015-09-16 Brady Eidson <beidson@apple.com>
575 Have window.indexedDB.deleteDatabase return an IDBOpenDBRequest.
576 https://bugs.webkit.org/show_bug.cgi?id=149229
578 Reviewed by Alex Christensen.
580 * WebView/WebView.mm:
581 (-[WebView _preferencesChanged:]): Enable IDB in WK1.
583 2015-09-15 Ryosuke Niwa <rniwa@webkit.org>
585 Add ShadowRoot interface and Element.prototype.attachShadow
586 https://bugs.webkit.org/show_bug.cgi?id=149187
588 Reviewed by Antti Koivisto.
590 * Configurations/FeatureDefines.xcconfig:
592 2015-09-14 Alex Christensen <achristensen@webkit.org>
594 Progress towards CMake on Mac.
595 https://bugs.webkit.org/show_bug.cgi?id=149123
597 Reviewed by Chris Dumez.
599 * WebView/WebPDFDocumentExtras.mm:
600 (appendValuesInPDFNameSubtreeToVector):
601 * WebView/WebPDFView.mm:
602 Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks.
604 2015-09-12 Brian Burg <bburg@apple.com>
606 Web Inspector: disambiguate inspected/frontend controllers and pages in backend code
607 https://bugs.webkit.org/show_bug.cgi?id=149071
609 Reviewed by Joseph Pecoraro.
611 Be consistent about prefixing pages, inspector controllers, and window controllers
612 with either "frontend" or "inspected", as appropriate. This change makes obvious some bugs
613 in the frontend connection code, which are tracked by https://webkit.org/b/149006.
615 * WebCoreSupport/WebInspectorClient.h:
616 * WebCoreSupport/WebInspectorClient.mm:
617 (WebInspectorClient::WebInspectorClient): Renamed.
618 (WebInspectorClient::inspectedPageDestroyed): Renamed.
619 (WebInspectorClient::openLocalFrontend): Renamed.
620 (WebInspectorClient::closeLocalFrontend): Renamed.
621 (WebInspectorClient::didSetSearchingForNode):
622 (WebInspectorFrontendClient::WebInspectorFrontendClient):
623 (WebInspectorFrontendClient::attachAvailabilityChanged):
624 (WebInspectorFrontendClient::canAttach):
625 (WebInspectorFrontendClient::frontendLoaded):
626 (WebInspectorFrontendClient::startWindowDrag):
627 (WebInspectorFrontendClient::bringToFront):
628 (WebInspectorFrontendClient::closeWindow):
629 (WebInspectorFrontendClient::disconnectFromBackend):
630 (WebInspectorFrontendClient::attachWindow):
631 (WebInspectorFrontendClient::detachWindow):
632 (WebInspectorFrontendClient::setAttachedWindowHeight):
633 (WebInspectorFrontendClient::setToolbarHeight):
634 (WebInspectorFrontendClient::updateWindowTitle):
635 (WebInspectorFrontendClient::save):
636 (WebInspectorFrontendClient::append):
637 (-[WebInspectorWindowController init]):
638 (-[WebInspectorWindowController initWithInspectedWebView:isUnderTest:]):
639 (-[WebInspectorWindowController dealloc]):
640 (-[WebInspectorWindowController frontendWebView]):
641 (-[WebInspectorWindowController close]):
642 (-[WebInspectorWindowController showWindow:]):
643 (-[WebInspectorWindowController setAttachedWindowHeight:]):
644 (-[WebInspectorWindowController destroyInspectorView]):
645 (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
646 (WebInspectorClient::inspectorDestroyed): Deleted.
647 (WebInspectorClient::openInspectorFrontend): Deleted.
648 (WebInspectorClient::closeInspectorFrontend): Deleted.
649 (-[WebInspectorWindowController webView]): Deleted.
650 * WebInspector/WebInspector.h:
651 * WebInspector/WebInspector.mm:
652 (-[WebInspector initWithInspectedWebView:]): Renamed.
653 (-[WebInspector inspectedWebViewClosed]): Renamed.
654 (-[WebInspector showWindow]):
655 (-[WebInspector close:]):
656 (-[WebInspector evaluateInFrontend:script:]):
657 (-[WebInspector releaseFrontend]):
658 (-[WebInspector initWithWebView:]): Deleted.
659 (-[WebInspector webViewClosed]): Deleted.
660 * WebView/WebView.mm:
662 (-[WebView inspector]):
664 2015-09-10 Chris Dumez <cdumez@apple.com>
666 Node.appendChild(null) / replaceChild(null, null) / removeChild(null) / insertBefore(null, ref) should throw a TypeError
667 https://bugs.webkit.org/show_bug.cgi?id=148971
668 <rdar://problem/22560883>
669 <rdar://problem/22559225>
671 Reviewed by Ryosuke Niwa.
673 ContainerNode::appendChild() now takes a Ref<Node>&& parameter so we
674 need to update the call site.
676 * WebView/WebFrame.mm:
677 (-[WebFrame _documentFragmentWithNodesAsParagraphs:]):
679 2015-09-07 Andy Estes <aestes@apple.com>
681 [Mac] DebugRelease builds should link against libWebKitSystemInterfaceElCapitan.a on 10.11
682 https://bugs.webkit.org/show_bug.cgi?id=148946
683 <rdar://problem/22603981>
685 Reviewed by Dan Bernstein.
687 * Configurations/DebugRelease.xcconfig:
689 2015-09-04 Brian Burg <bburg@apple.com>
691 Web Inspector: agents should send messages through FrontendRouter instead of FrontendChannel
692 https://bugs.webkit.org/show_bug.cgi?id=148492
694 Reviewed by Joseph Pecoraro.
696 * WebCoreSupport/WebInspectorClient.h: Clean up the forward declarations, don't use InspectorForwarding.h.
697 * WebCoreSupport/WebInspectorClient.mm:
698 (WebInspectorClient::openInspectorFrontend):
700 2015-09-04 Csaba Osztrogonác <ossy@webkit.org>
702 Remove unnecessary compiler guards from mm files
703 https://bugs.webkit.org/show_bug.cgi?id=148797
705 Reviewed by Dan Bernstein.
707 * Plugins/WebBasePluginPackage.mm:
708 * Plugins/WebNetscapePluginPackage.mm:
710 2015-09-04 Brian Burg <bburg@apple.com>
712 Web Inspector: InspectorController should support multiple frontend channels
713 https://bugs.webkit.org/show_bug.cgi?id=148538
715 Reviewed by Joseph Pecoraro.
717 Remove the notifyInspectorController flag from closeWindow. Since InspectorClients
718 must now manually disconnect their FrontendChannel(s), we should always
719 perform the teardown that was guarded by this flag.
721 * WebCoreSupport/WebInspectorClient.h:
722 * WebCoreSupport/WebInspectorClient.mm:
723 (WebInspectorClient::bringFrontendToFront): Add a missing assertion.
724 (WebInspectorFrontendClient::closeWindow):
725 (WebInspectorFrontendClient::disconnectFromBackend):
726 (-[WebInspectorWindowController windowShouldClose:]):
727 (-[WebInspectorWindowController destroyInspectorView]): Always clear the frontend client.
728 (-[WebInspectorWindowController destroyInspectorView:]): Renamed to above.
730 2015-09-03 Commit Queue <commit-queue@webkit.org>
732 Unreviewed, rolling out r189338.
733 https://bugs.webkit.org/show_bug.cgi?id=148785
735 Caused tons of crashes (Requested by cdumez on #webkit).
739 "Web Inspector: InspectorController should support multiple
741 https://bugs.webkit.org/show_bug.cgi?id=148538
742 http://trac.webkit.org/changeset/189338
744 2015-09-03 Brian Burg <bburg@apple.com>
746 Web Inspector: InspectorController should support multiple frontend channels
747 https://bugs.webkit.org/show_bug.cgi?id=148538
749 Reviewed by Joseph Pecoraro.
751 Remove the notifyInspectorController flag from closeWindow. Since InspectorClients
752 must now manually disconnect their FrontendChannel(s), we should always
753 perform the teardown that was guarded by this flag.
755 * WebCoreSupport/WebInspectorClient.h:
756 * WebCoreSupport/WebInspectorClient.mm:
757 (WebInspectorClient::bringFrontendToFront): Add a missing assertion.
758 (WebInspectorFrontendClient::closeWindow):
759 (WebInspectorFrontendClient::disconnectFromBackend):
760 (-[WebInspectorWindowController windowShouldClose:]):
761 (-[WebInspectorWindowController destroyInspectorView]): Always clear the frontend client.
762 (-[WebInspectorWindowController destroyInspectorView:]): Renamed to above.
764 2015-08-26 Andy Estes <aestes@apple.com>
766 [Content Filtering] Determine navigation and content policy before continuing to filter a load
767 https://bugs.webkit.org/show_bug.cgi?id=148506
769 Reviewed by Brady Eidson.
771 Deleted parts of r188486 and r188851.
773 * WebCoreSupport/WebFrameLoaderClient.h:
774 * WebCoreSupport/WebFrameLoaderClient.mm:
775 (WebFrameLoaderClient::convertMainResourceLoadToDownload):
776 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
778 2015-08-31 Chris Dumez <cdumez@apple.com>
780 Range.detach() / NodeIterator.detach() should be no-ops as per the latest DOM specification
781 https://bugs.webkit.org/show_bug.cgi?id=148454
783 Reviewed by Ryosuke Niwa.
785 Update Range API call sites to reflect changes.
787 * WebView/WebImmediateActionController.mm:
788 (dictionaryPopupInfoForRange):
790 2015-08-28 Myles C. Maxfield <mmaxfield@apple.com>
792 Migrate GraphicsContexts from pointers to references
793 https://bugs.webkit.org/show_bug.cgi?id=148561
795 Reviewed by Tim Horton.
797 * Misc/WebKitNSStringExtras.mm:
798 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
799 * WebCoreSupport/WebContextMenuClient.mm:
800 (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
801 * WebView/WebFrame.mm:
802 (-[WebFrame _drawRect:contentsOnly:]):
804 2015-08-28 Eric Carlson <eric.carlson@apple.com>
806 [Mac] Restructure WebMediaSessionManager for testing
807 https://bugs.webkit.org/show_bug.cgi?id=148593
809 Reviewed by Jer Noble.
811 * WebView/WebMediaPlaybackTargetPicker.mm:
812 (WebMediaPlaybackTargetPicker::addPlaybackTargetPickerClient): Call WebMediaSessionManager::singleton,
813 not WebMediaSessionManagerMac::singleton.
814 (WebMediaPlaybackTargetPicker::removePlaybackTargetPickerClient): Ditto.
815 (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker): Ditto.
816 (WebMediaPlaybackTargetPicker::playbackTargetPickerClientStateDidChange): Ditto.
817 (WebMediaPlaybackTargetPicker::setPlaybackTarget): Ditto.
818 (WebMediaPlaybackTargetPicker::invalidate): Ditto.
820 2015-08-28 Jer Noble <jer.noble@apple.com>
822 [iOS] Add WebKit/WebKit2 settings to control automatic data loading
823 https://bugs.webkit.org/show_bug.cgi?id=148579
825 Reviewed by Anders Carlsson.
827 Add a WebPreference to allow clients to control whether media is allowed to load automatically.
828 Remove the (now unnecessary) WebFrame property to do the same.
830 * WebView/WebFrame.mm:
831 (-[WebFrame mediaDataLoadsAutomatically]): Deleted.
832 (-[WebFrame setMediaDataLoadsAutomatically:]): Deleted.
833 * WebView/WebFramePrivate.h:
834 * WebView/WebPreferenceKeysPrivate.h:
835 * WebView/WebPreferences.mm:
836 (+[WebPreferences initialize]):
837 (-[WebPreferences mediaDataLoadsAutomatically]):
838 (-[WebPreferences setMediaDataLoadsAutomatically:]):
839 * WebView/WebPreferencesPrivate.h:
840 * WebView/WebView.mm:
841 (-[WebView _preferencesChanged:]):
843 2015-08-28 Beth Dakin <bdakin@apple.com>
845 Crash in WK1 when clicking on a PDF inside an iframe
846 https://bugs.webkit.org/show_bug.cgi?id=148585
848 rdar://problem/22165194
850 Reviewed by Tim Horton.
852 Only handle WebHTMLViews.
853 * WebView/WebImmediateActionController.mm:
854 (-[WebImmediateActionController immediateActionRecognizerWillPrepare:]):
855 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
857 2015-08-28 Jer Noble <jer.noble@apple.com>
859 [iOS] Make the AllowsInlineMediaPlayback preference work in WebKit / WebKit2.
860 https://bugs.webkit.org/show_bug.cgi?id=147512
862 Reviewed by Anders Carlsson.
864 Add a new preference, inlineMediaPlaybackRequiresPlaysInlineAttribute, which defaults to
865 NO on iPad and YES on iPhone and iPod.
867 * WebView/WebPreferenceKeysPrivate.h:
868 * WebView/WebPreferences.mm:
869 (+[WebPreferences initialize]): Default the value of WebKitAllowsInlineMediaPlaybackPreferenceKey to
870 YES on iPad and NO on iPhone and iPod.
871 (-[WebPreferences inlineMediaPlaybackRequiresPlaysInlineAttribute]):
872 (-[WebPreferences setInlineMediaPlaybackRequiresPlaysInlineAttribute:]):
873 * WebView/WebPreferencesPrivate.h:
874 * WebView/WebView.mm:
875 (-[WebView _preferencesChanged:]):
877 2015-08-28 Timothy Horton <timothy_horton@apple.com>
879 [Mac] Right-clicking on GIFs spins the UI process for a while
880 https://bugs.webkit.org/show_bug.cgi?id=148566
881 <rdar://problem/22460854>
883 Reviewed by Brady Eidson.
885 * WebCoreSupport/WebContextMenuClient.mm:
886 (WebContextMenuClient::shareMenuItem):
887 Make an NSImage directly from the hit image if possible.
889 2015-08-27 Timothy Horton <timothy_horton@apple.com>
891 Factor out Lookup invocation
892 https://bugs.webkit.org/show_bug.cgi?id=148509
894 Reviewed by Anders Carlsson.
896 * WebView/DictionaryPopupInfo.h: Removed.
899 * WebView/WebHTMLView.mm:
900 (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
901 DictionaryPopupInfo keeps a TextIndicatorData, not a TextIndicator.
903 * WebView/WebImmediateActionController.mm:
904 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
905 (dictionaryPopupInfoForRange):
906 (-[WebImmediateActionController _animationControllerForText]):
907 * WebView/WebView.mm:
908 (-[WebView _prepareForDictionaryLookup]):
909 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
910 (-[WebView _setTextIndicator:withLifetime:]):
911 (-[WebView _showDictionaryLookupPopup:]):
912 * WebView/WebViewInternal.h:
913 Move a bunch of code to WebCore.
914 Factor some that has to stay out into _prepareForDictionaryLookup.
916 2015-08-27 Brian Burg <bburg@apple.com>
918 Web Inspector: FrontendChannel should know its own connection type
919 https://bugs.webkit.org/show_bug.cgi?id=148482
921 Reviewed by Joseph Pecoraro.
923 * WebCoreSupport/WebInspectorClient.h: add connectionType().
925 2015-08-26 Beth Dakin <bdakin@apple.com>
927 REGRESSION: Safari navigates after a cancelled force click
928 https://bugs.webkit.org/show_bug.cgi?id=148491
930 rdar://problem/22394323
932 Reviewed by Tim Horton.
934 Use the current stage to determine which type of cancel this is.
935 * WebView/WebImmediateActionController.mm:
936 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
938 2015-08-26 Tim Horton <timothy_horton@apple.com>
940 Layout Test platform/mac/fast/events/content-inset-hit-testing-in-frame.html is flaky
941 https://bugs.webkit.org/show_bug.cgi?id=148409
943 Reviewed by Beth Dakin.
945 * WebView/WebDynamicScrollBarsView.mm:
946 (-[WebDynamicScrollBarsView setContentInsets:]):
947 Explicitly force our NSScrollView to lay out after updating
948 content insets. We depend on this happening synchronously (specifically,
949 we need our frame/bounds change callbacks to fire), because the layout
950 which will happen subsequently needs up-to-date information in order to
951 correctly a) enable scrollbars and then b) update the scroll position.
953 2015-08-23 Andy Estes <aestes@apple.com>
955 [Content Filtering] REGRESSION (r182356): Provisional URL is incorrect in didReceiveServerRedirectForProvisionalLoadForFrame when Content Filtering is enabled
956 https://bugs.webkit.org/show_bug.cgi?id=147872
957 rdar://problem/22044000
959 Reviewed by Dan Bernstein.
961 * WebCoreSupport/WebFrameLoaderClient.h:
962 * WebCoreSupport/WebFrameLoaderClient.mm:
963 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Set provisionalURL using the URL argument.
965 2015-08-23 Geoffrey Garen <ggaren@apple.com>
967 Unreviewed, rolling back in r188803.
969 "Debugger's VM should never be null"
970 https://bugs.webkit.org/show_bug.cgi?id=148341
971 http://trac.webkit.org/changeset/188803
973 * WebView/WebScriptDebugger.mm:
975 (WebScriptDebugger::WebScriptDebugger):
977 2015-08-21 Commit Queue <commit-queue@webkit.org>
979 Unreviewed, rolling out r188792 and r188803.
980 https://bugs.webkit.org/show_bug.cgi?id=148347
982 broke lots of tests, ggaren is going to investigate and reland
983 (Requested by thorton on #webkit).
987 "Unify code paths for manually deleting all code"
988 https://bugs.webkit.org/show_bug.cgi?id=148280
989 http://trac.webkit.org/changeset/188792
991 "Debugger's VM should never be null"
992 https://bugs.webkit.org/show_bug.cgi?id=148341
993 http://trac.webkit.org/changeset/188803
995 2015-08-21 Chris Dumez <cdumez@apple.com>
997 document.getElementsByTagName should return an HTMLCollection
998 https://bugs.webkit.org/show_bug.cgi?id=110611
1000 Reviewed by Darin Adler.
1002 * WebView/WebFrame.mm:
1003 (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]):
1004 Use .ptr() as createFragmentFromMarkup() now returns a
1005 Ref<> instead of a RefPtr<>.
1007 2015-08-21 Anders Carlsson <andersca@apple.com>
1009 Get rid of uses of the old callOnMainThread function that takes a function ptr + context
1010 https://bugs.webkit.org/show_bug.cgi?id=148324
1012 Reviewed by Tim Horton.
1014 * Storage/WebDatabaseManagerClient.mm:
1015 (DidModifyOriginData::dispatchToMainThread):
1016 (DidModifyOriginData::dispatchDidModifyOriginOnMainThread): Deleted.
1017 * Storage/WebStorageTrackerClient.h:
1018 * Storage/WebStorageTrackerClient.mm:
1019 (WebStorageTrackerClient::dispatchDidModifyOrigin):
1020 (WebStorageTrackerClient::dispatchDidModifyOriginOnMainThread): Deleted.
1022 2015-08-19 Eric Carlson <eric.carlson@apple.com>
1024 Remove ENABLE_WEBVTT_REGIONS
1025 https://bugs.webkit.org/show_bug.cgi?id=148184
1027 Reviewed by Jer Noble.
1029 * Configurations/FeatureDefines.xcconfig: Remove ENABLE_WEBVTT_REGIONS.
1031 2015-08-17 Filip Pizlo <fpizlo@apple.com>
1033 Replace all remaining uses of WTF::Mutex with WTF::Lock
1034 https://bugs.webkit.org/show_bug.cgi?id=148089
1036 Reviewed by Geoffrey Garen.
1038 * Storage/WebDatabaseManager.mm:
1039 (transactionBackgroundTaskIdentifierLock):
1040 (+[WebDatabaseManager startBackgroundTask]):
1041 (+[WebDatabaseManager endBackgroundTask]):
1042 * WebView/WebView.mm:
1043 (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
1044 (-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
1045 (-[WebView _setCustomFixedPositionLayoutRect:]):
1046 (-[WebView _fetchCustomFixedPositionLayoutRect:]):
1047 * WebView/WebViewData.h:
1049 2015-08-17 Jeff Miller <jeffm@apple.com>
1051 Add a method to WebInspector to indicate whether the inspector is open
1052 https://bugs.webkit.org/show_bug.cgi?id=148087
1054 Reviewed by Joseph Pecoraro.
1056 * WebInspector/WebInspector.h:
1057 Added open property.
1059 * WebInspector/WebInspector.mm:
1060 (-[WebInspector isOpen]):
1061 Added, returns YES if we have a frontend.
1063 2015-08-13 Andy Estes <aestes@apple.com>
1065 [Cocoa] Downloads do not start if policy decision is made asynchronously
1066 https://bugs.webkit.org/show_bug.cgi?id=147985
1068 Reviewed by Brady Eidson.
1070 * WebCoreSupport/WebFrameLoaderClient.mm:
1071 (WebFrameLoaderClient::convertMainResourceLoadToDownload): Started a new download if the main resource loader is not calling didReceiveResponse.
1073 2015-08-13 Tim Horton <timothy_horton@apple.com>
1075 Performing a Lookup on wrapped text puts the popover arrow in the wrong place (off to the right)
1076 https://bugs.webkit.org/show_bug.cgi?id=148012
1077 <rdar://problem/19238094>
1079 Reviewed by Simon Fraser.
1081 * WebView/WebView.mm:
1082 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
1083 (-[WebView _showDictionaryLookupPopup:]):
1084 Adopt the new SPI, handing it the first text rect, instead of having it
1085 guess where to put the popover.
1086 Also, null-check the TextIndicator.
1088 2015-08-13 Tim Horton <timothy_horton@apple.com>
1090 Refactor and improve TextIndicator to prepare for tests
1091 https://bugs.webkit.org/show_bug.cgi?id=147622
1093 Reviewed by Simon Fraser.
1095 * WebView/WebFrame.mm:
1096 (-[WebFrame _rectsForRange:]):
1097 * WebView/WebHTMLView.mm:
1098 (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
1099 (-[WebHTMLView quickLookWithEvent:]):
1100 * WebView/WebImmediateActionController.mm:
1101 (-[WebImmediateActionController webView:didHandleScrollWheel:]):
1102 (-[WebImmediateActionController _cancelImmediateAction]):
1103 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
1104 (-[WebImmediateActionController _defaultAnimationController]):
1105 (-[WebImmediateActionController menuItemDidClose:]):
1106 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
1107 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
1108 (dictionaryPopupInfoForRange):
1109 * WebView/WebView.mm:
1110 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
1111 (-[WebView _setTextIndicator:]):
1112 (-[WebView _setTextIndicator:withLifetime:]):
1113 (-[WebView _clearTextIndicatorWithAnimation:]):
1114 (-[WebView _showDictionaryLookupPopup:]):
1115 (-[WebView _dictionaryLookupPopoverWillClose:]):
1116 * WebView/WebViewInternal.h:
1117 Adopt TextIndicatorOptions.
1118 Adjust to Range method renames.
1120 2015-08-13 Geoffrey Garen <ggaren@apple.com>
1122 Standardize on the phrase "delete code"
1123 https://bugs.webkit.org/show_bug.cgi?id=147984
1125 Reviewed by Mark Lam.
1127 * WebView/WebView.mm:
1128 (+[WebView discardAllCompiledCode]):
1129 (+[WebView isCharacterSmartReplaceExempt:isPreviousCharacter:]):
1131 2015-08-12 Anders Carlsson <andersca@apple.com>
1133 Use WTF::Optional in WindowFeatures
1134 https://bugs.webkit.org/show_bug.cgi?id=147956
1136 Reviewed by Sam Weinig.
1138 * WebCoreSupport/WebChromeClient.mm:
1139 (WebChromeClient::createWindow):
1141 2015-08-13 Matthew Daiter <mdaiter@apple.com>
1143 Linking device query ability from WebKit2 to clients
1144 https://bugs.webkit.org/show_bug.cgi?id=147263
1145 <rdar://problem/21983345>
1147 Reviewed by Jer Noble.
1149 * WebCoreSupport/WebUserMediaClient.mm:
1150 (-[WebUserMediaPolicyListener allow]):
1151 (-[WebUserMediaPolicyListener allowDeviceWithVideoUID:andAudioUID:]):
1154 2015-08-10 Chris Dumez <cdumez@apple.com>
1156 Align WebKit1's PageCache size with WebKit2's
1157 https://bugs.webkit.org/show_bug.cgi?id=147831
1159 Reviewed by Sam Weinig.
1161 Align WebKit1's PageCache size with WebKit2's for consistency. Also, we
1162 have data showing that keeping more than 3 pages in the PageCache is
1165 * WebView/WebView.mm:
1166 (+[WebView _setCacheModel:]):
1168 2015-08-06 Anders Carlsson <andersca@apple.com>
1170 Crashes when calling swizzled setNeedsDisplayInRect: on heartbeat thread
1171 https://bugs.webkit.org/show_bug.cgi?id=147746
1172 rdar://problem/18698271
1174 Reviewed by Dan Bernstein.
1176 Back off if someone is calling our swizzled setNeedsDisplayInRect on a non-main thread.
1178 * WebView/WebHTMLView.mm:
1179 (setNeedsDisplayInRect):
1181 2015-08-05 Filip Pizlo <fpizlo@apple.com>
1183 Unreviewed, roll out http://trac.webkit.org/changeset/187972.
1185 * Storage/WebDatabaseManager.mm:
1186 (transactionBackgroundTaskIdentifierLock):
1187 (+[WebDatabaseManager startBackgroundTask]):
1188 (+[WebDatabaseManager endBackgroundTask]):
1189 * WebView/WebView.mm:
1190 (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
1191 (-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
1192 (-[WebView _setCustomFixedPositionLayoutRect:]):
1193 (-[WebView _fetchCustomFixedPositionLayoutRect:]):
1194 * WebView/WebViewData.h:
1196 2015-08-04 Filip Pizlo <fpizlo@apple.com>
1198 Rename Mutex to DeprecatedMutex
1199 https://bugs.webkit.org/show_bug.cgi?id=147675
1201 Reviewed by Geoffrey Garen.
1203 * Storage/WebDatabaseManager.mm:
1204 (transactionBackgroundTaskIdentifierLock):
1205 (+[WebDatabaseManager startBackgroundTask]):
1206 (+[WebDatabaseManager endBackgroundTask]):
1207 * WebView/WebView.mm:
1208 (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
1209 (-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
1210 (-[WebView _setCustomFixedPositionLayoutRect:]):
1211 (-[WebView _fetchCustomFixedPositionLayoutRect:]):
1212 * WebView/WebViewData.h:
1214 2015-08-04 Anders Carlsson <andersca@apple.com>
1216 Remove database thread pause code
1217 https://bugs.webkit.org/show_bug.cgi?id=147669
1219 Reviewed by Daniel Bates.
1221 * Storage/WebDatabaseManager.mm:
1222 (WebKitSetWebDatabasePaused): Deleted.
1223 * Storage/WebDatabaseManagerInternal.h:
1225 2015-08-04 Simon Fraser <simon.fraser@apple.com>
1229 * Plugins/WebNetscapePluginStream.h:
1231 2015-08-04 Anders Carlsson <andersca@apple.com>
1233 Get rid of ReasonForCallingAllowPlugins since it's not used anywhere
1234 https://bugs.webkit.org/show_bug.cgi?id=147648
1236 Reviewed by Andreas Kling.
1238 * WebCoreSupport/WebPlatformStrategies.mm:
1239 (WebPlatformStrategies::getPluginInfo):
1240 * WebView/WebFrame.mm:
1241 (-[WebFrame _canProvideDocumentSource]):
1243 2015-08-04 Alexey Proskuryakov <ap@apple.com>
1245 Implement NPAPI redirect handling
1246 https://bugs.webkit.org/show_bug.cgi?id=138675
1247 rdar://problem/15779101
1249 Patch by Jeffrey Pfau, updated and tweaked by me.
1251 Reviewed by Anders Carlsson.
1253 * Plugins/Hosted/HostedNetscapePluginStream.h:
1254 (WebKit::HostedNetscapePluginStream::streamID):
1255 * Plugins/Hosted/HostedNetscapePluginStream.mm:
1256 (WebKit::HostedNetscapePluginStream::didFinishLoading):
1257 (WebKit::HostedNetscapePluginStream::willSendRequest):
1258 (WebKit::HostedNetscapePluginStream::didReceiveResponse):
1259 * Plugins/WebNetscapePluginStream.h:
1260 * Plugins/WebNetscapePluginStream.mm:
1261 (WebNetscapePluginStream::stop):
1262 (WebNetscapePluginStream::willSendRequest):
1263 (WebNetscapePluginStream::didReceiveResponse):
1265 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
1267 Unreviewed post-review feedback on r187797
1269 The correct terminology is "registered" instead of "activated."
1271 * WebView/WebHTMLView.mm:
1272 (-[WebHTMLView _updateFontPanel]):
1274 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
1276 Clean up casts between NSFont*s and CTFontRefs
1277 https://bugs.webkit.org/show_bug.cgi?id=147618
1279 Reviewed by Mitz Pettel
1281 For toll free bridged types, it makes more sense to do a C-style cast, than jump
1282 through hoops for older compilers.
1284 * WebView/WebHTMLView.mm:
1285 (-[WebHTMLView _updateFontPanel]):
1287 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
1289 Fix the Yosemite build after r187797
1293 * WebView/WebHTMLView.mm:
1294 (-[WebHTMLView _updateFontPanel]):
1296 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
1298 REGRESSION(r184899): Crash when focusing an input element styled with a web font
1299 https://bugs.webkit.org/show_bug.cgi?id=147616
1300 <rdar://problem/21838271>
1302 Reviewed by Dean Jackson.
1304 NSFontManager can't handle web fonts. We used to pass null to NSFontManager in this case,
1305 but r184899 changed that.
1307 * WebView/WebHTMLView.mm:
1308 (-[WebHTMLView _updateFontPanel]):
1310 2015-07-31 Chris Dumez <cdumez@apple.com>
1312 Drop dummy Timer callbacks
1313 https://bugs.webkit.org/show_bug.cgi?id=147516
1315 Reviewed by Alexey Proskuryakov.
1317 Drop dummy Timer callbacks in the code base. A lot of Timer callbacks
1318 do nothing else beside calling a particular method. In such case, we
1319 can use the called method as Timer callback instead.
1321 * Plugins/WebNetscapePluginStream.h:
1322 * Plugins/WebNetscapePluginStream.mm:
1323 (WebNetscapePluginStream::WebNetscapePluginStream):
1324 (WebNetscapePluginStream::deliverDataTimerFired): Deleted.
1326 2015-07-31 Brady Eidson <beidson@apple.com>
1328 REGRESSION (r174791): Returning a zombie NSImage from sharingService:transitionImageForShareItem:contentRect:
1329 <rdar://problem/22060183> and https://bugs.webkit.org/show_bug.cgi?id=147497
1331 Reviewed by Tim Horton.
1333 * WebCoreSupport/WebContextMenuClient.mm:
1334 (WebContextMenuClient::imageForCurrentSharingServicePickerItem): Don't return what is basically a temporary NSImage.
1335 Instead do a [[retain] autorelease] on it while still valid.
1337 2015-07-29 Dean Jackson <dino@apple.com>
1339 Don't use (Details) when exposing SPI
1340 https://bugs.webkit.org/show_bug.cgi?id=147426
1341 <rdar://problem/22062407>
1343 Reviewed by Dan Bernstein.
1345 If we are declaring the interface without any implementation,
1346 we should use class extensions.
1348 * WebView/WebFrameView.mm:
1349 * WebView/WebPDFView.mm:
1351 2015-07-29 Andy VanWagoner <thetalecrafter@gmail.com>
1353 Implement basic types for ECMAScript Internationalization API
1354 https://bugs.webkit.org/show_bug.cgi?id=146926
1356 Reviewed by Benjamin Poulain.
1358 * Configurations/FeatureDefines.xcconfig: Enabled INTL.
1360 2015-07-28 Yusuke Suzuki <utatane.tea@gmail.com>
1362 [ES6] Add ENABLE_ES6_MODULES compile time flag with the default value "false"
1363 https://bugs.webkit.org/show_bug.cgi?id=147350
1365 Reviewed by Sam Weinig.
1367 * Configurations/FeatureDefines.xcconfig:
1369 2015-07-24 Yusuke Suzuki <utatane.tea@gmail.com>
1371 Remove runtime flags for symbols
1372 https://bugs.webkit.org/show_bug.cgi?id=147246
1374 Reviewed by Alex Christensen.
1376 * WebView/WebPreferencesPrivate.h:
1378 2015-07-24 Yusuke Suzuki <utatane.tea@gmail.com>
1380 Object.getOwnPropertySymbols on large list takes very long
1381 https://bugs.webkit.org/show_bug.cgi?id=146137
1383 Reviewed by Mark Lam.
1385 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1386 (WebKit::NetscapePluginInstanceProxy::enumerate):
1388 2015-07-23 Alex Christensen <achristensen@webkit.org>
1390 Remove compile and runtime flags for promises.
1391 https://bugs.webkit.org/show_bug.cgi?id=147244
1393 Reviewed by Yusuke Suzuki.
1395 * Configurations/FeatureDefines.xcconfig:
1396 * WebView/WebPreferencesPrivate.h:
1398 2015-07-22 Sukolsak Sakshuwong <sukolsak@gmail.com>
1400 Add ENABLE_WEBASSEMBLY feature flag for WebAssembly
1401 https://bugs.webkit.org/show_bug.cgi?id=147212
1403 Reviewed by Filip Pizlo.
1405 * Configurations/FeatureDefines.xcconfig:
1407 2015-07-21 Joseph Pecoraro <pecoraro@apple.com>
1409 Web Inspector: [Mac] "Open Image In New Window" context menu item does nothing on an image
1410 https://bugs.webkit.org/show_bug.cgi?id=147175
1412 Reviewed by Timothy Hatcher.
1414 * WebCoreSupport/WebInspectorClient.mm:
1415 (-[WebInspectorWindowController webView:contextMenuItemsForElement:defaultMenuItems:]):
1416 Remove default context menus that won't work in the inspector page.
1418 2015-07-21 Simon Fraser <simon.fraser@apple.com>
1420 Add a logging channel for Layout, remove the LiveConnect channel
1421 https://bugs.webkit.org/show_bug.cgi?id=147170
1423 Reviewed by Zalan Bujtas.
1425 Add a layout logging channel to WebCore, and remove the LiveConnect channel.
1427 * Misc/WebKitLogging.h:
1428 * Plugins/WebNetscapePluginPackage.mm:
1429 (-[WebNetscapePluginPackage _tryLoad]): Deleted.
1431 2015-07-21 Brady Eidson <beidson@apple.com>
1433 Fix WebPreferences infinite recursion introduced in r186232.
1434 <rdar://problem/9091261> and https://bugs.webkit.org/show_bug.cgi?id=147149
1436 Reviewed by Tim Horton.
1438 * WebView/WebPreferences.mm:
1439 (-[WebPreferences metaRefreshEnabled]):
1441 2015-07-18 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1443 Reduce PassRefPtr in WebKit2 - 3
1444 https://bugs.webkit.org/show_bug.cgi?id=146995
1446 Reviewed by Daniel Bates.
1448 To remove PassRefPtr, this patch reduces use of PassRefPtr in WebKit2.
1449 Because some uses depend on WebCore, WebCore, WK1 ports are modified as well.
1451 * WebCoreSupport/WebFrameLoaderClient.h:
1452 * WebCoreSupport/WebFrameLoaderClient.mm:
1453 (WebFrameLoaderClient::createDocumentLoader):
1455 2015-07-17 Andy Estes <aestes@apple.com>
1457 [iOS] Further tighten the sandbox around pages fetched with Content-Disposition: attachment
1458 https://bugs.webkit.org/show_bug.cgi?id=147044
1459 rdar://problem/21567820
1461 Reviewed by Brady Eidson.
1463 * WebView/WebView.mm:
1464 (-[WebView _commonInitializationWithFrameName:groupName:]): Enabled Content-Disposition: attachment sandbox on iOS.
1466 2015-07-16 Joseph Pecoraro <pecoraro@apple.com>
1468 Web Inspector: [Mac] Save dialog not working when inspector is docked
1469 https://bugs.webkit.org/show_bug.cgi?id=146991
1471 Reviewed by Sam Weinig.
1473 * WebCoreSupport/WebInspectorClient.mm:
1474 (WebInspectorFrontendClient::save):
1475 (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
1476 When the window is nil (docked) use a non-window version of running the dialog.
1478 2015-07-13 Simon Fraser <simon.fraser@apple.com>
1480 [iOS] Expose contentsSizeRespectingOverflow() via WebView so UIWebView can use it
1481 https://bugs.webkit.org/show_bug.cgi?id=146924
1482 WebKit part of rdar://problem/21802456
1484 Reviewed by Tim Horton.
1486 Expose the FrameView's contentsSizeRespectingOverflow() via WebView, for use
1489 * WebView/WebView.mm:
1490 (-[WebView _contentsSizeRespectingOverflow]):
1491 * WebView/WebViewPrivate.h:
1493 2015-07-14 Anders Carlsson <andersca@apple.com>
1495 Remove wkPopupMenu from WebCoreSystemInterface; it's not called from WebCore
1496 https://bugs.webkit.org/show_bug.cgi?id=146945
1498 Reviewed by Tim Horton.
1500 * WebCoreSupport/PopupMenuMac.mm:
1501 (PopupMenuMac::show):
1502 * WebCoreSupport/WebSystemInterface.mm:
1503 (InitWebCoreSystemInterface): Deleted.
1505 2015-07-11 Nikita Vasilyev <nvasilyev@apple.com>
1507 Web Inspector: Inspector should be able to be docked to the bottom of a narrow window
1508 https://bugs.webkit.org/show_bug.cgi?id=146871
1510 Reviewed by Timothy Hatcher.
1512 * WebCoreSupport/WebInspectorClient.mm:
1514 2015-07-07 Brady Eidson <beidson@apple.com>
1516 HTTP Auth cached after disabling private browsing/reset.
1517 <rdar://problem/8293055> and https://bugs.webkit.org/show_bug.cgi?id=146654
1519 Reviewed by Tim Horton.
1523 (+[WebCache clearCachedCredentials]): Clear the global CredentialStorage as well as the
1524 storages belonging to each main frame of each WebView. This method is for DRT.
1526 * Misc/WebDownload.mm:
1527 (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]):
1529 * Plugins/WebBaseNetscapePluginView.mm:
1530 (WebKit::getAuthenticationInfo):
1532 * WebView/WebView.mm:
1533 (-[WebView _clearCredentials]): Clear the storage belonging to the current networking session
1534 of the main frame of this WebView.
1535 * WebView/WebViewInternal.h:
1537 2015-07-04 Chris Dumez <cdumez@apple.com>
1539 Drop RefPtr::clear() method
1540 https://bugs.webkit.org/show_bug.cgi?id=146556
1542 Reviewed by Brady Eidson.
1544 Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
1546 2015-07-03 Dan Bernstein <mitz@apple.com>
1548 [Xcode] Update some build settings as recommended by Xcode 7
1549 https://bugs.webkit.org/show_bug.cgi?id=146597
1551 Reviewed by Sam Weinig.
1553 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE,
1554 GCC_WARN_UNDECLARED_SELECTOR and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
1556 2015-07-02 Timothy Horton <timothy_horton@apple.com>
1560 Rubber-stamped by Brady Eidson.
1562 * WebView/WebView.mm:
1563 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1564 Http, not HTTP, for settings generator reasons.
1566 2015-07-02 Brady Eidson <beidson@apple.com>
1568 Add preference to disable all http-equiv.
1569 <rdar://problem/9091261> and https://bugs.webkit.org/show_bug.cgi?id=146553
1571 Reviewed by Sam Weinig.
1573 * WebView/WebPreferenceKeysPrivate.h:
1575 * WebView/WebPreferences.mm:
1576 (+[WebPreferences initialize]):
1577 (-[WebPreferences setMetaRefreshEnabled:]): Still expose this SPI, but have it affect
1578 the "httpEquivEnabled" setting.
1579 (-[WebPreferences metaRefreshEnabled]): Ditto.
1580 (-[WebPreferences setHTTPEquivEnabled:]):
1581 (-[WebPreferences httpEquivEnabled]):
1582 * WebView/WebPreferencesPrivate.h:
1584 * WebView/WebView.mm:
1585 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1586 (-[WebView _preferencesChanged:]):
1588 2015-07-02 Timothy Horton <timothy_horton@apple.com>
1590 iOS WebKitLegacy should match WebKit2's viewport behavior
1591 https://bugs.webkit.org/show_bug.cgi?id=146540
1592 <rdar://problem/20574017>
1594 Reviewed by Dan Bernstein.
1596 A number of changes have been made to WebKit2's viewport behavior
1597 to make it possible to scale "responsive" sites that misbehave (lay out
1598 in a non-responsive way).
1600 * History/WebHistoryItem.mm:
1601 * History/WebHistoryItemPrivate.h:
1602 Add the plumbing required to implement these new behaviors in WebKit1.
1604 2015-07-01 Dean Jackson <dino@apple.com>
1606 Disable the experimental WebGL2 implementation
1607 https://bugs.webkit.org/show_bug.cgi?id=146526
1608 <rdar://problem/21641235>
1610 Reviewed by Myles Maxfield.
1612 Add (and disable) an ENABLE_WEBGL2 flag.
1614 * Configurations/FeatureDefines.xcconfig:
1616 2015-07-01 Simon Fraser <simon.fraser@apple.com>
1620 * WebCoreSupport/WebUserMediaClient.mm:
1621 (-[WebUserMediaPolicyListener denyOnlyThisRequest]): Remove ASSERT_NOT_REACHED,
1622 because it caused the compiler to warn about noreturn.
1624 2015-07-01 Matthew Daiter <mdaiter@apple.com>
1626 Enable MEDIA_STREAM flag
1627 https://bugs.webkit.org/show_bug.cgi?id=145947
1628 <rdar://problem/21365829>
1630 Reviewed by Eric Carlson.
1632 * Configurations/FeatureDefines.xcconfig: Added MEDIA_STREAM flag
1633 * WebCoreSupport/WebUserMediaClient.h: Changed signatures
1634 * WebCoreSupport/WebUserMediaClient.mm: Changed signatures
1635 (WebUserMediaClient::requestPermission):
1636 (WebUserMediaClient::cancelRequest):
1637 (-[WebUserMediaPolicyListener denyOnlyThisRequest]):
1638 (-[WebUserMediaPolicyListener shouldClearCache]):
1640 2015-07-01 Brady Eidson <beidson@apple.com>
1642 REGRESSION (185319): Reproducible crash in WebHistoryItem launching FluidApp.
1643 <rdar://problem/21598293> and https://bugs.webkit.org/show_bug.cgi?id=146494
1645 Reviewed by Darin Adler.
1647 * History/WebHistoryItem.mm:
1648 (-[WebHistoryItem initFromDictionaryRepresentation:]): Don’t reference members of a Vector
1651 2015-06-30 Andy VanWagoner <thetalecrafter@gmail.com>
1653 Implement ECMAScript Internationalization API
1654 https://bugs.webkit.org/show_bug.cgi?id=90906
1656 Reviewed by Benjamin Poulain.
1658 * Configurations/FeatureDefines.xcconfig: add ENABLE_INTL flag
1660 2015-06-30 Simon Fraser <simon.fraser@apple.com>
1662 Crash under _layoutForNodeHighlight: when inspecting espn.com
1663 https://bugs.webkit.org/show_bug.cgi?id=146422
1665 Reviewed by Joseph Pecoraro.
1667 When inspecting espn.com, MobileSafari sometimes crashes, because
1668 highlight.quads is empty. I was not able to quickly determine why.
1670 Fix by bailing in this case.
1672 * WebInspector/WebNodeHighlightView.mm:
1673 (-[WebNodeHighlightView _layoutForNodeHighlight:parent:]):
1675 2015-06-30 Anders Carlsson <andersca@apple.com>
1677 Remove the WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS ifdefs now that this is always true
1678 https://bugs.webkit.org/show_bug.cgi?id=146462
1680 Reviewed by Dan Bernstein.
1682 * Misc/WebDownload.h:
1683 * WebView/WebFrameLoadDelegate.h:
1684 * WebView/WebPolicyDelegate.h:
1685 * WebView/WebResourceLoadDelegate.h:
1686 * WebView/WebUIDelegate.h:
1687 * WebView/WebView.h:
1688 * postprocess-headers.sh:
1690 2015-06-29 Anders Carlsson <andersca@apple.com>
1692 Get rid of unused WKSI functions
1693 https://bugs.webkit.org/show_bug.cgi?id=146443
1695 Reviewed by Tim Horton.
1697 * WebCoreSupport/WebSystemInterface.mm:
1698 (InitWebCoreSystemInterface): Deleted.
1700 2015-06-29 Dean Jackson <dino@apple.com>
1702 Temporarily disable PICTURE_SIZES
1703 https://bugs.webkit.org/show_bug.cgi?id=146435
1704 <rdar://problem/21087013>
1706 Reviewed by Tim Horton.
1708 Temporarily disable PICTURE_SIZES because it causes problems with out
1709 of date <picture> polyfills.
1711 * Configurations/FeatureDefines.xcconfig:
1713 2015-06-27 Ryosuke Niwa <rniwa@webkit.org>
1715 Font panel doesn't get updated when bolding text via cmd+b in Mail on OS X
1716 https://bugs.webkit.org/show_bug.cgi?id=146379
1718 Reviewed by Darin Adler.
1720 Update the font panel when newly added EditorClient::didApplyStyle is called. Also set the font attributes
1721 in _updateFontPanel so that underline and strike through states will be reflected.
1723 * WebCoreSupport/WebEditorClient.h:
1724 * WebCoreSupport/WebEditorClient.mm:
1725 (WebEditorClient::shouldApplyStyle):
1726 (updateFontPanelIfNeeded): Extracted from respondToChangedContents.
1727 (WebEditorClient::didApplyStyle): Added.
1728 (WebEditorClient::respondToChangedContents):
1729 * WebView/WebHTMLView.mm:
1730 (-[WebHTMLView _updateFontPanel]): Sets font attributes as well as font.
1732 2015-06-29 Dean Jackson <dino@apple.com>
1734 Setting to enable/disable media controls sizing on page zoom
1735 https://bugs.webkit.org/show_bug.cgi?id=146423
1736 <rdar://problem/18379634>
1738 Reviewed by Eric Carlson.
1740 Add a new setting "MediaControlsScaleWithPageZoom" that can disable
1741 the behaviour we currently implement on iOS, where the media controls
1742 attempt to remain at a fixed size independent of page zoom.
1744 * WebView/WebPreferenceKeysPrivate.h:
1745 * WebView/WebPreferences.mm:
1746 (+[WebPreferences initialize]): Initialize to false on iOS, true otherwise.
1747 (-[WebPreferences mediaControlsScaleWithPageZoom]):
1748 (-[WebPreferences setMediaControlsScaleWithPageZoom:]):
1749 * WebView/WebPreferencesPrivate.h:
1750 * WebView/WebView.mm:
1751 (-[WebView _preferencesChanged:]):
1753 2015-06-29 Anders Carlsson <andersca@apple.com>
1755 Use DISPATCH_SOURCE_TYPE_MEMORYPRESSURE instead of DISPATCH_SOURCE_TYPE_MEMORYSTATUS
1756 https://bugs.webkit.org/show_bug.cgi?id=146413
1758 Reviewed by Andreas Kling.
1760 Replace SPI with API.
1762 * WebCoreSupport/WebSystemInterface.mm:
1763 (InitWebCoreSystemInterface): Deleted.
1764 * WebView/WebView.mm:
1765 (+[WebView registerForMemoryNotifications]):
1767 2015-06-28 Darin Adler <darin@apple.com>
1769 [Mac] Remove redundant call to colorUsingColorSpaceName:
1770 https://bugs.webkit.org/show_bug.cgi?id=146397
1772 Reviewed by Alexey Proskuryakov.
1774 * WebView/WebHTMLView.mm:
1775 (extractUnderlines): Remove call to the colorUsingColorSpaceName: method,
1776 since colorFromNSColor already calls it. No need to do it twice.
1778 2015-06-26 Hyungwook Lee <hyungwook.lee@navercorp.com>
1780 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
1781 https://bugs.webkit.org/show_bug.cgi?id=145908
1783 Reviewed by Brent Fulgham.
1785 Make WebViewGroup class sharing on Mac and Win port.
1787 * WebCoreSupport/WebViewGroup.h: Removed.
1788 * WebCoreSupport/WebViewGroup.mm: Removed.
1790 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
1792 Web Inspector: Add Support for OS X Full Screen Mode
1793 https://bugs.webkit.org/show_bug.cgi?id=123510
1795 Reviewed by Timothy Hatcher.
1797 * WebCoreSupport/WebInspectorClient.h:
1798 * WebCoreSupport/WebInspectorClient.mm:
1799 (WebInspectorClient::didResizeMainFrame):
1800 (WebInspectorClient::windowFullScreenDidChange):
1801 (WebInspectorClient::canAttach):
1802 (WebInspectorFrontendClient::canAttach):
1803 (-[WebInspectorWindowController showWindow:]):
1804 Consolidate canAttach logic into canAttach functions.
1806 (-[WebInspectorWindowController window:]):
1807 Share the same full screen behavior as WebKit2.
1809 (-[WebInspectorWindowController windowDidEnterFullScreen:]):
1810 (-[WebInspectorWindowController windowDidExitFullScreen:]):
1811 Attach availability may have changed.
1813 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
1815 [Mac] Web Inspector: Window dragging on toolbar should behave more like native window dragging
1816 https://bugs.webkit.org/show_bug.cgi?id=146324
1818 Reviewed by Timothy Hatcher.
1820 * WebCoreSupport/WebInspectorClient.h:
1821 * WebCoreSupport/WebInspectorClient.mm:
1822 (WebInspectorFrontendClient::startWindowDrag):
1823 Start performing a window drag.
1825 2015-06-23 Anders Carlsson <andersca@apple.com>
1827 Remove windowResizerRect code, nobody is using it anymore
1828 https://bugs.webkit.org/show_bug.cgi?id=146265
1830 Reviewed by Beth Dakin.
1832 * WebCoreSupport/WebChromeClient.h:
1833 * WebCoreSupport/WebChromeClient.mm:
1834 (WebChromeClient::windowResizerRect): Deleted.
1836 2015-06-22 Chris Dumez <cdumez@apple.com>
1838 [WK1] WebAllowDenyPolicyListener.denyOnlyThisRequest() should not start a new permission request
1839 https://bugs.webkit.org/show_bug.cgi?id=146228
1840 <rdar://problem/15179262>
1842 Reviewed by Daniel Bates.
1844 Call the new Geolocation::resetIsAllowed() API after denying the
1845 current request, instead of calling
1846 Geolocation::resetAllGeolocationPermission(). In addition to resetting
1847 m_allowGeolocation to Unknown, the latter would also start a new
1848 permission request. However, for
1849 WebAllowDenyPolicyListener.denyOnlyThisRequest(), we really only want
1850 to deny the current request and then reset m_allowGeolocation to
1851 Unknown so that permission is requested again later if the app requests
1854 The previous implementation meant that if the client application keeps
1855 calling WebAllowDenyPolicyListener.denyOnlyThisRequest(), we would end
1856 up in an infinite loop (requesting for permission), even though the
1857 application did not make any new geolocation requests.
1859 * WebCoreSupport/WebGeolocationClient.mm:
1860 (-[WebGeolocationPolicyListener denyOnlyThisRequest]):
1862 2015-06-22 Anders Carlsson <andersca@apple.com>
1864 Delegates should be formal protocols
1865 https://bugs.webkit.org/show_bug.cgi?id=146222
1866 rdar://problem/17380856
1868 Reviewed by Dan Bernstein.
1870 Flip the switch on OS X and make delegates formal protocols.
1872 * postprocess-headers.sh:
1874 2015-06-20 Tim Horton <timothy_horton@apple.com>
1876 Deselection of text causes a noticeable jump on force touch machines
1877 https://bugs.webkit.org/show_bug.cgi?id=146173
1878 <rdar://problem/20992842>
1880 Reviewed by Sam Weinig.
1882 * WebView/WebImmediateActionController.mm:
1883 (-[WebImmediateActionController _animationControllerForText]):
1884 Get rid of TextIndicatorPresentationTransition::Crossfade.
1886 2015-06-19 Brent Fulgham <bfulgham@apple.com>
1888 All calls of ImageBuffer::create should null check the return value
1889 https://bugs.webkit.org/show_bug.cgi?id=22132
1891 Reviewed by Zalan Bujtas.
1893 ImageBuffer::create returns nullptr for a number of reasons, and should be
1894 expected to do so. We missed this check in a few places, resulting in
1895 crashes on some systems. Likewise, ImageBuffer::copyImage may return nullptr
1896 in normal use and should be checked.
1898 * WebCoreSupport/WebContextMenuClient.mm:
1899 (WebContextMenuClient::imageForCurrentSharingServicePickerItem): Add nullptr check
1902 2015-06-18 Jon Lee <jonlee@apple.com>
1904 Update AVKit usage of pip
1905 https://bugs.webkit.org/show_bug.cgi?id=146095
1906 <rdar://problem/21386853>
1908 Reviewed by Eric Carlson.
1910 - Rename preference key
1911 - Rename shouldAllowAlternateFullscreen to shouldAllowPictureInPictureMediaPlayback
1913 * WebCoreSupport/WebSystemInterface.mm:
1914 * WebView/WebPreferenceKeysPrivate.h:
1915 * WebView/WebPreferences.mm:
1916 (-[WebPreferences allowsAlternateFullscreen]): Call allowsPictureInPictureMediaPlayback.
1917 (-[WebPreferences setAllowsAlternateFullscreen:]):
1918 (-[WebPreferences allowsPictureInPictureMediaPlayback]): Added.
1919 (-[WebPreferences setAllowsPictureInPictureMediaPlayback:]):
1920 * WebView/WebPreferencesPrivate.h:
1921 * WebView/WebView.mm:
1923 2015-06-18 Anders Carlsson <andersca@apple.com>
1925 Remove shouldInterruptJavaScript
1926 https://bugs.webkit.org/show_bug.cgi?id=146118
1928 Reviewed by Antti Koivisto.
1930 * WebCoreSupport/WebChromeClient.h:
1931 * WebCoreSupport/WebChromeClient.mm:
1932 (WebChromeClient::shouldInterruptJavaScript): Deleted.
1933 * WebView/WebUIDelegatePrivate.h:
1935 2015-06-17 Alex Christensen <achristensen@webkit.org>
1937 [Content Extensions] Log blocked loads to the WebInspector console
1938 https://bugs.webkit.org/show_bug.cgi?id=146089
1940 Reviewed by Joseph Pecoraro.
1942 * WebCoreSupport/WebChromeClient.mm:
1943 (stringForMessageSource):
1944 Added content blocker message source.
1946 2015-06-17 Dan Bernstein <mitz@apple.com>
1948 <rdar://problem/19034131> Cleaned up the WebDownload.h framework header.
1950 Reviewed by Anders Carlsson.
1952 * Misc/WebDownload.h: Changed to use USE_APPLE_INTERNAL_SDK instead of __has_include.
1953 * postprocess-headers.sh: Define USE_APPLE_INTERNAL_SDK when postprocessing framework
1956 2015-06-17 Commit Queue <commit-queue@webkit.org>
1958 Unreviewed, rolling out r185636.
1959 https://bugs.webkit.org/show_bug.cgi?id=146068
1961 Caused many crashes on Windows (Requested by ap on #webkit).
1965 "[Win] Implement WebViewGroup to support
1966 WebView::addxxxToGroup()."
1967 https://bugs.webkit.org/show_bug.cgi?id=145908
1968 http://trac.webkit.org/changeset/185636
1970 2015-06-16 Hyungwook Lee <hyungwook.lee@navercorp.com>
1972 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
1973 https://bugs.webkit.org/show_bug.cgi?id=145908
1975 Reviewed by Brent Fulgham.
1977 Make WebViewGroup class sharing on Mac and Win port.
1979 * WebCoreSupport/WebViewGroup.h: Removed.
1980 * WebCoreSupport/WebViewGroup.mm: Removed.
1982 2015-06-13 Chris Dumez <cdumez@apple.com>
1984 [WK2] API::Navigation objects are leaked on history navigation to HistoryItems in PageCache
1985 https://bugs.webkit.org/show_bug.cgi?id=145948
1987 Reviewed by Darin Adler.
1989 Add empty implementation for new
1990 FrameLoaderClient::updatedCachedDocumentLoader().
1992 * WebCoreSupport/WebFrameLoaderClient.h:
1994 2015-06-11 Mark Lam <mark.lam@apple.com>
1996 WebCore::reportException() needs to be able to accept a raw thrown value in addition to Exception objects.
1997 https://bugs.webkit.org/show_bug.cgi?id=145872
1999 Reviewed by Michael Saboff.
2001 * WebView/WebView.mm:
2002 (+[WebView _reportException:inContext:]):
2003 - Don't assume we have an Exception object. Let WebCore::reportException() take
2006 2015-06-11 Jon Lee <jonlee@apple.com>
2008 Update media controls JS and CSS to use picture-in-picture
2009 https://bugs.webkit.org/show_bug.cgi?id=145827
2010 <rdar://problem/21311576>
2012 Reviewed by Dean Jackson.
2014 * WebCoreSupport/WebSystemInterface.mm:
2015 (InitWebCoreSystemInterface): Deleted GetMediaUIImageData.
2017 2015-06-10 Jon Honeycutt <jhoneycutt@apple.com>
2019 Meta refresh preference is not respected on fast path WebView
2022 <https://bugs.webkit.org/show_bug.cgi?id=145861>
2023 <rdar://problem/21309911>
2025 Reviewed by Brady Eidson.
2027 * WebView/WebView.mm:
2028 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
2029 Set the WebCore setting from the WebPreferences preference.
2031 2015-06-09 Anders Carlsson <andersca@apple.com>
2033 Remove more unused SPI methods
2034 https://bugs.webkit.org/show_bug.cgi?id=145804
2036 Reviewed by Simon Fraser.
2038 * Misc/WebNSURLRequestExtras.h:
2039 * Misc/WebNSURLRequestExtras.m:
2040 (-[NSURLRequest _web_HTTPReferrer]): Deleted.
2041 (-[NSURLRequest _web_HTTPContentType]): Deleted.
2042 (-[NSURLRequest _web_isConditionalRequest]): Deleted.
2044 2015-06-08 Dan Bernstein <mitz@apple.com>
2046 Removed WebDragSourceActionAttachment from the WebDragSourceAction enum.
2048 Rubber-stamped by Anders Carlsson.
2050 * WebView/WebUIDelegate.h: Removed the value. It was added in r181760 and never used.
2052 2015-06-08 Chris Dumez <cdumez@apple.com>
2054 Access GCController instance via GCController::singleton() instead of a free function
2055 https://bugs.webkit.org/show_bug.cgi?id=145776
2057 Reviewed by Darin Adler.
2059 Access GCController instance via GCController::singleton() instead of a
2060 free function as per coding style and for consistency with other
2061 singleton classes in the codebase.
2063 * Misc/WebCoreStatistics.mm:
2064 (+[WebCoreStatistics garbageCollectJavaScriptObjects]):
2065 (+[WebCoreStatistics garbageCollectJavaScriptObjectsOnAlternateThreadForDebugging:]):
2066 (+[WebCoreStatistics setJavaScriptGarbageCollectorTimerEnabled:]):
2067 * WebView/WebView.mm:
2068 (+[WebView garbageCollectNow]):
2069 (+[WebView discardAllCompiledCode]):
2070 (-[WebView _close]):
2072 2015-06-08 Anders Carlsson <andersca@apple.com>
2074 Remove more unused Objective-C methods
2075 https://bugs.webkit.org/show_bug.cgi?id=145761
2077 Reviewed by Geoffrey Garen.
2079 * Misc/WebNSImageExtras.h:
2080 * Misc/WebNSImageExtras.m:
2081 (-[NSImage _web_saveAndOpen]): Deleted.
2082 * Misc/WebNSViewExtras.h:
2083 * Misc/WebNSViewExtras.m:
2084 (-[NSView _web_DragImageForElement:rect:event:pasteboard:source:offset:]): Deleted.
2085 (-[NSView _web_convertRect:toView:]): Deleted.
2087 2015-06-08 Anders Carlsson <andersca@apple.com>
2089 Try to fix the Mavericks build.
2091 * WebView/WebPDFView.mm:
2092 (removeUselessMenuItemSeparators):
2094 2015-06-07 Anders Carlsson <andersca@apple.com>
2096 Remove WebNSArrayExtras
2097 https://bugs.webkit.org/show_bug.cgi?id=145747
2099 Reviewed by Darin Adler.
2101 * History/WebHistoryItem.mm:
2102 (-[WebHistoryItem initFromDictionaryRepresentation:]):
2103 * Misc/WebNSArrayExtras.h: Removed.
2104 * Misc/WebNSArrayExtras.m: Removed.
2105 (-[NSArray _webkit_numberAtIndex:]): Deleted.
2106 (-[NSArray _webkit_stringAtIndex:]): Deleted.
2107 (-[NSMutableArray _webkit_removeUselessMenuItemSeparators]): Deleted.
2108 * WebView/WebPDFView.mm:
2109 (removeUselessMenuItemSeparators):
2110 (-[WebPDFView _menuItemsFromPDFKitForEvent:]):
2112 2015-06-08 Dan Bernstein <mitz@apple.com>
2116 * WebView/WebView.mm:
2117 (+[WebView _setCacheModel:]):
2119 2015-06-07 Anders Carlsson <andersca@apple.com>
2121 Remove WebKitSystemBits
2122 https://bugs.webkit.org/show_bug.cgi?id=145746
2124 Reviewed by Dan Bernstein.
2126 Fold WebVolumeFreeSize into its only caller and get rid of WebKitSystemBits.
2128 * Misc/WebKitSystemBits.h: Removed.
2129 * Misc/WebKitSystemBits.m: Removed.
2130 * WebView/WebPreferences.mm:
2131 * WebView/WebView.mm:
2132 (+[WebView _setCacheModel:]):
2134 2015-06-07 Anders Carlsson <andersca@apple.com>
2136 Remove another SPI method that hasn't been used since Tiger
2137 https://bugs.webkit.org/show_bug.cgi?id=145745
2139 Reviewed by Dan Bernstein.
2141 * WebView/WebView.mm:
2142 (-[WebView handleAuthenticationForResource:challenge:fromDataSource:]): Deleted.
2143 * WebView/WebViewPrivate.h:
2145 2015-06-07 Anders Carlsson <andersca@apple.com>
2147 Remove another unused SPI method
2148 https://bugs.webkit.org/show_bug.cgi?id=145743
2150 Reviewed by Dan Bernstein.
2152 * WebView/WebView.mm:
2153 (+[WebView _pointingHandCursor]): Deleted.
2154 * WebView/WebViewPrivate.h:
2156 2015-06-07 Anders Carlsson <andersca@apple.com>
2159 https://bugs.webkit.org/show_bug.cgi?id=145742
2161 Reviewed by Dan Bernstein.
2163 * WebCoreSupport/WebFrameNetworkingContext.h:
2164 * WebCoreSupport/WebFrameNetworkingContext.mm:
2165 (WebFrameNetworkingContext::clearPrivateBrowsingSessionCookieStorage): Deleted.
2166 * WebView/WebView.mm:
2167 (+[WebView _clearPrivateBrowsingSessionCookieStorage]): Deleted.
2168 * WebView/WebViewPrivate.h:
2170 2015-06-06 Dan Bernstein <mitz@apple.com>
2172 Restored binary compatibility with shipping Safari.
2174 Suggested by Anders Carlsson.
2176 * Misc/WebKitNSStringExtras.mm:
2177 (-[NSString _webkit_fixedCarbonPOSIXPath]): Added an implementation that returns self, so
2178 that Safari doesn’t crash when trying to call this method.
2180 2015-06-06 Dan Bernstein <mitz@apple.com>
2184 * Plugins/WebBasePluginPackage.mm:
2186 2015-06-06 Anders Carlsson <andersca@apple.com>
2188 Remove support from getting plug-in information from Carbon resources
2189 https://bugs.webkit.org/show_bug.cgi?id=145730
2191 Reviewed by Dan Bernstein.
2193 No current plug-in versions use this feature, and both Chrome and Mozilla for
2194 Mac stopped looking at Carbon resources years ago.
2196 * Misc/WebKitNSStringExtras.h:
2197 * Misc/WebKitNSStringExtras.mm:
2198 (+[NSString _web_encodingForResource:]): Deleted.
2199 * Plugins/WebBasePluginPackage.mm:
2200 * Plugins/WebNetscapePluginPackage.mm:
2201 (-[WebNetscapePluginPackage _initWithPath:]):
2202 (-[WebNetscapePluginPackage stringForStringListID:andIndex:]): Deleted.
2203 (-[WebNetscapePluginPackage getPluginInfoFromResources]): Deleted.
2205 2015-06-06 Anders Carlsson <andersca@apple.com>
2207 Remove now unused category methods
2208 https://bugs.webkit.org/show_bug.cgi?id=145729
2210 Reviewed by Dan Bernstein.
2212 * Configurations/WebKitLegacy.xcconfig:
2213 * Misc/WebKitNSStringExtras.h:
2214 * Misc/WebKitNSStringExtras.mm:
2215 (-[NSString _webkit_fixedCarbonPOSIXPath]): Deleted.
2216 * Misc/WebNSFileManagerExtras.h:
2217 * Misc/WebNSFileManagerExtras.mm:
2218 (-[NSFileManager _webkit_startupVolumeName]): Deleted.
2220 2015-06-06 Anders Carlsson <andersca@apple.com>
2226 2015-06-06 Anders Carlsson <andersca@apple.com>
2228 Stop using _webkit_fixedCarbonPOSIXPath in plug-in code
2229 https://bugs.webkit.org/show_bug.cgi?id=145728
2231 Reviewed by Dan Bernstein.
2233 This code was put in place to support old plug-ins that would pass Carbon paths to NPAPI functions.
2234 WebKit2 never supported this and we've never had any problems so let's just get rid of it.
2236 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
2237 (WebKit::NetscapePluginInstanceProxy::loadURL):
2238 * Plugins/WebNetscapePluginView.mm:
2239 (-[WebNetscapePluginView _postURL:target:len:buf:file:notifyData:sendNotification:allowHeaders:]):
2241 2015-06-06 Anders Carlsson <andersca@apple.com>
2243 Remove SPI that's no longer used
2244 https://bugs.webkit.org/show_bug.cgi?id=145727
2246 Reviewed by Dan Bernstein.
2248 * Plugins/WebPluginsPrivate.h: Removed.
2249 * Plugins/WebPluginsPrivate.m: Removed.
2251 2015-06-06 Anders Carlsson <andersca@apple.com>
2253 Only allow plug-ins to create custom MIME property lists on older versions of OS X
2254 https://bugs.webkit.org/show_bug.cgi?id=145726
2256 Reviewed by Dan Bernstein.
2258 * Plugins/WebBasePluginPackage.mm:
2259 (-[WebBasePluginPackage getPluginInfoFromPLists]):
2261 2015-06-05 Mark Lam <mark.lam@apple.com>
2263 finally blocks should not set the exception stack trace when re-throwing the exception.
2264 https://bugs.webkit.org/show_bug.cgi?id=145525
2266 Reviewed by Geoffrey Garen.
2268 * WebView/WebView.mm:
2269 (+[WebView _reportException:inContext:]):
2270 (WebKitInitializeApplicationCachePathIfNecessary):
2271 - Changed to use the new Exception object.
2273 2015-06-03 Anders Carlsson <andersca@apple.com>
2275 Define WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS on iOS
2276 https://bugs.webkit.org/show_bug.cgi?id=145615
2277 Part of rdar://problem/17380856.
2279 Reviewed by Dan Bernstein.
2281 * postprocess-headers.sh:
2283 2015-06-02 Brady Eidson <beidson@apple.com>
2285 WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
2286 rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
2288 Reviewed by Alex Christensen.
2290 * Plugins/WebPluginController.mm:
2291 (-[WebPluginController webPlugInContainerLoadRequest:inFrame:]):
2293 * WebView/WebFrame.mm:
2294 (-[WebFrame loadRequest:]):
2295 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2297 * WebView/WebPDFView.mm:
2298 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
2300 2015-06-01 Anders Carlsson <andersca@apple.com>
2302 WAKScrollView.h cannot be imported standalone
2303 https://bugs.webkit.org/show_bug.cgi?id=145529
2305 Reviewed by Dan Bernstein.
2307 Don't migrate WAKScrollView.h, it's not used outside of WebKit.
2309 * MigrateHeaders.make:
2311 2015-05-29 Anders Carlsson <andersca@apple.com>
2313 Make the header replace rule more restrictive and get rid of a special case
2314 https://bugs.webkit.org/show_bug.cgi?id=145486
2316 Reviewed by Ryosuke Niwa.
2318 We used to not run the header migration script on WAKScrollView.h since we had a rule that would transform
2319 "<WebCore" to "<WebKitLegacy" to convert header #imports. However, WAKScrollView.h contains "WAKView <WebCoreFrameScrollView>"
2320 which would get transformed to "WAKView <WebKitLegacyFrameScrollView>".
2322 Instead, check for the trailing slash as well and stop special-casing WAKScrollView.h.
2324 * MigrateHeaders.make:
2326 2015-05-29 Anders Carlsson <andersca@apple.com>
2328 Get rid of WAKViewPrivate.h
2329 https://bugs.webkit.org/show_bug.cgi?id=145482
2330 rdar://problem/21162149
2332 Reviewed by Dan Bernstein.
2334 Remove WAKViewPrivate.h imports.
2336 * DefaultDelegates/WebDefaultUIDelegate.m:
2337 * MigrateHeaders.make:
2338 * Misc/WebKitNSStringExtras.mm:
2339 * Misc/WebNSViewExtras.m:
2340 * WebCoreSupport/WebFrameLoaderClient.mm:
2341 * WebView/WebFrame.mm:
2342 * WebView/WebFrameView.mm:
2343 * WebView/WebHTMLView.mm:
2345 2015-05-29 Anders Carlsson <andersca@apple.com>
2347 WebResourceLoadDelegatePrivate.h cannot be imported standalone (missing WebNSInteger type)
2348 https://bugs.webkit.org/show_bug.cgi?id=145476
2349 rdar://problem/21162400
2351 Reviewed by Dan Bernstein.
2353 Change WebNSInteger to NSInteger.
2355 * WebView/WebResourceLoadDelegatePrivate.h:
2357 2015-05-29 Anders Carlsson <andersca@apple.com>
2359 WebKit.framework installs or references Mac-only headers on iOS
2360 https://bugs.webkit.org/show_bug.cgi?id=145471
2361 rdar://problem/21161459
2363 Reviewed by Dan Bernstein.
2365 * History/WebURLsWithTitles.h:
2366 Add an #if !TARGET_OS_IPHONE guard around the entire header.
2368 * MigrateHeaders.make:
2369 Don't migrate the NPAPI headers on iOS.
2371 2015-05-28 Matt Rajca <mrajca@apple.com>
2373 Add ENABLE_MEDIA_SESSION feature flag (which is off by default).
2374 https://bugs.webkit.org/show_bug.cgi?id=145415
2376 Reviewed by Eric Carlson.
2378 * Configurations/FeatureDefines.xcconfig:
2380 2015-05-28 Jon Lee <jonlee@apple.com>
2382 Build fix after r184946.
2384 * WebView/WebPreferences.mm:
2385 (-[WebPreferences allowsAirPlayForMediaPlayback]):
2386 (-[WebPreferences setAllowsAirPlayForMediaPlayback:]):
2388 2015-05-19 Jon Honeycutt <jhoneycutt@apple.com>
2390 [iOS] When viewing an MJPEG stream as the main resource, only the first
2393 <https://bugs.webkit.org/show_bug.cgi?id=145185>
2394 <rdar://problem/20124694>
2396 Reviewed by Darin Adler.
2398 * WebCoreSupport/WebFrameLoaderClient.h:
2400 * WebCoreSupport/WebFrameLoaderClient.mm:
2401 (WebFrameLoaderClient::didReplaceMultipartContent):
2402 Call the FrameView's didReplaceMultipartContent().
2404 2015-05-22 Jon Lee <jonlee@apple.com>
2406 Fix macros for wireless playback
2407 https://bugs.webkit.org/show_bug.cgi?id=145239
2408 rdar://problem/21049541
2410 Reviewed by Anders Carlsson.
2412 Encompass the logic within ENABLE(WIRELESS_TARGET_PLAYBACK). Update property name.
2414 * WebView/WebPreferenceKeysPrivate.h:
2415 * WebView/WebPreferences.h:
2416 * WebView/WebPreferences.mm:
2417 (+[WebPreferences initialize]): Wrap in ENABLE.
2418 (-[WebPreferences allowsAirPlayForMediaPlayback]): Ditto.
2419 (-[WebPreferences setAllowsAirPlayForMediaPlayback:]): Ditto.
2420 * WebView/WebView.mm:
2421 (-[WebView _preferencesChanged:]): Ditto.
2423 2015-05-27 Dean Jackson <dino@apple.com>
2425 img.currentSrc problem in strict mode with old picturefill
2426 https://bugs.webkit.org/show_bug.cgi?id=144095
2427 <rdar://problem/21087013>
2429 Reviewed by Simon Fraser.
2431 Add a PICTURE_SIZES flag.
2433 * Configurations/FeatureDefines.xcconfig:
2435 2015-05-26 Dan Bernstein <mitz@apple.com>
2437 <rdar://problem/21104551> Update build settings
2439 Reviewed by Anders Carlsson.
2441 * Configurations/DebugRelease.xcconfig:
2442 * Configurations/FeatureDefines.xcconfig:
2443 * Configurations/Version.xcconfig:
2445 2015-05-25 Dan Bernstein <mitz@apple.com>
2447 ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
2448 https://bugs.webkit.org/show_bug.cgi?id=145372
2450 Reviewed by Sam Weinig.
2452 * Carbon/CarbonWindowAdapter.mm:
2453 (-[CarbonWindowAdapter finalize]): Removed use of ASSERT_MAIN_THREAD.
2455 * Configurations/Base.xcconfig: Removed DISABLE_THREAD_CHECK from DEBUG_DEFINES.
2457 * History/WebHistoryItem.mm:
2458 (-[WebHistoryItem URLString]): Removed use of ASSERT_MAIN_THREAD.
2459 (-[WebHistoryItem originalURLString]): Ditto.
2460 (-[WebHistoryItem title]): Ditto.
2461 (-[WebHistoryItem lastVisitedTimeInterval]): Ditto.
2462 (-[WebHistoryItem isEqual:]): Ditto.
2463 (-[WebHistoryItem description]): Ditto.
2464 (-[WebHistoryItem initFromDictionaryRepresentation:]): Ditto.
2465 (-[WebHistoryItem scrollPoint]): Ditto.
2467 * Misc/WebElementDictionary.mm:
2468 (-[WebElementDictionary finalize]): Ditto.
2470 * Misc/WebIconDatabase.mm:
2471 (-[WebIconDatabase iconForURL:withSize:cache:]): Ditto.
2472 (-[WebIconDatabase iconURLForURL:]): Ditto.
2473 (-[WebIconDatabase defaultIconWithSize:]): Ditto.
2474 (-[WebIconDatabase retainIconForURL:]): Ditto.
2475 (-[WebIconDatabase releaseIconForURL:]): Ditto.
2476 (+[WebIconDatabase delayDatabaseCleanup]): Ditto.
2477 (+[WebIconDatabase allowDatabaseCleanup]): Ditto.
2478 (-[WebIconDatabase removeAllIcons]): Ditto.
2479 (-[WebIconDatabase _iconForFileURL:withSize:]): Ditto.
2480 (webGetNSImage): Ditto.
2482 * Misc/WebKitLogging.h: Removed definition of ASSERT_MAIN_THREAD.
2484 * Plugins/WebBaseNetscapePluginView.mm:
2485 (-[WebBaseNetscapePluginView finalize]): Removed use of ASSERT_MAIN_THREAD.
2487 * Plugins/WebBasePluginPackage.mm:
2488 (-[WebBasePluginPackage finalize]): Ditto.
2490 * Plugins/WebNetscapePluginView.mm:
2491 (-[WebNetscapePluginView finalize]): Ditto.
2493 * WebCoreSupport/WebEditorClient.mm:
2494 (-[WebUndoStep finalize]): Ditto.
2496 * WebView/WebDataSource.mm:
2497 (-[WebDataSource finalize]): Ditto.
2499 * WebView/WebHTMLView.mm:
2500 (-[WebHTMLViewPrivate finalize]): Ditto.
2501 (-[WebHTMLView finalize]): Ditto.
2502 (-[WebHTMLView drawRect:]): Ditto.
2504 * WebView/WebViewData.mm:
2505 (-[WebViewPrivate finalize]): Ditto.
2507 2015-05-23 Dan Bernstein <mitz@apple.com>
2509 Remove unused definitions of WEBKIT_VERSION_MIN_REQUIRED
2510 https://bugs.webkit.org/show_bug.cgi?id=145345
2512 Reviewed by Sam Weinig.
2514 * Configurations/WebKitLegacy.xcconfig: Also changed to use $(inherited).
2516 2015-05-24 Jeremy Jones <jeremyj@apple.com>
2518 Register media MIME types as supported by HTML view in WebKit1.
2519 https://bugs.webkit.org/show_bug.cgi?id=145356
2521 Reviewed by Eric Carlson.
2523 WebDataSource and WebFrame view knew about suppotedImageMIMETypes and supportedNonImageMIMETypes,
2524 but not a third category supportedMediaMIMETypes. These are now included along-side
2525 supportedNonImageMIMETypes.
2527 * WebView/WebDataSource.mm:
2528 (+[WebDataSource _repTypesAllowImageTypeOmission:]): use supportedMediaMIMETypes.
2529 * WebView/WebFrameView.mm:
2530 (+[WebFrameView _viewTypesAllowImageTypeOmission:]): use supportedMediaMIMETypes.
2531 * WebView/WebHTMLRepresentation.h: declare -supportedMediaMIMETypes
2532 * WebView/WebHTMLRepresentation.mm:
2533 (+[WebHTMLRepresentation supportedMIMETypes]): include supportedMediaMIMETypes
2534 (+[WebHTMLRepresentation supportedMediaMIMETypes]): added
2535 * WebView/WebHTMLView.mm:
2536 (+[WebHTMLView supportedMediaMIMETypes]): added
2537 * WebView/WebHTMLViewPrivate.h: declare -supportedMediaMIMETypes
2539 2015-05-22 Jon Lee <jonlee@apple.com>
2541 Rename MediaPlaybackAllowsInline
2542 https://bugs.webkit.org/show_bug.cgi?id=145315
2544 Reviewed by Eric Carlson.
2546 Our API uses allowsInlineMediaPlayback. Our symbols should reflect the same.
2548 * WebView/WebPreferenceKeysPrivate.h: Update the name of the key, but not its
2549 value, for backwards compatibility.
2550 * WebView/WebPreferences.mm:
2551 (+[WebPreferences initialize]): Update the symbol.
2552 (-[WebPreferences mediaPlaybackAllowsInline]): Ditto. This setting will not
2553 be renamed in a future patch.
2554 (-[WebPreferences setMediaPlaybackAllowsInline:]): Ditto.
2555 * WebView/WebView.mm:
2556 (-[WebView _preferencesChanged:]): Update the call to settings.
2558 2015-05-22 Jon Lee <jonlee@apple.com>
2560 Rename MediaPlaybackAllowsAirPlay
2561 https://bugs.webkit.org/show_bug.cgi?id=145316
2563 Reviewed by Eric Carlson.
2565 In preparation for an API rename, update internal symbols from mediaPlaybackAllowsAirPlay
2566 to allowsAirPlayForMediaPlayback.
2568 * WebView/WebPreferenceKeysPrivate.h: Update the name but keep its value, for backwards
2570 * WebView/WebPreferences.mm:
2571 (+[WebPreferences initialize]): Update to reference the new key name.
2572 (-[WebPreferences mediaPlaybackAllowsAirPlay]): Ditto. This API will not change in a future
2574 (-[WebPreferences setMediaPlaybackAllowsAirPlay:]): Ditto.
2575 * WebView/WebView.mm:
2576 (-[WebView _preferencesChanged:]): Update the call to settings.
2578 2015-05-22 Jon Lee <jonlee@apple.com>
2580 Rename MediaPlaybackRequiresUserGesture
2581 https://bugs.webkit.org/show_bug.cgi?id=145314
2583 Reviewed by Anders Carlsson.
2585 In preparation for an API rename, update internal symbols from mediaPlaybackRequiresUserGesture
2586 to requiresUserGestureForMediaPlayback.
2588 No changes are being made to the API in this patch.
2590 * WebView/WebPreferenceKeysPrivate.h: Update the name of the key, but not its value, for backwards
2592 * WebView/WebPreferences.mm:
2593 (+[WebPreferences initialize]): Update the symbol.
2594 (-[WebPreferences mediaPlaybackRequiresUserGesture]): Ditto. This setting will not be renamed
2596 (-[WebPreferences setMediaPlaybackRequiresUserGesture:]): Ditto.
2597 * WebView/WebView.mm:
2598 (-[WebView _preferencesChanged:]): Update the call to settings.
2600 2015-05-22 Tim Horton <timothy_horton@apple.com>
2602 Remove action menu support
2603 https://bugs.webkit.org/show_bug.cgi?id=145305
2604 <rdar://problem/21070771>
2606 Reviewed by Anders Carlsson.
2608 * Configurations/WebKitLegacy.xcconfig:
2609 * WebView/WebActionMenuController.h: Removed.
2610 * WebView/WebActionMenuController.mm: Removed.
2611 * WebView/WebHTMLView.mm:
2612 (-[WebHTMLView otherMouseDown:]):
2613 (-[WebHTMLView scrollWheel:scrollWheel:]): Deleted.
2614 (-[WebHTMLView mouseDown:mouseDown:]): Deleted.
2615 * WebView/WebUIDelegatePrivate.h:
2616 * WebView/WebView.mm:
2617 (-[WebView _commonInitializationWithFrameName:groupName:]): Deleted.
2618 (-[WebView _close]): Deleted.
2619 (-[WebView prepareForMenu:withEvent:]): Deleted.
2620 (-[WebView willOpenMenu:withEvent:]): Deleted.
2621 (-[WebView didCloseMenu:withEvent:]): Deleted.
2622 (-[WebView _actionMenuController]): Deleted.
2623 * WebView/WebViewData.h:
2624 * WebView/WebViewData.mm:
2625 (-[WebViewPrivate dealloc]): Deleted.
2626 * WebView/WebViewInternal.h:
2627 Remove everything, except some enums that clients still refer to.
2629 2015-05-22 Brady Eidson <beidson@apple.com>
2631 Rework how the ResourceRequest user initiated property key is used.
2632 Followup to https://bugs.webkit.org/show_bug.cgi?id=145281
2634 Reviewed by Dan Bernstein.
2636 * WebCoreSupport/WebSystemInterface.mm:
2637 (WKResourceRequestIsUserInitiatedKey): Deleted.
2638 (InitWebCoreSystemInterface): Deleted.
2640 2015-05-21 Brady Eidson <beidson@apple.com>
2642 Add an "initiated by user gesture" flag to ResourceRequest.
2643 https://bugs.webkit.org/show_bug.cgi?id=145281
2645 Reviewed by Alex Christensen.
2647 * WebCoreSupport/WebSystemInterface.mm:
2648 (WKResourceRequestIsUserInitiatedKey):
2649 (InitWebCoreSystemInterface):
2651 2015-05-20 Anders Carlsson <andersca@apple.com>
2655 * WebView/WebViewInternal.h:
2657 2015-05-20 Alex Christensen <achristensen@webkit.org>
2659 Unreviewed build fix; LocalizedStrings.h is in WebCore.
2661 * WebView/WebActionMenuController.mm:
2663 2015-05-20 Jer Noble <jer.noble@apple.com>
2665 Unreviewed build fix; WebActionMenuController.mm should directly include LocalizedStrings.h
2667 * WebView/WebActionMenuController.mm:
2669 2015-05-19 Jer Noble <jer.noble@apple.com>
2671 Touching HTMLMediaElement.h or MediaPlayer.h causes a world rebuild.
2672 https://bugs.webkit.org/show_bug.cgi?id=145193
2674 Reviewed by Eric Carlson.
2676 Use HTMLMediaElementEnums instead of HTMLMediaElement.
2678 * WebCoreSupport/WebChromeClient.h:
2679 * WebCoreSupport/WebChromeClient.mm:
2680 (WebChromeClient::enterVideoFullscreenForVideoElement): HTMLMediaElement -> HTMLMediaElementEnums.
2681 * WebView/WebView.mm:
2682 (-[WebView _enterVideoFullscreenForVideoElement:mode:]): Ditto.
2683 * WebView/WebViewInternal.h:
2685 2015-05-19 Michael Saboff <msaboff@apple.com>
2687 REGRESSION(183787): JIT is enabled for all builds
2688 https://bugs.webkit.org/show_bug.cgi?id=145179
2690 Reviewed by Geoffrey Garen.
2692 Eliminated the setting of ENABLE_JIT, as wtf/Platform.h has appropriate logic to
2693 set it depending on OS and CPU type.
2695 * Configurations/FeatureDefines.xcconfig:
2697 2015-05-19 Brady Eidson <beidson@apple.com>
2699 X-Frame-Options headers not respected when loading from application cache.
2700 <rdar://problem/14877623> and https://bugs.webkit.org/show_bug.cgi?id=131800
2702 Reviewed by Alexey Proskuryakov.
2704 * WebView/WebFrame.mm:
2705 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2707 2015-05-18 Skachkov Alexandr <gskachkov@gmail.com>
2709 [ES6] Arrow function syntax. Feature flag for arrow function
2710 https://bugs.webkit.org/show_bug.cgi?id=145108
2712 Reviewed by Ryosuke Niwa.
2714 Added feature flag ENABLE_ES6_ARROWFUNCTION_SYNTAX for arrow function
2716 * Configurations/FeatureDefines.xcconfig:
2718 2015-05-15 Jeremy Jones <jeremyj@apple.com>
2720 Limit alternate fullscreen with linked on or after.
2721 https://bugs.webkit.org/show_bug.cgi?id=144894
2723 Reviewed by Dean Jackson.
2725 * WebView/WebView.mm:
2726 (shouldAllowAlternateFullscreen): Added.
2727 (-[WebView _preferencesChanged:]):
2729 2015-05-12 Simon Fraser <simon.fraser@apple.com>
2731 Turn antialiased font dilation off by default
2732 https://bugs.webkit.org/show_bug.cgi?id=144940
2733 rdar://problem/20923031
2735 Reviewed by Sam Weinig.
2737 Turn antialised font dilation off by default.
2739 * WebView/WebPreferences.mm:
2740 (+[WebPreferences initialize]):
2742 2015-05-11 Daniel Bates <dabates@apple.com>
2744 [iOS] Close all open databases in expiration handler of process assertion
2745 https://bugs.webkit.org/show_bug.cgi?id=144661
2746 <rdar://problem/20845052>
2748 Reviewed by Darin Adler.
2750 For Legacy WebKit, close all open databases when the process assertion expiration
2753 * Storage/WebDatabaseManager.mm:
2754 (+[WebDatabaseManager startBackgroundTask]): Call DatabaseTracker::tracker().closeAllDatabases()
2755 in the expiration handler to close all open databases. As a side effect of closing
2756 a database all in-progress database transactions are interrupted.
2758 2015-05-10 Sungmann Cho <sungmann.cho@navercorp.com>
2760 Get rid of the public item accessors in BackForwardClient
2761 https://bugs.webkit.org/show_bug.cgi?id=144827
2763 Reviewed by Darin Adler.
2765 Remove backItem(), currentItem(), and forwardItem() from BackForwardClient.
2766 We can still use these functionalities through BackForwardController.
2768 No new tests, no behavior change.
2770 * WebView/WebView.mm:
2771 (-[WebView _loadBackForwardListFromOtherView:]):
2773 2015-05-09 Yoav Weiss <yoav@yoav.ws>
2775 Remove the PICTURE_SIZES build flag
2776 https://bugs.webkit.org/show_bug.cgi?id=144679
2778 Reviewed by Benjamin Poulain.
2780 Removed the PICTURE_SIZES build time flag.
2782 * Configurations/FeatureDefines.xcconfig:
2784 2015-05-08 Myles C. Maxfield <mmaxfield@apple.com>
2786 Remove convenience constructors for TextRun
2787 https://bugs.webkit.org/show_bug.cgi?id=144752
2789 These convenience constructors are unnecessary. Moving the code that makes the StringView
2790 back to the call site will also help us make things more elegant in future refactoring.
2792 Reviewed by Darin Adler.
2794 No new tests because there is no behavior change.
2796 * Misc/WebKitNSStringExtras.mm:
2797 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
2798 (-[NSString _web_widthWithFont:]):
2800 2015-05-08 Commit Queue <commit-queue@webkit.org>
2802 Unreviewed, rolling out r183996.
2803 https://bugs.webkit.org/show_bug.cgi?id=144806
2805 ASan detected use-after free (Requested by ap on #webkit).
2809 "Remove convenience constructors for TextRun"
2810 https://bugs.webkit.org/show_bug.cgi?id=144752
2811 http://trac.webkit.org/changeset/183996
2813 2015-05-08 Myles C. Maxfield <mmaxfield@apple.com>
2815 Remove convenience constructors for TextRun
2816 https://bugs.webkit.org/show_bug.cgi?id=144752
2818 These convenience constructors are unnecessary. Moving the code that makes the StringView
2819 back to the call site will also help us make things more elegant in future refactoring.
2821 Reviewed by Darin Adler.
2823 No new tests because there is no behavior change.
2825 * Misc/WebKitNSStringExtras.mm:
2826 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
2827 (-[NSString _web_widthWithFont:]):
2829 2015-05-07 Anders Carlsson <andersca@apple.com>
2833 * Misc/WebNSPasteboardExtras.mm:
2834 (-[NSPasteboard _web_writeFileWrapperAsRTFDAttachment:]):
2835 * WebView/WebHTMLView.mm:
2836 (-[WebHTMLView _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:]):
2837 (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
2838 * WebView/WebPDFView.mm:
2839 (-[WebPDFView writeSelectionWithPasteboardTypes:toPasteboard:]):
2840 Pass empty arrays and dictionaries instead of nil.
2842 * WebView/WebView.mm:
2843 (-[WebView _commonInitializationWithFrameName:groupName:]):
2844 Use the regular init method.
2846 2015-05-07 Said Abou-Hallawa <sabouhallawa@apple.com>
2848 Fix iPhone 6 iOS simulator Build.
2849 following http://trac.webkit.org/changeset/183954.
2851 Reviewed by Daniel Bates.
2853 * WebView/WebHTMLView.mm:
2854 (-[WebHTMLView pressureChangeWithEvent:]):
2856 2015-05-07 Timothy Horton <timothy_horton@apple.com>
2858 Occasional null deref in WebImmediateActionController
2859 https://bugs.webkit.org/show_bug.cgi?id=144772
2860 <rdar://problem/20811128>
2862 Reviewed by Beth Dakin.
2864 * WebView/WebImmediateActionController.mm:
2865 (-[WebImmediateActionController _defaultAnimationController]):
2866 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
2867 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
2868 Null-check TextIndicators before dereferencing.
2870 2015-05-07 Beth Dakin <bdakin@apple.com>
2872 New force-related DOM events should fire in WK1 views
2873 https://bugs.webkit.org/show_bug.cgi?id=144663
2875 rdar://problem/20281886
2877 Reviewed by Sam Weinig.
2879 Pass the lastPressureEvent to WebCore.
2880 * WebView/WebHTMLView.mm:
2881 (-[WebHTMLView _updateMouseoverWithEvent:]):
2882 (-[WebHTMLView rightMouseUp:]):
2883 (-[WebHTMLView menuForEvent:]):
2884 (-[WebHTMLView acceptsFirstMouse:]):
2885 (-[WebHTMLView shouldDelayWindowOrderingForEvent:]):
2886 (-[WebHTMLView mouseDown:mouseDown:]):
2887 (-[WebHTMLView mouseDragged:]):
2888 (-[WebHTMLView mouseUp:mouseUp:]):
2890 New NSRespnder method for pressure changes.
2891 (-[WebHTMLView pressureChangeWithEvent:]):
2893 New BOOL _contentPreventsDefault tracks whether the HitTestResult prevented the
2894 default action. Get rid of willHandleMouseDown; now that the gesture recognizer
2895 sets delaysPrimaryMouseButtonEvents to NO, we don’t need this.
2896 * WebView/WebImmediateActionController.h:
2897 * WebView/WebImmediateActionController.mm:
2898 (-[WebImmediateActionController _clearImmediateActionState]):
2900 Set all of the immediateActionStages on EventHandler. This is critical to keep
2901 link navigation happening at the right time now that
2902 delaysPrimaryMouseButtonEvents is set to NO.
2903 (-[WebImmediateActionController performHitTestAtPoint:]):
2904 (-[WebImmediateActionController immediateActionRecognizerDidUpdateAnimation:]):
2905 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
2906 (-[WebImmediateActionController immediateActionRecognizerDidCompleteAnimation:]):
2908 Use a dummy animation controller if the content prevents default.
2909 (-[WebImmediateActionController _defaultAnimationController]):
2910 (-[WebImmediateActionController _updateImmediateActionItem]):
2911 (-[WebImmediateActionController webView:willHandleMouseDown:]): Deleted.
2913 Set delaysPrimaryMouseButtonEvents to NO so that we get existing mouse events when
2915 * WebView/WebView.mm:
2916 (-[WebView _commonInitializationWithFrameName:groupName:]):
2918 Cache the most recent pressure event so that we can send it to WebCore for all of
2920 (-[WebView _pressureEvent]):
2921 (-[WebView _setPressureEvent:]):
2922 * WebView/WebViewData.h:
2923 * WebView/WebViewData.mm:
2924 (-[WebViewPrivate dealloc]):
2925 * WebView/WebViewInternal.h:
2927 2015-05-05 Myles C. Maxfield <mmaxfield@apple.com>
2929 Revert "Introducing the Platform Abstraction Layer (PAL)"
2930 https://bugs.webkit.org/show_bug.cgi?id=144751
2934 PAL should be a new target inside WebCore, rather than a top-level folder.
2936 * Configurations/FeatureDefines.xcconfig: Updated
2938 2015-05-07 Dan Bernstein <mitz@apple.com>
2940 <rdar://problem/19317140> [Xcode] Remove usage of AspenFamily.xcconfig in Source/
2941 https://bugs.webkit.org/show_bug.cgi?id=144727
2943 Reviewed by Darin Adler.
2945 * Configurations/Base.xcconfig: Don’t include AspenFamily.xcconfig.
2946 * Configurations/WebKitLegacy.xcconfig: Define INSTALL_PATH in terms of
2947 INSTALL_PATH_PREFIX and INSTALL_PATH_ACTUAL, and define INSTALL_PATH_PREFIX for the iOS 8.x
2950 2015-04-02 Myles C. Maxfield <mmaxfield@apple.com>
2952 Introducing the Platform Abstraction Layer (PAL)
2953 https://bugs.webkit.org/show_bug.cgi?id=143358
2955 Reviewed by Simon Fraser.
2957 * Configurations/FeatureDefines.xcconfig: Updated
2959 2015-05-06 Antti Koivisto <antti@apple.com>
2961 REGRESSION (r183467): Unable to start downloads in private browsing mode
2962 https://bugs.webkit.org/show_bug.cgi?id=144533
2964 Reviewed by Darin Adler.
2966 * WebCoreSupport/WebFrameLoaderClient.mm:
2967 (WebFrameLoaderClient::dispatchWillSendRequest):
2969 Use updateFromDelegatePreservingOldProperties (like WK2) instead of doing the same thing manually.
2971 2015-05-06 Ryosuke Niwa <rniwa@webkit.org>
2973 Toggling underline on font panel removes strike through
2974 https://bugs.webkit.org/show_bug.cgi?id=144670
2975 <rdar://problem/3790443>
2977 Reviewed by Darin Adler.
2979 Use setStrikeThroughChange and setUnderlineChange added in r183770 to toggle underline and strike through.
2981 * WebView/WebHTMLView.mm:
2982 (-[WebHTMLView _applyEditingStyleToSelection:withUndoAction:]):
2983 (-[WebHTMLView _styleForAttributeChange:]):
2984 (-[WebHTMLView changeAttributes:]):
2986 2015-05-04 Ryosuke Niwa <rniwa@webkit.org>
2988 Toggling underline or strike through affects each other
2989 https://bugs.webkit.org/show_bug.cgi?id=27818
2991 Reviewed by Darin Adler.
2993 * WebView/WebFrame.mm:
2994 (-[WebFrame _setTypingStyle:withUndoAction:]):
2996 2015-05-01 Martin Robinson <mrobinson@igalia.com>
2998 USE(...) macro should expect unprefixed variables
2999 https://bugs.webkit.org/show_bug.cgi?id=144454
3001 Reviewed by Daniel Bates.
3003 * Misc/WebDownload.h: Replace all occurrences WTF_USE with USE.
3005 2015-05-01 Brady Eidson <beidson@apple.com>
3007 Add API to disable meta refreshes.
3008 <rdar://problem/20333198> and https://bugs.webkit.org/show_bug.cgi?id=144269
3010 Reviewed by Alexey Proskuryakov.
3012 Add a preference to enable/disable meta refreshes, enabled by default.
3014 * WebView/WebPreferenceKeysPrivate.h:
3015 * WebView/WebPreferences.mm:
3016 (+[WebPreferences initialize]):
3017 (-[WebPreferences setMetaRefreshEnabled:]):
3018 (-[WebPreferences metaRefreshEnabled]):
3019 * WebView/WebPreferencesPrivate.h:
3020 * WebView/WebView.mm:
3021 (-[WebView _preferencesChanged:]):
3023 2015-04-30 Jon Davis <jond@apple.com>
3025 Web Inspector: console should show an icon for console.info() messages
3026 https://bugs.webkit.org/show_bug.cgi?id=18530
3028 Reviewed by Timothy Hatcher.
3030 * WebCoreSupport/WebChromeClient.mm:
3031 (stringForMessageLevel):
3032 * WebView/WebUIDelegatePrivate.h:
3034 2015-04-29 Myles C. Maxfield <mmaxfield@apple.com>
3036 [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
3037 https://bugs.webkit.org/show_bug.cgi?id=132159
3039 Reviewed by Darin Adler.
3041 Add SPI to set the font whitelist.
3043 * WebView/WebView.mm:
3044 (+[WebView _setFontWhitelist:]):
3045 * WebView/WebViewPrivate.h:
3047 2015-04-28 Timothy Horton <timothy_horton@apple.com>
3049 [TextIndicator] Yellow highlight takes too long to fade out on scroll
3050 https://bugs.webkit.org/show_bug.cgi?id=144358
3051 <rdar://problem/19451011>
3053 Reviewed by Beth Dakin.
3055 * WebView/WebActionMenuController.mm:
3056 (-[WebActionMenuController _showTextIndicator]):
3057 * WebView/WebHTMLView.mm:
3058 (-[WebHTMLView quickLookWithEvent:]):
3059 * WebView/WebImmediateActionController.mm:
3060 (-[WebImmediateActionController _defaultAnimationController]):
3061 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
3062 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
3063 Pull _clearTextIndicatorWithAnimation out, make it avoid using a dismissal animation
3064 if we're called from didHandleScrollWheel.
3066 * WebView/WebView.mm:
3067 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
3068 (-[WebView _setTextIndicator:]):
3069 (-[WebView _setTextIndicator:withLifetime:]):
3070 (-[WebView _clearTextIndicator]):
3071 (-[WebView _showDictionaryLookupPopup:]):
3072 (-[WebView _dictionaryLookupPopoverWillClose:]):
3073 (-[WebView _setTextIndicator:fadeOut:]): Deleted.
3074 * WebView/WebViewInternal.h:
3075 Make _setTextIndicator take a reference.
3076 Add a variant of _setTextIndicator that takes a Lifetime.
3077 Make _clearTextIndicatorWithAnimation take a DismissalAnimation.
3079 2015-04-28 Michael Catanzaro <mcatanzaro@igalia.com>
3081 Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
3082 https://bugs.webkit.org/show_bug.cgi?id=144304
3084 Reviewed by Geoffrey Garen.
3086 Define ENABLE_JIT, enabled by default, instead of ENABLE_LLINT_C_LOOP, disabled by default.
3088 * Configurations/FeatureDefines.xcconfig:
3090 2015-04-28 Commit Queue <commit-queue@webkit.org>
3092 Unreviewed, rolling out r183514.
3093 https://bugs.webkit.org/show_bug.cgi?id=144359
3095 It broke cloop test bots (Requested by mcatanzaro on #webkit).
3099 "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
3100 https://bugs.webkit.org/show_bug.cgi?id=144304
3101 http://trac.webkit.org/changeset/183514
3103 2015-04-28 Michael Catanzaro <mcatanzaro@igalia.com>
3105 Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
3106 https://bugs.webkit.org/show_bug.cgi?id=144304
3108 Reviewed by Geoffrey Garen.
3110 Define ENABLE_JIT, enabled by default, instead of ENABLE_LLINT_C_LOOP, disabled by default.
3112 * Configurations/FeatureDefines.xcconfig:
3114 2015-04-28 Joseph Pecoraro <pecoraro@apple.com>
3116 Fix common typo "targetting" => "targeting"
3117 https://bugs.webkit.org/show_bug.cgi?id=144349
3119 Reviewed by Daniel Bates.
3121 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
3122 (WebKit::NetscapePluginInstanceProxy::loadRequest):
3123 * Plugins/WebNetscapePluginView.mm:
3124 (-[WebNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
3125 * WebView/WebPolicyDelegate.h:
3127 2015-04-28 Brady Eidson <beidson@apple.com>
3129 Consolidate most "frame load" arguments into FrameLoadRequest.
3130 https://bugs.webkit.org/show_bug.cgi?id=144276
3132 Reviewed by Alexey Proskuryakov.
3134 * WebView/WebPDFView.mm:
3135 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
3137 2015-04-27 Dan Bernstein <mitz@apple.com>
3139 <rdar://problem/20721931> REGRESSION (r178753): All legacy framework headers are missing availability annotations
3140 https://bugs.webkit.org/show_bug.cgi?id=144311
3142 Reviewed by Adele Peterson.
3144 * postprocess-headers.sh: Changed “macsox” to “macosx”.
3146 2015-04-27 Brady Eidson <beidson@apple.com>
3148 Make 'enum NavigationType' be an enum class
3149 https://bugs.webkit.org/show_bug.cgi?id=144270
3151 Reviewed by Alex Christensen.
3153 * WebCoreSupport/WebFrameLoaderClient.mm:
3154 (WebFrameLoaderClient::actionDictionary):
3156 2015-04-27 Brent Fulgham <bfulgham@apple.com>
3158 REGRESSION(r182879): Images and video can no longer be downloaded
3159 https://bugs.webkit.org/show_bug.cgi?id=144267
3160 <rdar://problem/20702844>
3162 Reviewed by Simon Fraser.
3164 * WebView/WebActionMenuController.mm:
3165 (-[WebActionMenuController _createActionMenuItemForTag:]): Check for
3166 "!WebCore::protocolIs(..., "file")" for image and media downloads.
3168 2015-04-26 Yusuke Suzuki <utatane.tea@gmail.com>
3170 [ES6] Implement ES6 template literals
3171 https://bugs.webkit.org/show_bug.cgi?id=142691
3173 Reviewed by Darin Adler.
3175 Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
3177 * Configurations/FeatureDefines.xcconfig:
3179 2015-04-26 Doug Russell <d_russell@apple.com>
3181 AX: richer text change notifications (142719)
3182 https://bugs.webkit.org/show_bug.cgi?id=142719
3184 Reviewed by Darin Adler.
3186 Richer accessibility value change notifications. Introduce AXTextEditType,
3187 postTextStateChangeNotification and postTextReplacementNotification to give assistive
3188 tech apps more reliable context for responding to changes in web content. Also implement
3189 a mechanism to post value changes in password form fields in coalesced ticks to thwart
3190 analyzing the cadence of changes.
3192 Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
3193 and an overload of postTextReplacementNotification to give assistive tech apps more
3194 reliable context for responding to changes in web content selection. Also block posting
3195 selection changes on password fields.
3197 * WebCoreSupport/WebEditorClient.mm:
3198 (undoNameForEditAction):
3200 2015-04-24 Timothy Hatcher <timothy@apple.com>
3202 Web Inspector: Remove native window dock controls
3203 https://bugs.webkit.org/show_bug.cgi?id=144184
3205 Reviewed by Joseph Pecoraro.
3207 * Resources/Dock.pdf: Removed.
3208 * Resources/DockLegacy.pdf: Removed.
3209 * WebCoreSupport/WebInspectorClient.mm:
3210 (-[WebInspectorWindowController window]):
3211 (-[WebInspectorWindowController setDockingUnavailable:]):
3213 2015-04-25 Martin Robinson <mrobinson@igalia.com>
3215 Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
3216 https://bugs.webkit.org/show_bug.cgi?id=144182
3218 Reviewed by Simon Fraser.
3220 * Configurations/FeatureDefines.xcconfig: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
3222 2015-04-24 Commit Queue <commit-queue@webkit.org>
3224 Unreviewed, rolling out r183266.
3225 https://bugs.webkit.org/show_bug.cgi?id=144164
3227 Broke 32-bit build and a test. (Requested by ap on #webkit).
3231 "AX: richer text change notifications (142719)"
3232 https://bugs.webkit.org/show_bug.cgi?id=142719
3233 http://trac.webkit.org/changeset/183266
3235 2015-04-24 Myles C. Maxfield <mmaxfield@apple.com>
3237 [Cocoa] Start cleaning up FontPlatformData
3238 https://bugs.webkit.org/show_bug.cgi?id=144133
3240 Reviewed by Enrica Casucci.
3242 Receive casts which have been hoisted from the deleted FontPlatformData constructor.
3244 * Misc/WebKitNSStringExtras.mm:
3245 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]): Receive cast which has
3246 been hoisted from the deleted FontPlatformData constructor.
3247 (-[NSString _web_widthWithFont:]): Ditto.
3248 * Misc/WebStringTruncator.mm:
3249 (fontFromNSFont): Ditto.
3251 2015-04-24 Doug Russell <d_russell@apple.com>
3253 AX: richer text change notifications (142719)
3254 https://bugs.webkit.org/show_bug.cgi?id=142719
3256 Reviewed by Darin Adler.
3258 Richer accessibility value change notifications. Introduce AXTextEditType, postTextStateChangeNotification and postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content. Also implement a mechanism to post value changes in password form fields in coalesced ticks to thwart analyzing the cadence of changes.
3260 Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent, and an overload of postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content selection. Also block posting selection changes on password fields.
3262 * WebCoreSupport/WebEditorClient.mm:
3263 (undoNameForEditAction):
3265 2015-04-23 Jer Noble <jer.noble@apple.com>
3267 [Mac] Disable QTKit by default on future OS X.
3268 https://bugs.webkit.org/show_bug.cgi?id=144082
3270 Reviewed by Darin Adler.
3272 Default WebKitQTKitEnabledPreferenceKey to NO.
3274 * WebView/WebPreferences.mm:
3275 (+[WebPreferences initialize]):
3277 2015-04-23 Andreas Kling <akling@apple.com>
3279 There should only be one way to get the system memory size.
3280 <https://webkit.org/b/144081>
3282 Reviewed by Antti Koivisto.
3284 * Misc/WebKitSystemBits.h:
3285 * Misc/WebKitSystemBits.m:
3286 (WebMemorySize): Deleted.
3287 * WebView/WebView.mm:
3288 (+[WebView _setCacheModel:]):
3289 (roundUpToPowerOf2): Deleted.
3291 2015-04-22 Darin Adler <darin@apple.com>
3293 Remove OwnPtr and PassOwnPtr use from WebKit/cf, WebKit/mac, and WebKit2
3294 https://bugs.webkit.org/show_bug.cgi?id=143943
3296 Reviewed by Anders Carlsson.
3298 * Plugins/Hosted/ProxyInstance.h: Removed unneeded include.
3299 * Plugins/WebBaseNetscapePluginView.h: Ditto.
3301 * Plugins/WebNetscapePluginEventHandler.h: Use unique_ptr instead of
3302 PassOwnPtr for the create function. Also tweaked formatting and removed
3303 unneeded forward declaration of CGRect.
3304 * Plugins/WebNetscapePluginEventHandler.mm:
3305 (WebNetscapePluginEventHandler::create): Changed to use unique_ptr and
3308 * Plugins/WebNetscapePluginView.h: Use unique_ptr instead of OwnPtr for
3309 the _eventHandler field.
3310 * Plugins/WebNetscapePluginView.mm:
3311 (-[WebNetscapePluginView destroyPlugin]): Changed code to work with unique_ptr.
3313 * WebCoreSupport/WebUserMediaClient.mm: Removed unneeded include.
3315 * WebView/WebDeviceOrientationProviderMock.mm: Changed to use make_unique.
3316 * WebView/WebDeviceOrientationProviderMockInternal.h: Changed to use unique_ptr.
3318 * WebView/WebFrame.mm:
3319 (vectorForDictationPhrasesArray): Changed to return Vector<Vector<String>> and
3320 not a PassOwnPtr. Also rewrote to be much simpler, although there is still a
3321 pre-existing problem here where this could put empty vectors into the result,
3322 and I'm pretty sure the client never expects any of the Vector<String> to be empty.
3323 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
3324 Rewrote logic to involve WebCore types a bit less; old code was round tripping
3325 things through WebCore::URL for no obvious reason.
3327 * WebView/WebFrameInternal.h: Changed vectorForDictationPhrasesArray to return
3328 a Vector<Vector<String>> and not a PassOwnPtr.
3330 * WebView/WebFullScreenController.h: Removed unneeded include.
3332 * WebView/WebViewData.h: Changed m_alternativeTextUIController to be a
3333 m_alternativeTextUIController.
3334 * WebView/WebViewData.mm:
3335 (-[WebViewPrivate init]): Use make_unique to initialize m_alternativeTextUIController.
3337 2015-04-22 Brent Fulgham <bfulgham@apple.com>
3339 VisibleSelection should only accept Range by reference
3340 https://bugs.webkit.org/show_bug.cgi?id=144047
3342 Reviewed by Tim Horton.
3344 Update all uses of VisibleSelection to pass a Range reference instead
3347 * WebCoreSupport/WebContextMenuClient.mm:
3348 (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
3349 * WebView/WebFrame.mm:
3350 (-[WebFrame _selectNSRange:]):
3352 2015-04-22 Eric Carlson <eric.carlson@apple.com>
3354 [Mac] Device picker menu is positioned incorrectly in WK1
3355 https://bugs.webkit.org/show_bug.cgi?id=144049
3356 <rdar://problem/20493101>
3358 Reviewed by Dean Jackson.
3360 * WebView/WebView.mm:
3361 (-[WebView _showPlaybackTargetPicker:location:hasVideo:]): Mouse location is already in
3362 window coordinates so don't call convertRect:toView:nil.
3364 2015-04-21 Brent Fulgham <bfulgham@apple.com>
3366 Extend action menus to support PDF
3367 https://bugs.webkit.org/show_bug.cgi?id=143895
3368 <rdar://problem/19003333>
3370 Reviewed by Tim Horton.
3372 Prevent a crash when someone attempts to invoke an action menu on a PDF hosted
3375 * WebView/WebActionMenuController.mm:
3376 (-[WebActionMenuController performHitTestAtPoint:]): Handle WebPDFView as well as
3377 the WebHTMLView case.
3378 * WebView/WebDocument.h:
3379 * WebView/WebHTMLView.h:
3380 * WebView/WebHTMLView.mm:
3381 (-[WebHTMLView _frame]):
3382 * WebView/WebHTMLViewInternal.h:
3383 * WebView/WebPDFView.h:
3384 * WebView/WebPDFView.mm:
3385 (-[WebPDFView _frame]): Added.
3387 2015-04-22 Eric Carlson <eric.carlson@apple.com>
3389 Unreviewed post-review clean up after r183096.
3391 * WebView/WebMediaPlaybackTargetPicker.h:
3393 2015-04-21 Eric Carlson <eric.carlson@apple.com>
3395 [Mac] Use one playback target for all web processes
3396 https://bugs.webkit.org/show_bug.cgi?id=144009
3398 Reviewed by Tim Horton.
3400 Update to use WebMediaSessionManager for playback target management.
3402 * WebCoreSupport/WebChromeClient.h:
3403 * WebCoreSupport/WebChromeClient.mm:
3404 (WebChromeClient::addPlaybackTargetPickerClient):
3405 (WebChromeClient::removePlaybackTargetPickerClient):
3406 (WebChromeClient::showPlaybackTargetPicker):
3407 (WebChromeClient::playbackTargetPickerClientStateDidChange):
3408 (WebChromeClient::startingMonitoringPlaybackTargets): Deleted.
3409 (WebChromeClient::stopMonitoringPlaybackTargets): Deleted.
3410 * WebView/WebMediaPlaybackTargetPicker.h:
3411 * WebView/WebMediaPlaybackTargetPicker.mm:
3412 (WebMediaPlaybackTargetPicker::addPlaybackTargetPickerClient):
3413 (WebMediaPlaybackTargetPicker::removePlaybackTargetPickerClient):
3414 (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker):
3415 (WebMediaPlaybackTargetPicker::playbackTargetPickerClientStateDidChange):
3416 (WebMediaPlaybackTargetPicker::setPlaybackTarget):
3417 (WebMediaPlaybackTargetPicker::externalOutputDeviceAvailableDidChange):
3418 (WebMediaPlaybackTargetPicker::setShouldPlayToPlaybackTarget):
3419 (WebMediaPlaybackTargetPicker::invalidate):
3420 (WebMediaPlaybackTargetPicker::startingMonitoringPlaybackTargets): Deleted.
3421 (WebMediaPlaybackTargetPicker::stopMonitoringPlaybackTargets): Deleted.
3422 (WebMediaPlaybackTargetPicker::didChoosePlaybackTarget): Deleted.
3423 (WebMediaPlaybackTargetPicker::targetPicker): Deleted.
3424 * WebView/WebView.mm:
3425 (-[WebView _addPlaybackTargetPickerClient:]):
3426 (-[WebView _removePlaybackTargetPickerClient:]):
3427 (-[WebView _showPlaybackTargetPicker:location:hasVideo:]):
3428 (-[WebView _playbackTargetPickerClientStateDidChange:state:]):
3429 (-[WebView _showPlaybackTargetPicker:hasVideo:]): Deleted.
3430 (-[WebView _startingMonitoringPlaybackTargets]): Deleted.
3431 (-[WebView _stopMonitoringPlaybackTargets]): Deleted.
3432 * WebView/WebViewInternal.h:
3434 2015-04-20 Alexey Proskuryakov <ap@apple.com>
3436 Disable mixed content blocking for existing WebKit1 clients
3437 https://bugs.webkit.org/show_bug.cgi?id=143955
3438 rdar://problem/20177186
3440 Reviewed by Oliver Hunt.
3442 * Misc/WebKitVersionChecks.h:
3443 * WebView/WebView.mm:
3444 (shouldAllowInsecureContent):
3445 (-[WebView _preferencesChanged:]):
3447 2015-04-20 Tim Horton <timothy_horton@apple.com>
3449 Implement immediate action support for tel: and mailto: URLs
3450 https://bugs.webkit.org/show_bug.cgi?id=143916
3451 <rdar://problem/19721711>
3453 Reviewed by Darin Adler.
3455 * WebView/WebImmediateActionController.mm:
3456 (-[WebImmediateActionController _defaultAnimationController]):
3457 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
3458 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
3459 (-[WebImmediateActionController _menuItemForDataDetectedText]): Deleted.
3460 * WebView/WebUIDelegatePrivate.h:
3461 Add _animationControllerForDataDetectedLink and use it when
3462 building immediate actions for tel: and mailto: links.
3464 2015-04-17 Daniel Bates <dabates@apple.com>
3466 REGRESSION: SVG does not support link dragging
3467 https://bugs.webkit.org/show_bug.cgi?id=141597
3469 Reviewed by Darin Adler.
3471 Write -[WebElementDictionary _isLiveLink] in terms of WebCore::isDraggableLink().
3473 * Misc/WebElementDictionary.mm:
3474 (-[WebElementDictionary _isLiveLink]):
3476 2015-04-16 Sam Weinig <sam@webkit.org>
3478 Expose JavaScriptMarkupEnabled preference for WebKit1
3479 <rdar://problem/19939450>
3480 https://bugs.webkit.org/show_bug.cgi?id=143855
3482 Reviewed by Dan Bernstein.
3484 * WebView/WebPreferenceKeysPrivate.h:
3485 Add new key, WebKitJavaScriptMarkupEnabledPreferenceKey
3487 * WebView/WebPreferences.mm:
3488 (+[WebPreferences initialize]):
3489 Initialize WebKitJavaScriptMarkupEnabledPreferenceKey to YES.
3491 (-[WebPreferences isJavaScriptMarkupEnabled]):
3492 (-[WebPreferences setJavaScriptMarkupEnabled:]):
3493 Implement getter/setter.
3495 * WebView/WebPreferencesPrivate.h:
3496 Add new property, javaScriptMarkupEnabled.
3498 * WebView/WebView.mm:
3499 (-[WebView _preferencesChanged:]):
3500 Map the new preference to WebCore's scriptMarkupEnabled setting.
3502 2015-04-15 Brent Fulgham <bfulgham@apple.com>
3504 [Mac] Disable "Save to Downloads" option for local files
3505 https://bugs.webkit.org/show_bug.cgi?id=143794
3507 Reviewed by Tim Horton.
3509 Disable the Image and Media download options if the download
3510 target is a local file. We can only download web resources;
3511 anything else is actually a no-op.
3513 * WebView/WebActionMenuController.mm:
3514 (-[WebActionMenuController _defaultMenuItemsForImage]):
3515 (-[WebActionMenuController _defaultMenuItemsForVideo]):
3517 2015-04-15 Alex Christensen <achristensen@webkit.org>
3519 Progress towards CMake on Mac.
3520 https://bugs.webkit.org/show_bug.cgi?id=143785
3522 Reviewed by Csaba Osztrogonác.
3524 * WebView/WebPDFDocumentExtras.mm:
3525 * WebView/WebPDFView.mm:
3527 2015-04-13 Jer Noble <jer.noble@apple.com>
3529 [Fullscreen] ChromeClient::exitVideoFullscreen() should take a pointer to a HTMLVideoElement.
3530 https://bugs.webkit.org/show_bug.cgi?id=143674
3532 Reviewed by Darin Adler.
3534 * WebCoreSupport/WebChromeClient.h:
3535 * WebCoreSupport/WebChromeClient.mm:
3536 (WebChromeClient::enterVideoFullscreenForVideoElement): Takes a reference.
3537 (WebChromeClient::exitVideoFullscreenForVideoElement): Renamed from exitVideoFullscreen().
3538 (WebChromeClient::exitVideoFullscreen): Deleted.
3540 2015-04-14 Simon Fraser <simon.fraser@apple.com>
3542 Re-enable custom dilation for antialiased fonts
3543 https://bugs.webkit.org/show_bug.cgi?id=143738
3545 Reviewed by Tim Horton.
3547 Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
3548 but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
3549 a private WebKit pref. This pref defaults to YES, enabling the feature by default
3550 in WK1 as we do for WK2.
3552 * WebView/WebPreferenceKeysPrivate.h:
3553 * WebView/WebPreferences.mm:
3554 (+[WebPreferences initialize]):
3555 (-[WebPreferences setAntialiasedFontDilationEnabled:]):
3556 (-[WebPreferences antialiasedFontDilationEnabled]):
3557 * WebView/WebPreferencesPrivate.h:
3558 * WebView/WebView.mm:
3559 (-[WebView _preferencesChanged:]):
3561 2015-04-13 Brady Eidson <beidson@apple.com>
3563 Share sheets from Share menus appear outside the browser window.
3564 <rdar://problem/20455592> and https://bugs.webkit.org/show_bug.cgi?id=143620
3566 Reviewed by Darin Adler.
3568 Refactor existing Sharing Service Picker code to also be used for the Share menu NSMenuItem.
3570 * Misc/WebSharingServicePickerController.h:
3571 (WebSharingServicePickerClient::webView):
3572 * Misc/WebSharingServicePickerController.mm:
3573 (WebSharingServicePickerClient::WebSharingServicePickerClient):
3574 (WebSharingServicePickerClient::sharingServicePickerWillBeDestroyed):
3575 (WebSharingServicePickerClient::pageForSharingServicePicker):
3576 (WebSharingServicePickerClient::windowForSharingServicePicker):
3577 (WebSharingServicePickerClient::screenRectForCurrentSharingServicePickerItem):
3578 (WebSharingServicePickerClient::imageForCurrentSharingServicePickerItem):
3579 (-[WebSharingServicePickerController initWithItems:includeEditorServices:client:style:]):
3580 (-[WebSharingServicePickerController initWithSharingServicePicker:client:]):
3581 (-[WebSharingServicePickerController sharingService:didShareItems:]):
3583 * WebCoreSupport/WebContextMenuClient.h:
3584 (WebContextMenuClient::webView): Deleted.
3585 * WebCoreSupport/WebContextMenuClient.mm:
3586 (WebContextMenuClient::WebContextMenuClient):
3587 (WebContextMenuClient::pageForSharingServicePicker): Deleted.
3588 (WebContextMenuClient::windowForSharingServicePicker): Deleted.
3590 * WebCoreSupport/WebSelectionServiceController.h:
3591 * WebCoreSupport/WebSelectionServiceController.mm: