| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 class TextureLayer; | 46 class TextureLayer; |
| 47 class TextureLayerClient; | 47 class TextureLayerClient; |
| 48 class SharedBitmapManager; | 48 class SharedBitmapManager; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace test_runner { | 51 namespace test_runner { |
| 52 | 52 |
| 53 class DeviceLightData; | 53 class DeviceLightData; |
| 54 class GamepadController; | 54 class GamepadController; |
| 55 class WebTask; | 55 class WebTask; |
| 56 class WebTestProxyBase; | 56 class WebViewTestProxyBase; |
| 57 struct TestPreferences; | 57 struct TestPreferences; |
| 58 | 58 |
| 59 class WebTestDelegate { | 59 class WebTestDelegate { |
| 60 public: | 60 public: |
| 61 // Set and clear the edit command to execute on the next call to | 61 // Set and clear the edit command to execute on the next call to |
| 62 // WebViewClient::handleCurrentKeyboardEvent(). | 62 // WebViewClient::handleCurrentKeyboardEvent(). |
| 63 virtual void ClearEditCommand() = 0; | 63 virtual void ClearEditCommand() = 0; |
| 64 virtual void SetEditCommand(const std::string& name, | 64 virtual void SetEditCommand(const std::string& name, |
| 65 const std::string& value) = 0; | 65 const std::string& value) = 0; |
| 66 | 66 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 274 |
| 275 virtual float GetDeviceScaleFactor() const = 0; | 275 virtual float GetDeviceScaleFactor() const = 0; |
| 276 | 276 |
| 277 // Run all pending idle tasks, and then run callback. | 277 // Run all pending idle tasks, and then run callback. |
| 278 virtual void RunIdleTasks(const base::Closure& callback) = 0; | 278 virtual void RunIdleTasks(const base::Closure& callback) = 0; |
| 279 }; | 279 }; |
| 280 | 280 |
| 281 } // namespace test_runner | 281 } // namespace test_runner |
| 282 | 282 |
| 283 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 283 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| OLD | NEW |