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

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

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/renderer/web_ui_extension_data.cc ('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