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

Unified Diff: chrome/renderer/render_view.h

Issue 5996003: Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (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/renderer/render_process_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index d7589dc4a9a44fca26b84f84836563050a2b85e3..af7b9694ed881a7949272616852a41289c136899 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -43,8 +43,8 @@
#include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h"
#include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h"
#include "third_party/WebKit/WebKit/chromium/public/WebNavigationType.h"
-#include "webkit/glue/plugins/webplugin_page_delegate.h"
#include "webkit/glue/webpreferences.h"
+#include "webkit/plugins/npapi/webplugin_page_delegate.h"
#if defined(OS_WIN)
// RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root.
@@ -74,7 +74,6 @@ class NotificationProvider;
class PageClickTracker;
class PasswordAutocompleteManager;
class PepperDeviceTest;
-class PluginGroup;
class PrintWebViewHelper;
class RenderViewVisitor;
class SkBitmap;
@@ -97,12 +96,16 @@ class Rect;
}
namespace webkit {
-namespace ppapi {
+namespace npapi {
+class PluginGroup;
+} // namespace npapi
+
+namespace ppapi {
class PluginInstance;
class FullscreenContainer;
-
} // namespace ppapi
+
} // namespace webkit
namespace safe_browsing {
@@ -171,7 +174,7 @@ class RenderView : public RenderWidget,
public WebKit::WebViewClient,
public WebKit::WebFrameClient,
public WebKit::WebPageSerializerClient,
- public webkit_glue::WebPluginPageDelegate,
+ public webkit::npapi::WebPluginPageDelegate,
public base::SupportsWeakPtr<RenderView> {
public:
// Creates a new RenderView. The parent_hwnd specifies a HWND to use as the
@@ -650,12 +653,12 @@ class RenderView : public RenderWidget,
// webkit_glue::WebPluginPageDelegate implementation -------------------------
- virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate(
+ virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
const FilePath& file_path,
const std::string& mime_type);
virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle);
virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle);
- virtual void DidMovePlugin(const webkit_glue::WebPluginGeometry& move);
+ virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move);
virtual void DidStartLoadingForPlugin();
virtual void DidStopLoadingForPlugin();
virtual void ShowModalHTMLDialogForPlugin(
@@ -1026,7 +1029,7 @@ class RenderView : public RenderWidget,
WebKit::WebPlugin* CreatePluginPlaceholder(
WebKit::WebFrame* frame,
const WebKit::WebPluginParams& params,
- const PluginGroup& group,
+ const webkit::npapi::PluginGroup& group,
int resource_id,
int message_id);
@@ -1339,7 +1342,7 @@ class RenderView : public RenderWidget,
// Remember the first uninstalled plugin, so that we can ask the plugin
// to install itself when user clicks on the info bar.
- base::WeakPtr<webkit_glue::WebPluginDelegate> first_default_plugin_;
+ base::WeakPtr<webkit::npapi::WebPluginDelegate> first_default_plugin_;
PepperPluginDelegateImpl pepper_delegate_;
« no previous file with comments | « chrome/renderer/render_process_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698