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

Unified Diff: public/web/WebView.h

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Reupload 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: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index a9457988aaf0eed8f7a9bc4d541cd11eb5b01525..9a97cbb78c48f0279bcd03953e6ff830fc7fa401 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -400,6 +400,10 @@ public:
WebString* value) const = 0;
virtual void setInspectorSetting(const WebString& key,
const WebString& value) = 0;
+ virtual void setDeviceEmulationParameters(
aelias_OOO_until_Jul13 2013/10/01 08:08:51 You're introducing a second Blink API to bounce ba
aelias_OOO_until_Jul13 2013/10/01 08:24:22 As discussed offline, it can't be eliminated, so l
dgozman 2013/10/01 15:26:34 Done.
+ bool enabled,
+ float deviceScaleFactor,
+ float rootLayerScale) = 0;
// The embedder may optionally engage a WebDevToolsAgent. This may only
// be set once per WebView.

Powered by Google App Engine
This is Rietveld 408576698