| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 void OnSessionHistory( | 172 void OnSessionHistory( |
| 173 const std::vector<int>& routing_ids, | 173 const std::vector<int>& routing_ids, |
| 174 const std::vector<std::vector<PageState> >& session_histories, | 174 const std::vector<std::vector<PageState> >& session_histories, |
| 175 const std::vector<unsigned>& current_entry_indexes); | 175 const std::vector<unsigned>& current_entry_indexes); |
| 176 void OnReset(); | 176 void OnReset(); |
| 177 void OnTestFinishedInSecondaryRenderer(); | 177 void OnTestFinishedInSecondaryRenderer(); |
| 178 void OnTryLeakDetection(); | 178 void OnTryLeakDetection(); |
| 179 void OnReplyBluetoothManualChooserEvents( | 179 void OnReplyBluetoothManualChooserEvents( |
| 180 const std::vector<std::string>& events); | 180 const std::vector<std::string>& events); |
| 181 | 181 |
| 182 // RenderViewObserver implementation. |
| 183 void OnDestruct() override; |
| 184 |
| 182 // After finishing the test, retrieves the audio, text, and pixel dumps from | 185 // After finishing the test, retrieves the audio, text, and pixel dumps from |
| 183 // the TestRunner library and sends them to the browser process. | 186 // the TestRunner library and sends them to the browser process. |
| 184 void CaptureDump(); | 187 void CaptureDump(); |
| 185 void OnLayoutDumpCompleted(std::string completed_layout_dump); | 188 void OnLayoutDumpCompleted(std::string completed_layout_dump); |
| 186 void CaptureDumpContinued(); | 189 void CaptureDumpContinued(); |
| 187 void OnPixelsDumpCompleted(const SkBitmap& snapshot); | 190 void OnPixelsDumpCompleted(const SkBitmap& snapshot); |
| 188 void CaptureDumpComplete(); | 191 void CaptureDumpComplete(); |
| 189 std::string DumpHistoryForWindow(blink::WebView* web_view); | 192 std::string DumpHistoryForWindow(blink::WebView* web_view); |
| 190 | 193 |
| 191 mojom::LayoutTestBluetoothFakeAdapterSetter& | 194 mojom::LayoutTestBluetoothFakeAdapterSetter& |
| (...skipping 16 matching lines...) Expand all Loading... |
| 208 bool focus_on_next_commit_; | 211 bool focus_on_next_commit_; |
| 209 | 212 |
| 210 std::unique_ptr<LeakDetector> leak_detector_; | 213 std::unique_ptr<LeakDetector> leak_detector_; |
| 211 | 214 |
| 212 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 215 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 213 }; | 216 }; |
| 214 | 217 |
| 215 } // namespace content | 218 } // namespace content |
| 216 | 219 |
| 217 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 220 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |