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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 void Reset(bool for_new_test); | 163 void Reset(bool for_new_test); |
164 | 164 |
165 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } | 165 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } |
166 test_runner::WebTestProxyBase* proxy() const { return proxy_; } | 166 test_runner::WebTestProxyBase* proxy() const { return proxy_; } |
167 | 167 |
168 void ReportLeakDetectionResult(const LeakDetectionResult& result); | 168 void ReportLeakDetectionResult(const LeakDetectionResult& result); |
169 | 169 |
170 // Message handlers forwarded by LayoutTestRenderFrameObserver. | 170 // Message handlers forwarded by LayoutTestRenderFrameObserver. |
171 void OnSetTestConfiguration(const ShellTestConfiguration& params); | 171 void OnSetTestConfiguration(const ShellTestConfiguration& params); |
172 void OnReplicateTestConfiguration(const ShellTestConfiguration& params); | 172 void OnReplicateTestConfiguration(const ShellTestConfiguration& params); |
| 173 void OnSetupSecondaryRenderer(); |
173 | 174 |
174 private: | 175 private: |
175 // Message handlers. | 176 // Message handlers. |
176 void OnSessionHistory( | 177 void OnSessionHistory( |
177 const std::vector<int>& routing_ids, | 178 const std::vector<int>& routing_ids, |
178 const std::vector<std::vector<PageState> >& session_histories, | 179 const std::vector<std::vector<PageState> >& session_histories, |
179 const std::vector<unsigned>& current_entry_indexes); | 180 const std::vector<unsigned>& current_entry_indexes); |
180 void OnReset(); | 181 void OnReset(); |
181 void OnNotifyDone(); | 182 void OnNotifyDone(); |
182 void OnTryLeakDetection(); | 183 void OnTryLeakDetection(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 bool focus_on_next_commit_; | 215 bool focus_on_next_commit_; |
215 | 216 |
216 std::unique_ptr<LeakDetector> leak_detector_; | 217 std::unique_ptr<LeakDetector> leak_detector_; |
217 | 218 |
218 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 219 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
219 }; | 220 }; |
220 | 221 |
221 } // namespace content | 222 } // namespace content |
222 | 223 |
223 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 224 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |