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

Unified Diff: chrome/test/chromedriver/chrome/stub_chrome.cc

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/stub_chrome.cc
diff --git a/chrome/test/chromedriver/chrome/stub_chrome.cc b/chrome/test/chromedriver/chrome/stub_chrome.cc
index 5e1cbe1e655e19eb457947d97dfc3a14e922b61a..394a1839baa551868dd40a314f0fb942898c4f1d 100644
--- a/chrome/test/chromedriver/chrome/stub_chrome.cc
+++ b/chrome/test/chromedriver/chrome/stub_chrome.cc
@@ -43,6 +43,10 @@ std::string StubChrome::GetOperatingSystemName() {
return std::string();
}
+bool StubChrome::IsMobileEmulationEnabled() const {
+ return false;
+}
+
Status StubChrome::Quit() {
return Status(kOk);
}

Powered by Google App Engine
This is Rietveld 408576698