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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1555163002: Revert "Revert of Support device scale factor test with popups in LayoutTest (patchset #2 id:40001 … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hypothentical fix Created 4 years, 12 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: 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 8ba9d7e400102f5e78e88c857a139ad8cb473bae..9e19d6096622589bbd8fdf40c07d8f02e630fdbb 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.h
+++ b/content/shell/renderer/layout_test/blink_test_runner.h
@@ -151,6 +151,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();
@@ -200,6 +202,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