Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 1313763002: Blink Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge origin/master Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/PluginPlaceholderImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 1a2de48d499f6166c4f89a2b381f8c9b9a516897..0e82d6c77fc15e7d285dc4ff87773f9a1917b6a1 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -85,10 +85,8 @@
#include "public/web/WebNode.h"
#include "public/web/WebPlugin.h"
#include "public/web/WebPluginParams.h"
-#include "public/web/WebPluginPlaceholder.h"
#include "public/web/WebViewClient.h"
#include "web/DevToolsEmulator.h"
-#include "web/PluginPlaceholderImpl.h"
#include "web/SharedWorkerRepositoryClientImpl.h"
#include "web/WebDataSourceImpl.h"
#include "web/WebDevToolsAgentImpl.h"
@@ -712,32 +710,6 @@ bool FrameLoaderClientImpl::canCreatePluginWithoutRenderer(const String& mimeTyp
return m_webFrame->client()->canCreatePluginWithoutRenderer(mimeType);
}
-PassOwnPtrWillBeRawPtr<PluginPlaceholder> FrameLoaderClientImpl::createPluginPlaceholder(
- Document& document,
- const KURL& url,
- const Vector<String>& paramNames,
- const Vector<String>& paramValues,
- const String& mimeType,
- bool loadManually)
-{
- if (!m_webFrame->client())
- return nullptr;
-
- WebPluginParams params;
- params.url = url;
- params.mimeType = mimeType;
- params.attributeNames = paramNames;
- params.attributeValues = paramValues;
- params.loadManually = loadManually;
-
- OwnPtr<WebPluginPlaceholder> webPluginPlaceholder = adoptPtr(
- m_webFrame->client()->createPluginPlaceholder(m_webFrame, params));
- if (!webPluginPlaceholder)
- return nullptr;
-
- return PluginPlaceholderImpl::create(webPluginPlaceholder.release(), document);
-}
-
PassRefPtrWillBeRawPtr<Widget> FrameLoaderClientImpl::createPlugin(
HTMLPlugInElement* element,
const KURL& url,
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/PluginPlaceholderImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698