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

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

Issue 1886103002: Move DumpBackForwardLists out of WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate-layout-and-paint-async-then
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const base::DictionaryValue& changed_values) override; 123 const base::DictionaryValue& changed_values) override;
124 void TestFinished() override; 124 void TestFinished() override;
125 void CloseRemainingWindows() override; 125 void CloseRemainingWindows() override;
126 void DeleteAllCookies() override; 126 void DeleteAllCookies() override;
127 int NavigationEntryCount() override; 127 int NavigationEntryCount() override;
128 void GoToOffset(int offset) override; 128 void GoToOffset(int offset) override;
129 void Reload() override; 129 void Reload() override;
130 void LoadURLForFrame(const blink::WebURL& url, 130 void LoadURLForFrame(const blink::WebURL& url,
131 const std::string& frame_name) override; 131 const std::string& frame_name) override;
132 bool AllowExternalPages() override; 132 bool AllowExternalPages() override;
133 std::string DumpHistoryForWindow(
134 test_runner::WebTestProxyBase* proxy) override;
135 void FetchManifest( 133 void FetchManifest(
136 blink::WebView* view, 134 blink::WebView* view,
137 const GURL& url, 135 const GURL& url,
138 const base::Callback<void(const blink::WebURLResponse& response, 136 const base::Callback<void(const blink::WebURLResponse& response,
139 const std::string& data)>& callback) override; 137 const std::string& data)>& callback) override;
140 void SetPermission(const std::string& name, 138 void SetPermission(const std::string& name,
141 const std::string& value, 139 const std::string& value,
142 const GURL& origin, 140 const GURL& origin,
143 const GURL& embedding_origin) override; 141 const GURL& embedding_origin) override;
144 void ResetPermissions() override; 142 void ResetPermissions() override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void OnReplyBluetoothManualChooserEvents( 183 void OnReplyBluetoothManualChooserEvents(
186 const std::vector<std::string>& events); 184 const std::vector<std::string>& events);
187 185
188 // After finishing the test, retrieves the audio, text, and pixel dumps from 186 // After finishing the test, retrieves the audio, text, and pixel dumps from
189 // the TestRunner library and sends them to the browser process. 187 // the TestRunner library and sends them to the browser process.
190 void CaptureDump(); 188 void CaptureDump();
191 void OnLayoutDumpCompleted(std::string completed_layout_dump); 189 void OnLayoutDumpCompleted(std::string completed_layout_dump);
192 void CaptureDumpContinued(); 190 void CaptureDumpContinued();
193 void OnPixelsDumpCompleted(const SkBitmap& snapshot); 191 void OnPixelsDumpCompleted(const SkBitmap& snapshot);
194 void CaptureDumpComplete(); 192 void CaptureDumpComplete();
193 std::string DumpHistoryForWindow(blink::WebView* web_view);
195 194
196 mojom::LayoutTestBluetoothFakeAdapterSetter& 195 mojom::LayoutTestBluetoothFakeAdapterSetter&
197 GetBluetoothFakeAdapterSetter(); 196 GetBluetoothFakeAdapterSetter();
198 mojom::LayoutTestBluetoothFakeAdapterSetterPtr bluetooth_fake_adapter_setter_; 197 mojom::LayoutTestBluetoothFakeAdapterSetterPtr bluetooth_fake_adapter_setter_;
199 198
200 test_runner::WebTestProxyBase* proxy_; 199 test_runner::WebTestProxyBase* proxy_;
201 200
202 test_runner::TestPreferences prefs_; 201 test_runner::TestPreferences prefs_;
203 202
204 ShellTestConfiguration test_config_; 203 ShellTestConfiguration test_config_;
(...skipping 10 matching lines...) Expand all
215 bool focus_on_next_commit_; 214 bool focus_on_next_commit_;
216 215
217 std::unique_ptr<LeakDetector> leak_detector_; 216 std::unique_ptr<LeakDetector> leak_detector_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 218 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
220 }; 219 };
221 220
222 } // namespace content 221 } // namespace content
223 222
224 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 223 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.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