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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 1571833002: Add popup layout tests with device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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 cb9df66cae892c025c3e87ff4e423bdbc9c39bc1..d5d67e4eb9c6dcc89e7f6889b743224314884410 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;
@@ -283,6 +284,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