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

Unified Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 1456753002: Compute the popup location/size correctly when use-zoom-for-dsf is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/public/web/WebWidgetClient.h
diff --git a/third_party/WebKit/public/web/WebWidgetClient.h b/third_party/WebKit/public/web/WebWidgetClient.h
index 41fe6692ea5aac06cdf84e4e3614cece960bdede..175cbacbb1f56d9c20693b5e1dead78ce56f653f 100644
--- a/third_party/WebKit/public/web/WebWidgetClient.h
+++ b/third_party/WebKit/public/web/WebWidgetClient.h
@@ -175,6 +175,10 @@ public:
// press or gesture tap.
// Note: This is called even when the mouse down event is prevent default.
virtual void onMouseDown(const WebNode& mouseDownNode) { }
+
+ // Converts the WebRect from viewport coordinates to screen coordinates.
+ virtual void convertViewportToScreen(WebRect* rect) {}
+
protected:
~WebWidgetClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698