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

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

Issue 251933005: [ChromeDriver] Support mobile emulation on desktop Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert Capability to mobileEmulation; add integration- and unit-tests 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_impl.h
diff --git a/chrome/test/chromedriver/chrome/chrome_impl.h b/chrome/test/chromedriver/chrome/chrome_impl.h
index 01ad5963174ae8e0cfd72a3c640f9f29c791974a..c118918baf4a203d2baa77dfdf8ddbe3ca163d92 100644
--- a/chrome/test/chromedriver/chrome/chrome_impl.h
+++ b/chrome/test/chromedriver/chrome/chrome_impl.h
@@ -16,6 +16,7 @@
class AutomationExtension;
struct BrowserInfo;
+struct DeviceMetrics;
class DevToolsEventListener;
class DevToolsHttpClient;
class JavaScriptDialogManager;
@@ -43,12 +44,14 @@ class ChromeImpl : public Chrome {
ChromeImpl(
scoped_ptr<DevToolsHttpClient> client,
ScopedVector<DevToolsEventListener>& devtools_event_listeners,
- scoped_ptr<PortReservation> port_reservation);
+ scoped_ptr<PortReservation> port_reservation,
+ scoped_ptr<DeviceMetrics> device_metrics);
virtual Status QuitImpl() = 0;
bool quit_;
scoped_ptr<DevToolsHttpClient> devtools_http_client_;
+ scoped_ptr<DeviceMetrics> device_metrics_;
private:
typedef std::list<linked_ptr<WebViewImpl> > WebViewList;

Powered by Google App Engine
This is Rietveld 408576698