OLD | NEW |
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_CAPABILITIES_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 std::string unexpected_alert_behaviour; | 147 std::string unexpected_alert_behaviour; |
148 | 148 |
149 bool network_emulation_enabled; | 149 bool network_emulation_enabled; |
150 | 150 |
151 PerfLoggingPrefs perf_logging_prefs; | 151 PerfLoggingPrefs perf_logging_prefs; |
152 | 152 |
153 std::unique_ptr<base::DictionaryValue> prefs; | 153 std::unique_ptr<base::DictionaryValue> prefs; |
154 | 154 |
155 Switches switches; | 155 Switches switches; |
156 | 156 |
| 157 // If set, use this as user agent for device emulation. |
| 158 std::string user_agent; |
| 159 |
157 std::set<WebViewInfo::Type> window_types; | 160 std::set<WebViewInfo::Type> window_types; |
158 }; | 161 }; |
159 | 162 |
160 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ | 163 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_ |
OLD | NEW |