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 13 matching lines...) Expand all Loading... |
24 class SkBitmap; | 24 class SkBitmap; |
25 class SkCanvas; | 25 class SkCanvas; |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 class WebDeviceMotionData; | 28 class WebDeviceMotionData; |
29 class WebDeviceOrientationData; | 29 class WebDeviceOrientationData; |
30 struct WebRect; | 30 struct WebRect; |
31 } | 31 } |
32 | 32 |
33 namespace test_runner { | 33 namespace test_runner { |
| 34 class LayoutDumpFlags; |
34 class WebTestProxyBase; | 35 class WebTestProxyBase; |
35 } | 36 } |
36 | 37 |
37 namespace content { | 38 namespace content { |
38 | 39 |
39 class LeakDetector; | 40 class LeakDetector; |
40 struct LeakDetectionResult; | 41 struct LeakDetectionResult; |
41 | 42 |
42 // This is the renderer side of the webkit test runner. | 43 // This is the renderer side of the webkit test runner. |
43 // TODO(lukasza): Rename to LayoutTestRenderViewObserver for consistency with | 44 // TODO(lukasza): Rename to LayoutTestRenderViewObserver for consistency with |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 override; | 111 override; |
111 void SendBluetoothManualChooserEvent(const std::string& event, | 112 void SendBluetoothManualChooserEvent(const std::string& event, |
112 const std::string& argument) override; | 113 const std::string& argument) override; |
113 void SetGeofencingMockProvider(bool service_available) override; | 114 void SetGeofencingMockProvider(bool service_available) override; |
114 void ClearGeofencingMockProvider() override; | 115 void ClearGeofencingMockProvider() override; |
115 void SetGeofencingMockPosition(double latitude, double longitude) override; | 116 void SetGeofencingMockPosition(double latitude, double longitude) override; |
116 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; | 117 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; |
117 void SetAcceptAllCookies(bool accept) override; | 118 void SetAcceptAllCookies(bool accept) override; |
118 std::string PathToLocalResource(const std::string& resource) override; | 119 std::string PathToLocalResource(const std::string& resource) override; |
119 void SetLocale(const std::string& locale) override; | 120 void SetLocale(const std::string& locale) override; |
| 121 void OnLayoutDumpFlagsChanged( |
| 122 test_runner::LayoutDumpFlags* layout_dump_flags) override; |
120 void TestFinished() override; | 123 void TestFinished() override; |
121 void CloseRemainingWindows() override; | 124 void CloseRemainingWindows() override; |
122 void DeleteAllCookies() override; | 125 void DeleteAllCookies() override; |
123 int NavigationEntryCount() override; | 126 int NavigationEntryCount() override; |
124 void GoToOffset(int offset) override; | 127 void GoToOffset(int offset) override; |
125 void Reload() override; | 128 void Reload() override; |
126 void LoadURLForFrame(const blink::WebURL& url, | 129 void LoadURLForFrame(const blink::WebURL& url, |
127 const std::string& frame_name) override; | 130 const std::string& frame_name) override; |
128 bool AllowExternalPages() override; | 131 bool AllowExternalPages() override; |
129 std::string DumpHistoryForWindow( | 132 std::string DumpHistoryForWindow( |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 bool focus_on_next_commit_; | 216 bool focus_on_next_commit_; |
214 | 217 |
215 scoped_ptr<LeakDetector> leak_detector_; | 218 scoped_ptr<LeakDetector> leak_detector_; |
216 | 219 |
217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 220 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
218 }; | 221 }; |
219 | 222 |
220 } // namespace content | 223 } // namespace content |
221 | 224 |
222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 225 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |