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

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: 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 217537)
+++ content/renderer/render_view_impl.h (working copy)
@@ -455,6 +455,10 @@
const WebKit::WebString& path,
WebKit::WebFileChooserCompletion* chooser_completion);
virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*);
+ virtual void emulateDevice(
+ bool enabled, const WebKit::WebSize& device_size,
+ const WebKit::WebRect& view_rect, float device_scale_factor,
+ bool fit_to_view);
virtual void didStartLoading();
virtual void didStopLoading();
virtual void didChangeLoadProgress(WebKit::WebFrame* frame,

Powered by Google App Engine
This is Rietveld 408576698