| 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 11 matching lines...) Expand all Loading... |
| 22 #include "v8/include/v8.h" | 22 #include "v8/include/v8.h" |
| 23 | 23 |
| 24 class SkBitmap; | 24 class SkBitmap; |
| 25 class SkCanvas; | 25 class SkCanvas; |
| 26 | 26 |
| 27 namespace base { | 27 namespace base { |
| 28 class DictionaryValue; | 28 class DictionaryValue; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 class WebDeviceMotionData; | 32 class MotionData; |
| 33 class WebDeviceOrientationData; | 33 class OrientationData; |
| 34 class WebView; | 34 class WebView; |
| 35 struct WebRect; | 35 struct WebRect; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace test_runner { | 38 namespace test_runner { |
| 39 class WebViewTestProxyBase; | 39 class WebViewTestProxyBase; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace content { | 42 namespace content { |
| 43 | 43 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 62 bool is_new_navigation) override; | 62 bool is_new_navigation) override; |
| 63 void DidFailProvisionalLoad(blink::WebLocalFrame* frame, | 63 void DidFailProvisionalLoad(blink::WebLocalFrame* frame, |
| 64 const blink::WebURLError& error) override; | 64 const blink::WebURLError& error) override; |
| 65 | 65 |
| 66 // WebTestDelegate implementation. | 66 // WebTestDelegate implementation. |
| 67 void ClearEditCommand() override; | 67 void ClearEditCommand() override; |
| 68 void SetEditCommand(const std::string& name, | 68 void SetEditCommand(const std::string& name, |
| 69 const std::string& value) override; | 69 const std::string& value) override; |
| 70 void SetGamepadProvider(test_runner::GamepadController* controller) override; | 70 void SetGamepadProvider(test_runner::GamepadController* controller) override; |
| 71 void SetDeviceLightData(const double data) override; | 71 void SetDeviceLightData(const double data) override; |
| 72 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; | 72 void SetDeviceMotionData(const device::MotionData& data) override; |
| 73 void SetDeviceOrientationData( | 73 void SetDeviceOrientationData(const device::OrientationData& data) override; |
| 74 const blink::WebDeviceOrientationData& data) override; | |
| 75 void PrintMessage(const std::string& message) override; | 74 void PrintMessage(const std::string& message) override; |
| 76 void PostTask(const base::Closure& task) override; | 75 void PostTask(const base::Closure& task) override; |
| 77 void PostDelayedTask(const base::Closure& task, long long ms) override; | 76 void PostDelayedTask(const base::Closure& task, long long ms) override; |
| 78 blink::WebString RegisterIsolatedFileSystem( | 77 blink::WebString RegisterIsolatedFileSystem( |
| 79 const blink::WebVector<blink::WebString>& absolute_filenames) override; | 78 const blink::WebVector<blink::WebString>& absolute_filenames) override; |
| 80 long long GetCurrentTimeInMillisecond() override; | 79 long long GetCurrentTimeInMillisecond() override; |
| 81 blink::WebString GetAbsoluteWebStringFromUTF8Path( | 80 blink::WebString GetAbsoluteWebStringFromUTF8Path( |
| 82 const std::string& utf8_path) override; | 81 const std::string& utf8_path) override; |
| 83 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; | 82 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; |
| 84 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url, | 83 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 bool focus_on_next_commit_; | 217 bool focus_on_next_commit_; |
| 219 | 218 |
| 220 std::unique_ptr<LeakDetector> leak_detector_; | 219 std::unique_ptr<LeakDetector> leak_detector_; |
| 221 | 220 |
| 222 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 221 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 223 }; | 222 }; |
| 224 | 223 |
| 225 } // namespace content | 224 } // namespace content |
| 226 | 225 |
| 227 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 226 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |