OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 // Closes the specified WebView. | 34 // Closes the specified WebView. |
35 virtual Status CloseWebView(const std::string& id) = 0; | 35 virtual Status CloseWebView(const std::string& id) = 0; |
36 | 36 |
37 // Activates the specified WebView. | 37 // Activates the specified WebView. |
38 virtual Status ActivateWebView(const std::string& id) = 0; | 38 virtual Status ActivateWebView(const std::string& id) = 0; |
39 | 39 |
40 // Get the operation system where Chrome is running. | 40 // Get the operation system where Chrome is running. |
41 virtual std::string GetOperatingSystemName() = 0; | 41 virtual std::string GetOperatingSystemName() = 0; |
42 | 42 |
| 43 // Return whether the mobileEmulation capability has been enabled. |
| 44 virtual bool IsMobileEmulationEnabled() const = 0; |
| 45 |
43 // Quits Chrome. | 46 // Quits Chrome. |
44 virtual Status Quit() = 0; | 47 virtual Status Quit() = 0; |
45 }; | 48 }; |
46 | 49 |
47 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_H_ | 50 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_H_ |
OLD | NEW |