| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 virtual void ClearAllDatabases() = 0; | 154 virtual void ClearAllDatabases() = 0; |
| 155 virtual void SetDatabaseQuota(int quota) = 0; | 155 virtual void SetDatabaseQuota(int quota) = 0; |
| 156 | 156 |
| 157 // Controls Web Notifications. | 157 // Controls Web Notifications. |
| 158 virtual void SimulateWebNotificationClick(const std::string& title, | 158 virtual void SimulateWebNotificationClick(const std::string& title, |
| 159 int action_index) = 0; | 159 int action_index) = 0; |
| 160 | 160 |
| 161 // Controls the device scale factor of the main WebView for hidpi tests. | 161 // Controls the device scale factor of the main WebView for hidpi tests. |
| 162 virtual void SetDeviceScaleFactor(float factor) = 0; | 162 virtual void SetDeviceScaleFactor(float factor) = 0; |
| 163 | 163 |
| 164 // Enable zoom-for-dsf option. |
| 165 virtual void EnableUseZoomForDSF() = 0; |
| 166 |
| 164 // Change the device color profile while running a layout test. | 167 // Change the device color profile while running a layout test. |
| 165 virtual void SetDeviceColorProfile(const std::string& name) = 0; | 168 virtual void SetDeviceColorProfile(const std::string& name) = 0; |
| 166 | 169 |
| 167 // Change the bluetooth test data while running a layout test. | 170 // Change the bluetooth test data while running a layout test. |
| 168 virtual void SetBluetoothMockDataSet(const std::string& data_set) = 0; | 171 virtual void SetBluetoothMockDataSet(const std::string& data_set) = 0; |
| 169 | 172 |
| 170 // Makes the Bluetooth chooser record its input and wait for instructions from | 173 // Makes the Bluetooth chooser record its input and wait for instructions from |
| 171 // the test program on how to proceed. | 174 // the test program on how to proceed. |
| 172 virtual void SetBluetoothManualChooser() = 0; | 175 virtual void SetBluetoothManualChooser() = 0; |
| 173 | 176 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; | 286 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; |
| 284 | 287 |
| 285 // Convert the position in DIP to native coordinates. | 288 // Convert the position in DIP to native coordinates. |
| 286 virtual blink::WebPoint ConvertDIPToNative( | 289 virtual blink::WebPoint ConvertDIPToNative( |
| 287 const blink::WebPoint& point_in_dip) const = 0; | 290 const blink::WebPoint& point_in_dip) const = 0; |
| 288 }; | 291 }; |
| 289 | 292 |
| 290 } // namespace test_runner | 293 } // namespace test_runner |
| 291 | 294 |
| 292 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 295 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| OLD | NEW |