diff options
Diffstat (limited to 'content/plugin')
-rw-r--r-- | content/plugin/webplugin_proxy.cc | 21 | ||||
-rw-r--r-- | content/plugin/webplugin_proxy.h | 3 |
2 files changed, 1 insertions, 23 deletions
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc index 15b9a2f..8744d22 100644 --- a/content/plugin/webplugin_proxy.cc +++ b/content/plugin/webplugin_proxy.cc @@ -76,24 +76,6 @@ bool WebPluginProxy::Send(IPC::Message* msg) { return channel_->Send(msg); } -void WebPluginProxy::SetWindow(gfx::PluginWindowHandle window) { - Send(new PluginHostMsg_SetWindow(route_id_, window)); -} - -void WebPluginProxy::SetAcceptsInputEvents(bool accepts) { - NOTREACHED(); -} - -void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) { -#if defined(OS_WIN) - PluginThread::current()->Send( - new PluginProcessHostMsg_PluginWindowDestroyed( - window, ::GetParent(window))); -#else - NOTIMPLEMENTED(); -#endif -} - #if defined(OS_WIN) void WebPluginProxy::SetWindowlessData( HANDLE pump_messages_event, gfx::NativeViewId dummy_activation_window) { @@ -341,8 +323,7 @@ void WebPluginProxy::UpdateGeometry( // Send over any pending invalidates which occured when the plugin was // off screen. - if (delegate_->IsWindowless() && !clip_rect.IsEmpty() && - !damaged_rect_.IsEmpty()) { + if (!clip_rect.IsEmpty() && !damaged_rect_.IsEmpty()) { InvalidateRect(damaged_rect_); } } diff --git a/content/plugin/webplugin_proxy.h b/content/plugin/webplugin_proxy.h index 78814a7..3703056 100644 --- a/content/plugin/webplugin_proxy.h +++ b/content/plugin/webplugin_proxy.h @@ -53,9 +53,6 @@ class WebPluginProxy : public WebPlugin, void set_delegate(WebPluginDelegateImpl* d) { delegate_ = d; } // WebPlugin overrides - void SetWindow(gfx::PluginWindowHandle window) override; - void SetAcceptsInputEvents(bool accepts) override; - void WillDestroyWindow(gfx::PluginWindowHandle window) override; void Invalidate() override; void InvalidateRect(const gfx::Rect& rect) override; NPObject* GetWindowScriptNPObject() override; |