| 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 CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // WebTestDelegate implementation. | 64 // WebTestDelegate implementation. |
| 65 void ClearEditCommand() override; | 65 void ClearEditCommand() override; |
| 66 void SetEditCommand(const std::string& name, | 66 void SetEditCommand(const std::string& name, |
| 67 const std::string& value) override; | 67 const std::string& value) override; |
| 68 void SetGamepadProvider(test_runner::GamepadController* controller) override; | 68 void SetGamepadProvider(test_runner::GamepadController* controller) override; |
| 69 void SetDeviceLightData(const double data) override; | 69 void SetDeviceLightData(const double data) override; |
| 70 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; | 70 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; |
| 71 void SetDeviceOrientationData( | 71 void SetDeviceOrientationData( |
| 72 const blink::WebDeviceOrientationData& data) override; | 72 const blink::WebDeviceOrientationData& data) override; |
| 73 void PrintMessage(const std::string& message) override; | 73 void PrintMessage(const std::string& message) override; |
| 74 void PostTask(test_runner::WebTask* task) override; | 74 void PostTask(blink::WebTaskRunner::Task* task) override; |
| 75 void PostDelayedTask(test_runner::WebTask* task, long long ms) override; | 75 void PostDelayedTask(blink::WebTaskRunner::Task* task, long long ms) override; |
| 76 blink::WebString RegisterIsolatedFileSystem( | 76 blink::WebString RegisterIsolatedFileSystem( |
| 77 const blink::WebVector<blink::WebString>& absolute_filenames) override; | 77 const blink::WebVector<blink::WebString>& absolute_filenames) override; |
| 78 long long GetCurrentTimeInMillisecond() override; | 78 long long GetCurrentTimeInMillisecond() override; |
| 79 blink::WebString GetAbsoluteWebStringFromUTF8Path( | 79 blink::WebString GetAbsoluteWebStringFromUTF8Path( |
| 80 const std::string& utf8_path) override; | 80 const std::string& utf8_path) override; |
| 81 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; | 81 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; |
| 82 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; | 82 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; |
| 83 test_runner::TestPreferences* Preferences() override; | 83 test_runner::TestPreferences* Preferences() override; |
| 84 void ApplyPreferences() override; | 84 void ApplyPreferences() override; |
| 85 virtual std::string makeURLErrorDescription(const blink::WebURLError& error); | 85 virtual std::string makeURLErrorDescription(const blink::WebURLError& error); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 bool focus_on_next_commit_; | 210 bool focus_on_next_commit_; |
| 211 | 211 |
| 212 scoped_ptr<LeakDetector> leak_detector_; | 212 scoped_ptr<LeakDetector> leak_detector_; |
| 213 | 213 |
| 214 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 214 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 215 }; | 215 }; |
| 216 | 216 |
| 217 } // namespace content | 217 } // namespace content |
| 218 | 218 |
| 219 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 219 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |