From 1e6054763faf7283d3e2e53f26389ff5d83e7d90 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Thu, 16 Dec 2010 21:41:40 +0000 Subject: Almost done deinlining virtual methods. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5841002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69470 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/plugins/webview_plugin.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'webkit/glue/plugins/webview_plugin.cc') diff --git a/webkit/glue/plugins/webview_plugin.cc b/webkit/glue/plugins/webview_plugin.cc index e0f80e3..f89ccb4 100644 --- a/webkit/glue/plugins/webview_plugin.cc +++ b/webkit/glue/plugins/webview_plugin.cc @@ -105,6 +105,10 @@ void WebViewPlugin::destroy() { MessageLoop::current()->DeleteSoon(FROM_HERE, this); } +NPObject* WebViewPlugin::scriptableObject() { + return NULL; +} + void WebViewPlugin::paint(WebCanvas* canvas, const WebRect& rect) { gfx::Rect paintRect(rect_.Intersect(rect)); if (paintRect.IsEmpty()) @@ -143,6 +147,10 @@ void WebViewPlugin::updateGeometry( } } +bool WebViewPlugin::acceptsInputEvents() { + return true; +} + bool WebViewPlugin::handleInputEvent(const WebInputEvent& event, WebCursorInfo& cursor) { if (event.type == WebInputEvent::ContextMenu) { @@ -178,6 +186,10 @@ void WebViewPlugin::didFailLoading(const WebURLError& error) { error_.reset(new WebURLError(error)); } +bool WebViewPlugin::acceptsLoadDrops() { + return false; +} + void WebViewPlugin::setToolTipText(const WebKit::WebString& text, WebKit::WebTextDirection hint) { if (container_) -- cgit v1.1