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

Unified Diff: chrome/test/chromedriver/capabilities.h

Issue 251933005: [ChromeDriver] Support mobile emulation on desktop Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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: chrome/test/chromedriver/capabilities.h
diff --git a/chrome/test/chromedriver/capabilities.h b/chrome/test/chromedriver/capabilities.h
index 998c56aed19f08aa454700c9ea970ea90d1bbf32..1a77b5b57a2869e334eb18b57577df1c6a4b6647 100644
--- a/chrome/test/chromedriver/capabilities.h
+++ b/chrome/test/chromedriver/capabilities.h
@@ -14,6 +14,7 @@
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
+#include "chrome/test/chromedriver/chrome/device_metrics.h"
#include "chrome/test/chromedriver/chrome/log.h"
#include "chrome/test/chromedriver/net/net_util.h"
@@ -91,6 +92,9 @@ struct Capabilities {
// ChromeDriver dies.
bool detach;
+ // Device metrics for use in Device Emulation
stgao 2014/04/30 03:32:55 style nit: A comment ends with a dot.
sam.rawlins 2014/05/06 23:51:46 Done.
+ DeviceMetrics device_metrics;
stgao 2014/05/03 00:15:20 I made a comment about this in the design doc. Ple
+
// Set of switches which should be removed from default list when launching
// Chrome.
std::set<std::string> exclude_switches;

Powered by Google App Engine
This is Rietveld 408576698