summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/webplugin_delegate_stub.h
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 01:54:04 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 01:54:04 +0000
commit9ad566288f5f4972570cd52cf6258d2ab0fe5090 (patch)
tree7b209924d32e0c46322893540f1a0f0dc9a389c6 /chrome/plugin/webplugin_delegate_stub.h
parent8544565b68121f3808f612550c9044962aab98f4 (diff)
downloadchromium_src-9ad566288f5f4972570cd52cf6258d2ab0fe5090.zip
chromium_src-9ad566288f5f4972570cd52cf6258d2ab0fe5090.tar.gz
chromium_src-9ad566288f5f4972570cd52cf6258d2ab0fe5090.tar.bz2
Reland r76840 with fix for webkit_gpu dependencies.
Removed GPU plugin. Pepper 3D v2 does not use the GPU plugin. It is integrated with the accelerated compositor. TEST=PPAPI 3D v2 still works, trybots BUG=none Review URL: http://codereview.chromium.org/6635026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.h')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h
index e769a84..b56bca7 100644
--- a/chrome/plugin/webplugin_delegate_stub.h
+++ b/chrome/plugin/webplugin_delegate_stub.h
@@ -12,10 +12,10 @@
#include "base/ref_counted.h"
#include "base/shared_memory.h"
#include "base/task.h"
-#include "chrome/plugin/command_buffer_stub.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
#include "third_party/npapi/bindings/npapi.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
class PluginChannel;
@@ -103,8 +103,6 @@ class WebPluginDelegateStub : public IPC::Channel::Listener,
const GURL& url,
int notify_id);
void OnHTTPRangeRequestReply(unsigned long resource_id, int range_request_id);
- void OnCreateCommandBuffer(int* route_id);
- void OnDestroyCommandBuffer();
void CreateSharedBuffer(uint32 size,
base::SharedMemory* shared_buf,
@@ -123,17 +121,12 @@ class WebPluginDelegateStub : public IPC::Channel::Listener,
GURL page_url_;
#if defined(ENABLE_GPU)
- // If this is the GPU plugin, the stub object that forwards to the
- // command buffer service.
- scoped_ptr<CommandBufferStub> command_buffer_stub_;
-
#if defined(OS_MACOSX)
// If this is a GPU-accelerated plug-in, we need to be able to receive a fake
// window handle which is used for subsequent communication back to the
// browser.
void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window);
#endif
-
#endif
DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);