Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1890223002: Explicitly initialize secondary renderers for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/shell/common/shell_messages.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698