Chromium Code Reviews| Index: chrome/renderer/blocked_plugin.h |
| =================================================================== |
| --- chrome/renderer/blocked_plugin.h (revision 71683) |
| +++ chrome/renderer/blocked_plugin.h (working copy) |
| @@ -29,7 +29,8 @@ |
| const WebKit::WebPluginParams& params, |
| const WebPreferences& settings, |
| int template_id, |
| - const string16& message); |
| + const string16& message, |
| + bool is_blocked_for_prerendering); |
|
cbentzel
2011/01/20 19:46:59
Would it make sense to use an enum like BLOCKED_RE
mmenke
2011/01/20 20:04:22
It might. Seems we have 4 reasons, I believe - ou
|
| webkit::npapi::WebViewPlugin* plugin() { return plugin_; } |
| @@ -68,6 +69,9 @@ |
| string16 name_; |
| // True iff we're showing a custom menu. |
| bool custom_menu_showing_; |
| + // 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_ |