| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "components/test_runner/test_preferences.h" | 10 #include "components/test_runner/test_preferences.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 void SetEditCommand(const std::string& name, | 38 void SetEditCommand(const std::string& name, |
| 39 const std::string& value) override; | 39 const std::string& value) override; |
| 40 void SetGamepadProvider(test_runner::GamepadController* controller) override; | 40 void SetGamepadProvider(test_runner::GamepadController* controller) override; |
| 41 void SetDeviceLightData(const double data) override; | 41 void SetDeviceLightData(const double data) override; |
| 42 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; | 42 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; |
| 43 void SetDeviceOrientationData( | 43 void SetDeviceOrientationData( |
| 44 const blink::WebDeviceOrientationData& data) override; | 44 const blink::WebDeviceOrientationData& data) override; |
| 45 void SetScreenOrientation( | 45 void SetScreenOrientation( |
| 46 const blink::WebScreenOrientationType& orientation) override; | 46 const blink::WebScreenOrientationType& orientation) override; |
| 47 void ResetScreenOrientation() override; | 47 void ResetScreenOrientation() override; |
| 48 void DidChangeBatteryStatus(const blink::WebBatteryStatus& status) override; | |
| 49 void PrintMessage(const std::string& message) override; | 48 void PrintMessage(const std::string& message) override; |
| 50 void PostTask(test_runner::WebTask* task) override; | 49 void PostTask(test_runner::WebTask* task) override; |
| 51 void PostDelayedTask(test_runner::WebTask* task, long long ms) override; | 50 void PostDelayedTask(test_runner::WebTask* task, long long ms) override; |
| 52 blink::WebString RegisterIsolatedFileSystem( | 51 blink::WebString RegisterIsolatedFileSystem( |
| 53 const blink::WebVector<blink::WebString>& absolute_filenames) override; | 52 const blink::WebVector<blink::WebString>& absolute_filenames) override; |
| 54 long long GetCurrentTimeInMillisecond() override; | 53 long long GetCurrentTimeInMillisecond() override; |
| 55 blink::WebString GetAbsoluteWebStringFromUTF8Path( | 54 blink::WebString GetAbsoluteWebStringFromUTF8Path( |
| 56 const std::string& path) override; | 55 const std::string& path) override; |
| 57 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; | 56 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; |
| 58 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; | 57 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 test_runner::WebTestInterfaces* test_interfaces_; | 132 test_runner::WebTestInterfaces* test_interfaces_; |
| 134 test_runner::WebTestProxyBase* proxy_; | 133 test_runner::WebTestProxyBase* proxy_; |
| 135 base::Closure completion_callback_; | 134 base::Closure completion_callback_; |
| 136 | 135 |
| 137 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); | 136 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); |
| 138 }; | 137 }; |
| 139 | 138 |
| 140 } // namespace html_viewer | 139 } // namespace html_viewer |
| 141 | 140 |
| 142 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 141 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
| OLD | NEW |