| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_BLOCKED_PLUGIN_H_ | 5 #ifndef CHROME_RENDERER_BLOCKED_PLUGIN_H_ |
| 6 #define CHROME_RENDERER_BLOCKED_PLUGIN_H_ | 6 #define CHROME_RENDERER_BLOCKED_PLUGIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/renderer/render_view_observer.h" | 9 #include "chrome/renderer/render_view_observer.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void HidePlugin(); | 63 void HidePlugin(); |
| 64 | 64 |
| 65 WebKit::WebFrame* frame_; | 65 WebKit::WebFrame* frame_; |
| 66 WebKit::WebPluginParams plugin_params_; | 66 WebKit::WebPluginParams plugin_params_; |
| 67 webkit::npapi::WebViewPlugin* plugin_; | 67 webkit::npapi::WebViewPlugin* plugin_; |
| 68 // The name of the plugin that was blocked. | 68 // The name of the plugin that was blocked. |
| 69 string16 name_; | 69 string16 name_; |
| 70 // True iff the plugin was blocked because the page was being prerendered. | 70 // True iff the plugin was blocked because the page was being prerendered. |
| 71 // Plugin will automatically be loaded when the page is displayed. | 71 // Plugin will automatically be loaded when the page is displayed. |
| 72 bool is_blocked_for_prerendering_; | 72 bool is_blocked_for_prerendering_; |
| 73 bool hidden_; |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ | 76 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ |
| OLD | NEW |