diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 14:36:51 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 14:36:51 +0000 |
commit | 4ac0a0958a86c3310f36745cf9bb08ced79f7336 (patch) | |
tree | 2a2a2192048478df67beb18e841c904a9c95d989 /chrome/plugin | |
parent | f8ee26e45e8a04bb75a3e7b0449b8acf3efb04e2 (diff) | |
download | chromium_src-4ac0a0958a86c3310f36745cf9bb08ced79f7336.zip chromium_src-4ac0a0958a86c3310f36745cf9bb08ced79f7336.tar.gz chromium_src-4ac0a0958a86c3310f36745cf9bb08ced79f7336.tar.bz2 |
Revert 41158 - Implement the CoreAnimation drawing model for plugins, sharing IPC and some rendering code with the GPU Plugin. The drawing model negotiation is currently disabled so this should have no visible impact to plugins.
BUG=32012
TEST=make sure the pepper GPU plugins still work.
Review URL: http://codereview.chromium.org/673001
TBR=pinkerton@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.h | 2 | ||||
-rw-r--r-- | chrome/plugin/webplugin_proxy.cc | 22 | ||||
-rw-r--r-- | chrome/plugin/webplugin_proxy.h | 9 |
3 files changed, 1 insertions, 32 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h index 64dea79d..1bbd04d 100644 --- a/chrome/plugin/webplugin_delegate_stub.h +++ b/chrome/plugin/webplugin_delegate_stub.h @@ -33,7 +33,7 @@ class WebInputEvent; class WebPluginDelegateImpl; // Converts the IPC messages from WebPluginDelegateProxy into calls to the -// actual WebPluginDelegateImpl object. +// actual WebPluginDelegate object. class WebPluginDelegateStub : public IPC::Channel::Listener, public IPC::Message::Sender, public base::RefCounted<WebPluginDelegateStub> { diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc index e7826fd..ffda5c1 100644 --- a/chrome/plugin/webplugin_proxy.cc +++ b/chrome/plugin/webplugin_proxy.cc @@ -576,28 +576,6 @@ void WebPluginProxy::SetDeferResourceLoading(unsigned long resource_id, Send(new PluginHostMsg_DeferResourceLoading(route_id_, resource_id, defer)); } -#if defined(OS_MACOSX) -void WebPluginProxy::BindFakePluginWindowHandle() { - Send(new PluginHostMsg_BindFakePluginWindowHandle(route_id_)); -} - -void WebPluginProxy::AcceleratedFrameBuffersDidSwap( - gfx::PluginWindowHandle window) { - // TODO(pinkerton): Rename this message. - Send(new PluginHostMsg_GPUPluginBuffersSwapped(route_id_, window)); -} - -void WebPluginProxy::SetAcceleratedSurface(gfx::PluginWindowHandle window, - int32 width, - int32 height, - uint64 accelerated_surface_identifier) { - // TODO(pinkerton): Rename this message. - Send(new PluginHostMsg_GPUPluginSetIOSurface(route_id_, window, width, - height, - accelerated_surface_identifier)); -} -#endif - void WebPluginProxy::OnPaint(const gfx::Rect& damaged_rect) { child_process_logging::SetActiveURL(page_url_); diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index 9329d6c..0beb9cb 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -132,15 +132,6 @@ class WebPluginProxy : public webkit_glue::WebPlugin { webkit_glue::WebPluginResourceClient* resource_client); gfx::NativeViewId containing_window() { return containing_window_; } -#if defined(OS_MACOSX) - virtual void BindFakePluginWindowHandle(); - virtual void AcceleratedFrameBuffersDidSwap(gfx::PluginWindowHandle window); - virtual void SetAcceleratedSurface(gfx::PluginWindowHandle window, - int32 width, - int32 height, - uint64 accelerated_surface_identifier); -#endif - private: bool Send(IPC::Message* msg); |