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

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

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/chrome/stub_web_view.cc
diff --git a/chrome/test/chromedriver/chrome/stub_web_view.cc b/chrome/test/chromedriver/chrome/stub_web_view.cc
index 33393ed0aa19adb94ff0f7b9510acb30fbee94be..1bbf5d0c1f9c861733d39fd8b01ac3cd049ac326 100644
--- a/chrome/test/chromedriver/chrome/stub_web_view.cc
+++ b/chrome/test/chromedriver/chrome/stub_web_view.cc
@@ -117,6 +117,10 @@ Status StubWebView::OverrideGeolocation(const Geoposition& geoposition) {
return Status(kOk);
}
+Status StubWebView::OverrideDeviceMetrics(const DeviceMetrics& device_metrics) {
+ return Status(kOk);
+}
+
Status StubWebView::CaptureScreenshot(std::string* screenshot) {
return Status(kOk);
}

Powered by Google App Engine
This is Rietveld 408576698