Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8273)

Unified Diff: chrome/renderer/blocked_plugin.h

Issue 5961004: Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/blocked_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/blocked_plugin.h
===================================================================
--- chrome/renderer/blocked_plugin.h (revision 69765)
+++ chrome/renderer/blocked_plugin.h (working copy)
@@ -11,32 +11,26 @@
#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/plugins/npapi/webview_plugin.h"
+#include "webkit/glue/plugins/webview_plugin.h"
class GURL;
+class PluginGroup;
class RenderView;
-
-namespace webkit {
-namespace npapi {
-class PluginGroup;
-}
-}
-
class BlockedPlugin : public CppBoundClass,
- public webkit::npapi::WebViewPlugin::Delegate,
+ public WebViewPlugin::Delegate,
public NotificationObserver,
public CustomMenuListener {
public:
BlockedPlugin(RenderView* render_view,
WebKit::WebFrame* frame,
- const webkit::npapi::PluginGroup& info,
+ const PluginGroup& info,
const WebKit::WebPluginParams& params,
const WebPreferences& settings,
int template_id,
const string16& message);
- webkit::npapi::WebViewPlugin* plugin() { return plugin_; }
+ WebViewPlugin* plugin() { return plugin_; }
// WebViewPlugin::Delegate methods:
virtual void BindWebFrame(WebKit::WebFrame* frame);
@@ -68,7 +62,7 @@
RenderView* render_view_;
WebKit::WebFrame* frame_;
WebKit::WebPluginParams plugin_params_;
- webkit::npapi::WebViewPlugin* plugin_;
+ WebViewPlugin* plugin_;
// The name of the plugin that was blocked.
string16 name_;
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/blocked_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698