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

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

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/chrome/chrome.h
diff --git a/chrome/test/chromedriver/chrome/chrome.h b/chrome/test/chromedriver/chrome/chrome.h
index 56885bcfb77c67a824a2053c1580e797f960e89a..277c58d729ef3f6f0795350736400771f109a04c 100644
--- a/chrome/test/chromedriver/chrome/chrome.h
+++ b/chrome/test/chromedriver/chrome/chrome.h
@@ -40,6 +40,9 @@ class Chrome {
// Get the operation system where Chrome is running.
virtual std::string GetOperatingSystemName() = 0;
+ // Return whether the mobileEmulation capability has been enabled.
+ virtual bool IsMobileEmulationEnabled() const = 0;
+
// Quits Chrome.
virtual Status Quit() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698