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

Unified Diff: chrome/renderer/webplugin_delegate_proxy.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/renderer/webplugin_delegate_pepper.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_proxy.h
===================================================================
--- chrome/renderer/webplugin_delegate_proxy.h (revision 69765)
+++ chrome/renderer/webplugin_delegate_proxy.h (working copy)
@@ -18,8 +18,8 @@
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
-#include "webkit/plugins/npapi/webplugininfo.h"
-#include "webkit/plugins/npapi/webplugin_delegate.h"
+#include "webkit/glue/plugins/webplugininfo.h"
+#include "webkit/glue/plugins/webplugin_delegate.h"
#if defined(OS_MACOSX)
#include "base/hash_tables.h"
@@ -44,16 +44,14 @@
class PlatformCanvas;
}
-namespace webkit {
-namespace npapi {
+namespace webkit_glue {
class WebPlugin;
}
-}
// An implementation of WebPluginDelegate that proxies all calls to
// the plugin process.
class WebPluginDelegateProxy
- : public webkit::npapi::WebPluginDelegate,
+ : public webkit_glue::WebPluginDelegate,
public IPC::Channel::Listener,
public IPC::Message::Sender,
public base::SupportsWeakPtr<WebPluginDelegateProxy> {
@@ -66,7 +64,7 @@
virtual bool Initialize(const GURL& url,
const std::vector<std::string>& arg_names,
const std::vector<std::string>& arg_values,
- webkit::npapi::WebPlugin* plugin,
+ webkit_glue::WebPlugin* plugin,
bool load_manually);
virtual void UpdateGeometry(const gfx::Rect& window_rect,
const gfx::Rect& clip_rect);
@@ -115,9 +113,9 @@
virtual void DidFinishManualLoading();
virtual void DidManualLoadFail();
virtual void InstallMissingPlugin();
- virtual webkit::npapi::WebPluginResourceClient* CreateResourceClient(
+ virtual webkit_glue::WebPluginResourceClient* CreateResourceClient(
unsigned long resource_id, const GURL& url, int notify_id);
- virtual webkit::npapi::WebPluginResourceClient* CreateSeekableResourceClient(
+ virtual webkit_glue::WebPluginResourceClient* CreateSeekableResourceClient(
unsigned long resource_id, int range_request_id);
CommandBufferProxy* CreateCommandBuffer();
@@ -233,13 +231,13 @@
#endif
base::WeakPtr<RenderView> render_view_;
- webkit::npapi::WebPlugin* plugin_;
+ webkit_glue::WebPlugin* plugin_;
bool uses_shared_bitmaps_;
gfx::PluginWindowHandle window_;
scoped_refptr<PluginChannelHost> channel_host_;
std::string mime_type_;
int instance_id_;
- webkit::npapi::WebPluginInfo info_;
+ WebPluginInfo info_;
gfx::Rect plugin_rect_;
gfx::Rect clip_rect_;
« no previous file with comments | « chrome/renderer/webplugin_delegate_pepper.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698