Index: components/plugins/renderer/loadable_plugin_placeholder.h |
diff --git a/components/plugins/renderer/loadable_plugin_placeholder.h b/components/plugins/renderer/loadable_plugin_placeholder.h |
index e67c86104537182898d1c84b85af0e75b5f07b05..8816f4b10f415069dcf7f50daf6a26c047e47371 100644 |
--- a/components/plugins/renderer/loadable_plugin_placeholder.h |
+++ b/components/plugins/renderer/loadable_plugin_placeholder.h |
@@ -26,6 +26,8 @@ class LoadablePluginPlaceholder |
} |
#if defined(ENABLE_PLUGINS) |
+ bool power_saver_enabled() const { return power_saver_enabled_; } |
+ |
void set_power_saver_enabled(bool power_saver_enabled) { |
power_saver_enabled_ = power_saver_enabled; |
} |
@@ -60,6 +62,7 @@ class LoadablePluginPlaceholder |
void SetPluginInfo(const content::WebPluginInfo& plugin_info); |
const content::WebPluginInfo& GetPluginInfo() const; |
void SetIdentifier(const std::string& identifier); |
+ const std::string& GetIdentifier() const; |
bool LoadingAllowed() const { return allow_loading_; } |
// Replace this placeholder with a different plugin (which could be |
@@ -100,6 +103,9 @@ class LoadablePluginPlaceholder |
bool LoadingBlocked() const; |
+ // Plugin creation is embedder-specific. |
+ virtual blink::WebPlugin* CreatePlugin() = 0; |
+ |
content::WebPluginInfo plugin_info_; |
base::string16 message_; |