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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 1525933002: Support device scale factor test with popups in LayoutTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index 753831db711f65fdb65e6150467cf11480ba8787..d9881f67aa15a37d90b1b9a6f17b58552791a1b8 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -30,6 +30,7 @@ class WebLocalFrame;
class WebMediaStream;
class WebPlugin;
struct WebPluginParams;
+struct WebPoint;
struct WebRect;
struct WebSize;
struct WebURLError;
@@ -280,6 +281,10 @@ class WebTestDelegate {
const blink::WebPluginParams& params) = 0;
virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0;
+
+ // Convert the position in DIP to native coordinates.
+ virtual blink::WebPoint ConvertDIPToNative(
+ const blink::WebPoint& point_in_dip) const = 0;
};
} // namespace test_runner

Powered by Google App Engine
This is Rietveld 408576698