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

Unified Diff: content/public/renderer/render_view.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
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index baa051f155ef72b21e8668dd7099100bdeb6319a..75e986ad771f68f5a98f4b53224877d67b081e71 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -137,6 +137,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
virtual gfx::RectF ElementBoundsInWindow(const blink::WebElement& element)
= 0;
+ // Returns the device scale factor for unit tests.
+ virtual float GetDeviceScaleFactorForTest() const = 0;
+
protected:
~RenderView() override {}
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698