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

Unified Diff: chrome/test/chromedriver/chrome/web_view_impl.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
« no previous file with comments | « chrome/test/chromedriver/chrome/stub_chrome.cc ('k') | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/web_view_impl.h
diff --git a/chrome/test/chromedriver/chrome/web_view_impl.h b/chrome/test/chromedriver/chrome/web_view_impl.h
index df33053c03fa1e504c12a657fddf60bfb7f04424..71a7ae07f49bc6b11b63edd30fde981e307ac088 100644
--- a/chrome/test/chromedriver/chrome/web_view_impl.h
+++ b/chrome/test/chromedriver/chrome/web_view_impl.h
@@ -21,10 +21,12 @@ class Value;
struct BrowserInfo;
class DebuggerTracker;
+struct DeviceMetrics;
class DevToolsClient;
class DomTracker;
class FrameTracker;
class GeolocationOverrideManager;
+class MobileEmulationOverrideManager;
class HeapSnapshotTaker;
struct KeyEvent;
struct MouseEvent;
@@ -36,6 +38,10 @@ class WebViewImpl : public WebView {
WebViewImpl(const std::string& id,
const BrowserInfo* browser_info,
scoped_ptr<DevToolsClient> client);
+ WebViewImpl(const std::string& id,
+ const BrowserInfo* browser_info,
+ scoped_ptr<DevToolsClient> client,
+ const DeviceMetrics* device_metrics);
virtual ~WebViewImpl();
// Overridden from WebView:
@@ -105,6 +111,7 @@ class WebViewImpl : public WebView {
scoped_ptr<FrameTracker> frame_tracker_;
scoped_ptr<NavigationTracker> navigation_tracker_;
scoped_ptr<JavaScriptDialogManager> dialog_manager_;
+ scoped_ptr<MobileEmulationOverrideManager> mobile_emulation_override_manager_;
scoped_ptr<GeolocationOverrideManager> geolocation_override_manager_;
scoped_ptr<HeapSnapshotTaker> heap_snapshot_taker_;
scoped_ptr<DebuggerTracker> debugger_;
« no previous file with comments | « chrome/test/chromedriver/chrome/stub_chrome.cc ('k') | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698