summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/blocked_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/blocked_plugin.h')
-rw-r--r--chrome/renderer/blocked_plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/renderer/blocked_plugin.h b/chrome/renderer/blocked_plugin.h
index 39cfc54..40916e9 100644
--- a/chrome/renderer/blocked_plugin.h
+++ b/chrome/renderer/blocked_plugin.h
@@ -29,7 +29,8 @@ class BlockedPlugin : public RenderViewObserver,
const WebKit::WebPluginParams& params,
const WebPreferences& settings,
int template_id,
- const string16& message);
+ const string16& message,
+ bool is_blocked_for_prerendering);
webkit::npapi::WebViewPlugin* plugin() { return plugin_; }
@@ -66,6 +67,9 @@ class BlockedPlugin : public RenderViewObserver,
webkit::npapi::WebViewPlugin* plugin_;
// The name of the plugin that was blocked.
string16 name_;
+ // True iff the plugin was blocked because the page was being prerendered.
+ // Plugin will automatically be loaded when the page is displayed.
+ bool is_blocked_for_prerendering_;
};
#endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_