Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Move allowPlugins to FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=205876 Patch by Rob Buis <rbuis@igalia.com> on 2020-04-17 Reviewed by Darin Adler. Source/WebCore: Move allowPlugins to FrameLoader to reduce pointer dereferences and lessen dependency on SubframeLoader. Also rename to arePluginsEnabled since the method is asking the Setting with the same name. * dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocument): * html/HTMLElement.cpp: (WebCore::HTMLElement::rendererIsEverNeeded): * loader/FrameLoader.cpp: (WebCore::FrameLoader::arePluginsEnabled): * loader/FrameLoader.h: * loader/SubframeLoader.cpp: (WebCore::SubframeLoader::createJavaAppletWidget): (WebCore::SubframeLoader::allowPlugins): Deleted. * loader/SubframeLoader.h: * plugins/DOMMimeType.cpp: (WebCore::DOMMimeType::enabledPlugin const): Source/WebKit: Adapt to API change. * WebProcess/Plugins/WebPluginInfoProvider.cpp: (WebKit::WebPluginInfoProvider::pluginInfo): (WebKit::WebPluginInfoProvider::populatePluginCache): * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::objectContentType): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::createPlugin): (WebKit::WebPage::canPluginHandleResponse): (WebKit::WebPage::canShowMIMEType const): Source/WebKitLegacy/mac: Adapt to API change. * WebCoreSupport/WebPluginInfoProvider.mm: (WebPluginInfoProvider::pluginInfo): * WebView/WebFrame.mm: (-[WebFrame _canProvideDocumentSource]): Source/WebKitLegacy/win: Adapt to API change. * WebView.cpp: (WebView::canShowMIMEType): Canonical link: https://commits.webkit.org/223512@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
e956af8
commit deb28152c6219f55fe5bb1f4ed5238150ad717e2
Showing
17 changed files
with
94 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters