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

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

Issue 251933005: [ChromeDriver] Support mobile emulation on desktop Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix implicit bool conversion warning 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;
};
« no previous file with comments | « chrome/test/chromedriver/capabilities_unittest.cc ('k') | chrome/test/chromedriver/chrome/chrome_desktop_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698