Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: webkit/glue/plugins/webview_plugin.cc

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_)

Powered by Google App Engine
This is Rietveld 408576698