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

Unified Diff: public/web/WebDevToolsAgentClient.h

Issue 222173002: [DevTools] Introduced WebDeviceEmulationParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | public/web/WebDeviceEmulationParams.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDevToolsAgentClient.h
diff --git a/public/web/WebDevToolsAgentClient.h b/public/web/WebDevToolsAgentClient.h
index 9d4a4339c70c1fde6cbca0a04994bdcf7ddccbc9..c1d0fec69d1f5d7f8b6760b0c7dc7c2300ce5988 100644
--- a/public/web/WebDevToolsAgentClient.h
+++ b/public/web/WebDevToolsAgentClient.h
@@ -36,6 +36,7 @@
namespace blink {
class WebString;
+struct WebDeviceEmulationParams;
struct WebDevToolsMessageData;
struct WebRect;
struct WebSize;
@@ -99,6 +100,9 @@ public:
const WebRect& screenRect, const WebRect& viewRect,
float deviceScaleFactor, bool fitToView) { }
+ // Enables device emulation as specified in params.
+ virtual void enableDeviceEmulation(const WebDeviceEmulationParams& params) { }
+
// Cancel emulation started via |enableDeviceEmulation| call.
virtual void disableDeviceEmulation() { }
« no previous file with comments | « no previous file | public/web/WebDeviceEmulationParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698