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

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: Convert Capability to mobileEmulation; add integration- and unit-tests Created 6 years, 7 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..dea09760f9d7f772cc3ba3e9ecdbf7cc32b5941a 100644
--- a/chrome/test/chromedriver/capabilities.h
+++ b/chrome/test/chromedriver/capabilities.h
@@ -14,7 +14,9 @@
#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/mobile_device.h"
samuong 2014/05/07 23:39:36 This #include is unnecessary here, but should be m
sam.rawlins 2014/05/09 05:35:17 Done.
#include "chrome/test/chromedriver/net/net_util.h"
namespace base {
@@ -91,6 +93,9 @@ struct Capabilities {
// ChromeDriver dies.
bool detach;
+ // Device metrics for use in Device Emulation.
+ DeviceMetrics device_metrics;
+
// 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