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

Unified Diff: chrome/renderer/plugins/chrome_plugin_placeholder.h

Issue 1126073003: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The version that was reverted. Created 5 years, 7 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
Index: chrome/renderer/plugins/chrome_plugin_placeholder.h
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.h b/chrome/renderer/plugins/chrome_plugin_placeholder.h
index d5fb2f9406d7554c85c870c47492d3e6fc42ce78..637e57164340a987d46558502d608854973567e4 100644
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
@@ -32,8 +32,6 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
public content::RenderProcessObserver,
public content::ContextMenuClient {
public:
- static const char kPluginPlaceholderDataURL[];
-
static ChromePluginPlaceholder* CreateBlockedPlugin(
content::RenderFrame* render_frame,
blink::WebLocalFrame* frame,
@@ -46,15 +44,11 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
const PlaceholderPosterInfo& poster_info);
// Creates a new WebViewPlugin with a MissingPlugin as a delegate.
- static ChromePluginPlaceholder* CreateMissingPlugin(
+ static ChromePluginPlaceholder* CreateLoadableMissingPlugin(
content::RenderFrame* render_frame,
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params);
- static ChromePluginPlaceholder* CreateErrorPlugin(
- content::RenderFrame* render_frame,
- const base::FilePath& plugin_path);
-
void SetStatus(ChromeViewHostMsg_GetPluginInfo_Status status);
#if defined(ENABLE_PLUGIN_INSTALLATION)
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698