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

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

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.h
diff --git a/chrome/test/chromedriver/chrome/stub_web_view.h b/chrome/test/chromedriver/chrome/stub_web_view.h
index 87bbb0ea0badb65eef06a3ef494cd6b9a3a4168b..6418eda231d3ee746e3332a30c0329f6a94ad962 100644
--- a/chrome/test/chromedriver/chrome/stub_web_view.h
+++ b/chrome/test/chromedriver/chrome/stub_web_view.h
@@ -62,6 +62,7 @@ class StubWebView : public WebView {
const std::string& frame_id, bool* is_pending) OVERRIDE;
virtual JavaScriptDialogManager* GetJavaScriptDialogManager() OVERRIDE;
virtual Status OverrideGeolocation(const Geoposition& geoposition) OVERRIDE;
+ virtual Status OverrideDeviceMetrics(const DeviceMetrics& device_metrics) OVERRIDE;
virtual Status CaptureScreenshot(std::string* screenshot) OVERRIDE;
virtual Status SetFileInputFiles(
const std::string& frame,

Powered by Google App Engine
This is Rietveld 408576698