| 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 <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 const blink::WebDeviceOrientationData& data) override; | 74 const blink::WebDeviceOrientationData& data) override; |
| 75 void PrintMessage(const std::string& message) override; | 75 void PrintMessage(const std::string& message) override; |
| 76 void PostTask(blink::WebTaskRunner::Task* task) override; | 76 void PostTask(blink::WebTaskRunner::Task* task) override; |
| 77 void PostDelayedTask(blink::WebTaskRunner::Task* task, long long ms) override; | 77 void PostDelayedTask(blink::WebTaskRunner::Task* task, long long ms) override; |
| 78 blink::WebString RegisterIsolatedFileSystem( | 78 blink::WebString RegisterIsolatedFileSystem( |
| 79 const blink::WebVector<blink::WebString>& absolute_filenames) override; | 79 const blink::WebVector<blink::WebString>& absolute_filenames) override; |
| 80 long long GetCurrentTimeInMillisecond() override; | 80 long long GetCurrentTimeInMillisecond() override; |
| 81 blink::WebString GetAbsoluteWebStringFromUTF8Path( | 81 blink::WebString GetAbsoluteWebStringFromUTF8Path( |
| 82 const std::string& utf8_path) override; | 82 const std::string& utf8_path) override; |
| 83 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; | 83 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; |
| 84 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; | 84 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url, |
| 85 bool is_wpt_mode) override; |
| 85 test_runner::TestPreferences* Preferences() override; | 86 test_runner::TestPreferences* Preferences() override; |
| 86 void ApplyPreferences() override; | 87 void ApplyPreferences() override; |
| 87 virtual std::string makeURLErrorDescription(const blink::WebURLError& error); | 88 virtual std::string makeURLErrorDescription(const blink::WebURLError& error); |
| 88 void UseUnfortunateSynchronousResizeMode(bool enable) override; | 89 void UseUnfortunateSynchronousResizeMode(bool enable) override; |
| 89 void EnableAutoResizeMode(const blink::WebSize& min_size, | 90 void EnableAutoResizeMode(const blink::WebSize& min_size, |
| 90 const blink::WebSize& max_size) override; | 91 const blink::WebSize& max_size) override; |
| 91 void DisableAutoResizeMode(const blink::WebSize& new_size) override; | 92 void DisableAutoResizeMode(const blink::WebSize& new_size) override; |
| 92 void ClearDevToolsLocalStorage() override; | 93 void ClearDevToolsLocalStorage() override; |
| 93 void ShowDevTools(const std::string& settings, | 94 void ShowDevTools(const std::string& settings, |
| 94 const std::string& frontend_url) override; | 95 const std::string& frontend_url) override; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 bool focus_on_next_commit_; | 208 bool focus_on_next_commit_; |
| 208 | 209 |
| 209 std::unique_ptr<LeakDetector> leak_detector_; | 210 std::unique_ptr<LeakDetector> leak_detector_; |
| 210 | 211 |
| 211 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 212 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 212 }; | 213 }; |
| 213 | 214 |
| 214 } // namespace content | 215 } // namespace content |
| 215 | 216 |
| 216 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 217 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |