diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 01:13:45 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 01:13:45 +0000 |
commit | 83d0e2ba3c024eda4291c505300217e7ad8d7ba0 (patch) | |
tree | 709637ef3a06d70fed44ecc9ad5892ef14e1da59 /chrome/plugin | |
parent | b6757a4e8d6140ca93381e283bf55664f87d424a (diff) | |
download | chromium_src-83d0e2ba3c024eda4291c505300217e7ad8d7ba0.zip chromium_src-83d0e2ba3c024eda4291c505300217e7ad8d7ba0.tar.gz chromium_src-83d0e2ba3c024eda4291c505300217e7ad8d7ba0.tar.bz2 |
Revert all of my patches from today.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r-- | chrome/plugin/webplugin_proxy.cc | 10 | ||||
-rw-r--r-- | chrome/plugin/webplugin_proxy.h | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc index 57c07fc..286659b 100644 --- a/chrome/plugin/webplugin_proxy.cc +++ b/chrome/plugin/webplugin_proxy.cc @@ -56,21 +56,15 @@ bool WebPluginProxy::Send(IPC::Message* msg) { return channel_->Send(msg); } -void WebPluginProxy::SetWindow(gfx::PluginWindowHandle window) { -#if defined(OS_WIN) +void WebPluginProxy::SetWindow(gfx::NativeView window) { Send(new PluginHostMsg_SetWindow(route_id_, gfx::IdFromNativeView(window))); -#else - NOTIMPLEMENTED(); -#endif } -void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) { +void WebPluginProxy::WillDestroyWindow(gfx::NativeView window) { #if defined(OS_WIN) PluginThread::current()->Send( new PluginProcessHostMsg_PluginWindowDestroyed( window, ::GetParent(window))); -#else - NOTIMPLEMENTED(); #endif } diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index e143297..46c16d1 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -37,8 +37,8 @@ class WebPluginProxy : public WebPlugin { ~WebPluginProxy(); // WebPlugin overrides - void SetWindow(gfx::PluginWindowHandle window); - void WillDestroyWindow(gfx::PluginWindowHandle window); + void SetWindow(gfx::NativeView window); + void WillDestroyWindow(gfx::NativeView window); #if defined(OS_WIN) void SetWindowlessPumpEvent(HANDLE pump_messages_event); // Returns true on success. |