diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 21:41:40 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 21:41:40 +0000 |
commit | 1e6054763faf7283d3e2e53f26389ff5d83e7d90 (patch) | |
tree | 4132c689a3196890267eae8a57989cbfab36e438 /webkit/glue/plugins/webview_plugin.cc | |
parent | 0c5f45a87e93ac32d037ea015f67bceafbd2e340 (diff) | |
download | chromium_src-1e6054763faf7283d3e2e53f26389ff5d83e7d90.zip chromium_src-1e6054763faf7283d3e2e53f26389ff5d83e7d90.tar.gz chromium_src-1e6054763faf7283d3e2e53f26389ff5d83e7d90.tar.bz2 |
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
Diffstat (limited to 'webkit/glue/plugins/webview_plugin.cc')
-rw-r--r-- | webkit/glue/plugins/webview_plugin.cc | 12 |
1 files changed, 12 insertions, 0 deletions
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_) |