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.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/chrome/renderer/blocked_plugin.h b/chrome/renderer/blocked_plugin.h
index 53859bc..7b616bf 100644
--- a/chrome/renderer/blocked_plugin.h
+++ b/chrome/renderer/blocked_plugin.h
@@ -11,26 +11,32 @@
#include "chrome/renderer/custom_menu_listener.h"
#include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h"
#include "webkit/glue/cpp_bound_class.h"
-#include "webkit/glue/plugins/webview_plugin.h"
+#include "webkit/plugins/npapi/webview_plugin.h"
class GURL;
-class PluginGroup;
class RenderView;
+
+namespace webkit {
+namespace npapi {
+class PluginGroup;
+}
+}
+
class BlockedPlugin : public CppBoundClass,
- public WebViewPlugin::Delegate,
+ public webkit::npapi::WebViewPlugin::Delegate,
public NotificationObserver,
public CustomMenuListener {
public:
BlockedPlugin(RenderView* render_view,
WebKit::WebFrame* frame,
- const PluginGroup& info,
+ const webkit::npapi::PluginGroup& info,
const WebKit::WebPluginParams& params,
const WebPreferences& settings,
int template_id,
const string16& message);
- WebViewPlugin* plugin() { return plugin_; }
+ webkit::npapi::WebViewPlugin* plugin() { return plugin_; }
// WebViewPlugin::Delegate methods:
virtual void BindWebFrame(WebKit::WebFrame* frame);
@@ -62,7 +68,7 @@ class BlockedPlugin : public CppBoundClass,
RenderView* render_view_;
WebKit::WebFrame* frame_;
WebKit::WebPluginParams plugin_params_;
- WebViewPlugin* plugin_;
+ webkit::npapi::WebViewPlugin* plugin_;
// The name of the plugin that was blocked.
string16 name_;