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/common/notification_observer.h" |
9 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
10 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" |
11 #include "webkit/glue/cpp_bound_class.h" | 12 #include "webkit/glue/cpp_bound_class.h" |
12 #include "webkit/glue/plugins/webview_plugin.h" | 13 #include "webkit/glue/plugins/webview_plugin.h" |
13 | 14 |
14 class GURL; | 15 class GURL; |
15 class PluginGroup; | 16 class PluginGroup; |
16 class RenderView; | 17 class RenderView; |
17 | 18 |
18 class BlockedPlugin : public CppBoundClass, | 19 class BlockedPlugin : public CppBoundClass, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 57 |
57 RenderView* render_view_; | 58 RenderView* render_view_; |
58 WebKit::WebFrame* frame_; | 59 WebKit::WebFrame* frame_; |
59 WebKit::WebPluginParams plugin_params_; | 60 WebKit::WebPluginParams plugin_params_; |
60 WebViewPlugin* plugin_; | 61 WebViewPlugin* plugin_; |
61 | 62 |
62 NotificationRegistrar registrar_; | 63 NotificationRegistrar registrar_; |
63 }; | 64 }; |
64 | 65 |
65 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ | 66 #endif // CHROME_RENDERER_BLOCKED_PLUGIN_H_ |
OLD | NEW |