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

Unified Diff: content/renderer/render_view_impl.h

Issue 23364004: Implementation of device metrics emulation in render view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Moved helper class to cc Created 7 years, 3 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/renderer/render_view_impl.h
===================================================================
--- content/renderer/render_view_impl.h (revision 221161)
+++ content/renderer/render_view_impl.h (working copy)
@@ -789,6 +789,8 @@
explicit RenderViewImpl(RenderViewImplParams* params);
void Initialize(RenderViewImplParams* params);
+ virtual void SetDeviceEmulationParameters(bool enabled,
+ float device_scale_factor, float root_layer_scale) OVERRIDE;
// Do not delete directly. This class is reference counted.
virtual ~RenderViewImpl();

Powered by Google App Engine
This is Rietveld 408576698