Index: webkit/glue/plugins/webview_plugin.cc |
diff --git a/webkit/glue/plugins/webview_plugin.cc b/webkit/glue/plugins/webview_plugin.cc |
index e0f80e3eb0395363c1c37fc10a7e0c2b4b0c3850..f89ccb45f5292a66bbfc19aa1603ca464dee265d 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_) |