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

Side by Side Diff: chrome/test/chromedriver/chrome/chrome_desktop_impl.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_DESKTOP_IMPL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_DESKTOP_IMPL_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_DESKTOP_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_DESKTOP_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 scoped_ptr<WebView>* web_view); 42 scoped_ptr<WebView>* web_view);
43 43
44 // Gets the installed automation extension. 44 // Gets the installed automation extension.
45 Status GetAutomationExtension(AutomationExtension** extension); 45 Status GetAutomationExtension(AutomationExtension** extension);
46 46
47 // Overridden from Chrome: 47 // Overridden from Chrome:
48 virtual ChromeDesktopImpl* GetAsDesktop() OVERRIDE; 48 virtual ChromeDesktopImpl* GetAsDesktop() OVERRIDE;
49 virtual std::string GetOperatingSystemName() OVERRIDE; 49 virtual std::string GetOperatingSystemName() OVERRIDE;
50 50
51 // Overridden from ChromeImpl: 51 // Overridden from ChromeImpl:
52 virtual bool IsMobileEmulationEnabled() const OVERRIDE;
52 virtual Status QuitImpl() OVERRIDE; 53 virtual Status QuitImpl() OVERRIDE;
53 54
54 const base::CommandLine& command() const; 55 const base::CommandLine& command() const;
55 56
56 private: 57 private:
57 base::ProcessHandle process_; 58 base::ProcessHandle process_;
58 base::CommandLine command_; 59 base::CommandLine command_;
59 base::ScopedTempDir user_data_dir_; 60 base::ScopedTempDir user_data_dir_;
60 base::ScopedTempDir extension_dir_; 61 base::ScopedTempDir extension_dir_;
61 62
62 // Lazily initialized, may be null. 63 // Lazily initialized, may be null.
63 scoped_ptr<AutomationExtension> automation_extension_; 64 scoped_ptr<AutomationExtension> automation_extension_;
64 }; 65 };
65 66
66 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_DESKTOP_IMPL_H_ 67 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_DESKTOP_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698