| Index: chrome/renderer/webplugin_delegate_proxy.cc
|
| ===================================================================
|
| --- chrome/renderer/webplugin_delegate_proxy.cc (revision 69426)
|
| +++ chrome/renderer/webplugin_delegate_proxy.cc (working copy)
|
| @@ -48,7 +48,7 @@
|
| #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
|
| -#include "webkit/glue/plugins/webplugin.h"
|
| +#include "webkit/plugins/npapi/webplugin.h"
|
| #include "webkit/glue/webkit_glue.h"
|
|
|
| #if defined(OS_POSIX)
|
| @@ -65,7 +65,7 @@
|
|
|
| // Proxy for WebPluginResourceClient. The object owns itself after creation,
|
| // deleting itself after its callback has been called.
|
| -class ResourceClientProxy : public webkit_glue::WebPluginResourceClient {
|
| +class ResourceClientProxy : public webkit::npapi::WebPluginResourceClient {
|
| public:
|
| ResourceClientProxy(PluginChannelHost* channel, int instance_id)
|
| : channel_(channel), instance_id_(instance_id), resource_id_(0),
|
| @@ -267,10 +267,11 @@
|
| return false;
|
| }
|
|
|
| -bool WebPluginDelegateProxy::Initialize(const GURL& url,
|
| +bool WebPluginDelegateProxy::Initialize(
|
| + const GURL& url,
|
| const std::vector<std::string>& arg_names,
|
| const std::vector<std::string>& arg_values,
|
| - webkit_glue::WebPlugin* plugin,
|
| + webkit::npapi::WebPlugin* plugin,
|
| bool load_manually) {
|
| IPC::ChannelHandle channel_handle;
|
| if (!RenderThread::current()->Send(new ViewHostMsg_OpenChannelToPlugin(
|
| @@ -1349,7 +1350,7 @@
|
| params.popups_allowed, params.notify_redirects);
|
| }
|
|
|
| -webkit_glue::WebPluginResourceClient*
|
| +webkit::npapi::WebPluginResourceClient*
|
| WebPluginDelegateProxy::CreateResourceClient(
|
| unsigned long resource_id, const GURL& url, int notify_id) {
|
| if (!channel_host_)
|
| @@ -1361,7 +1362,7 @@
|
| return proxy;
|
| }
|
|
|
| -webkit_glue::WebPluginResourceClient*
|
| +webkit::npapi::WebPluginResourceClient*
|
| WebPluginDelegateProxy::CreateSeekableResourceClient(
|
| unsigned long resource_id, int range_request_id) {
|
| if (!channel_host_)
|
|
|