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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.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: content/shell/renderer/layout_test/blink_test_runner.h
diff --git a/content/shell/renderer/layout_test/blink_test_runner.h b/content/shell/renderer/layout_test/blink_test_runner.h
index 9e0f0534bcc861a6246cc51cde9b9579d845dd3d..b5369dc5654ae6a4752bf1562721f1e3fa3d374f 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.h
+++ b/content/shell/renderer/layout_test/blink_test_runner.h
@@ -149,6 +149,8 @@ class BlinkTestRunner : public RenderViewObserver,
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) override;
void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override;
+ blink::WebPoint ConvertDIPToNative(
+ const blink::WebPoint& point_in_dip) const override;
void Reset();
@@ -198,6 +200,8 @@ class BlinkTestRunner : public RenderViewObserver,
scoped_ptr<LeakDetector> leak_detector_;
bool needs_leak_detector_;
+ float device_scale_factor_;
+
DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
};

Powered by Google App Engine
This is Rietveld 408576698