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

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

Issue 1922653003: Send TestFinished as Process/Control-msg (not View-msg). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@only-one-top-loading-frame-in-all-renderers
Patch Set: Rebasing... Created 4 years, 7 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 void OnReplicateTestConfiguration(const ShellTestConfiguration& params); 169 void OnReplicateTestConfiguration(const ShellTestConfiguration& params);
170 void OnSetupSecondaryRenderer(); 170 void OnSetupSecondaryRenderer();
171 171
172 private: 172 private:
173 // Message handlers. 173 // Message handlers.
174 void OnSessionHistory( 174 void OnSessionHistory(
175 const std::vector<int>& routing_ids, 175 const std::vector<int>& routing_ids,
176 const std::vector<std::vector<PageState> >& session_histories, 176 const std::vector<std::vector<PageState> >& session_histories,
177 const std::vector<unsigned>& current_entry_indexes); 177 const std::vector<unsigned>& current_entry_indexes);
178 void OnReset(); 178 void OnReset();
179 void OnNotifyDone(); 179 void OnTestFinishedInSecondaryRenderer();
180 void OnTryLeakDetection(); 180 void OnTryLeakDetection();
181 void OnReplyBluetoothManualChooserEvents( 181 void OnReplyBluetoothManualChooserEvents(
182 const std::vector<std::string>& events); 182 const std::vector<std::string>& events);
183 183
184 // After finishing the test, retrieves the audio, text, and pixel dumps from 184 // After finishing the test, retrieves the audio, text, and pixel dumps from
185 // the TestRunner library and sends them to the browser process. 185 // the TestRunner library and sends them to the browser process.
186 void CaptureDump(); 186 void CaptureDump();
187 void OnLayoutDumpCompleted(std::string completed_layout_dump); 187 void OnLayoutDumpCompleted(std::string completed_layout_dump);
188 void CaptureDumpContinued(); 188 void CaptureDumpContinued();
189 void OnPixelsDumpCompleted(const SkBitmap& snapshot); 189 void OnPixelsDumpCompleted(const SkBitmap& snapshot);
(...skipping 20 matching lines...) Expand all
210 bool focus_on_next_commit_; 210 bool focus_on_next_commit_;
211 211
212 std::unique_ptr<LeakDetector> leak_detector_; 212 std::unique_ptr<LeakDetector> leak_detector_;
213 213
214 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 214 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
215 }; 215 };
216 216
217 } // namespace content 217 } // namespace content
218 218
219 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 219 #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