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

Unified Diff: public/web/WebView.h

Issue 24272003: [DevTools] Blink-side APIs for device metrics emulation in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Added new WebSetting 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
« no previous file with comments | « public/web/WebSettings.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index a9457988aaf0eed8f7a9bc4d541cd11eb5b01525..a189009063cf2b98efb0be4a5ff38dcc74db5a44 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -400,6 +400,9 @@ public:
WebString* value) const = 0;
virtual void setInspectorSetting(const WebString& key,
const WebString& value) = 0;
pfeldman 2013/10/01 14:41:42 Please add comments to the methods.
dgozman 2013/10/01 14:48:18 Done.
+ // Pass zero to cancel override.
+ virtual void setCompositorDeviceScaleFactorOverride(float) = 0;
+ virtual void setRootLayerScaleTransform(float) = 0;
// The embedder may optionally engage a WebDevToolsAgent. This may only
// be set once per WebView.
« no previous file with comments | « public/web/WebSettings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698