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

Side by Side Diff: components/test_runner/web_test_delegate.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
« no previous file with comments | « no previous file | components/test_runner/web_test_interfaces.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 // The following trigger navigations on the main WebView. 228 // The following trigger navigations on the main WebView.
229 virtual void GoToOffset(int offset) = 0; 229 virtual void GoToOffset(int offset) = 0;
230 virtual void Reload() = 0; 230 virtual void Reload() = 0;
231 virtual void LoadURLForFrame(const blink::WebURL& url, 231 virtual void LoadURLForFrame(const blink::WebURL& url,
232 const std::string& frame_name) = 0; 232 const std::string& frame_name) = 0;
233 233
234 // Returns true if resource requests to external URLs should be permitted. 234 // Returns true if resource requests to external URLs should be permitted.
235 virtual bool AllowExternalPages() = 0; 235 virtual bool AllowExternalPages() = 0;
236 236
237 // Returns a text dump the back/forward history for the WebView associated
238 // with the given WebTestProxyBase.
239 virtual std::string DumpHistoryForWindow(WebTestProxyBase* proxy) = 0;
240
241 // Fetch the manifest for a given WebView from the given url. 237 // Fetch the manifest for a given WebView from the given url.
242 virtual void FetchManifest( 238 virtual void FetchManifest(
243 blink::WebView* view, 239 blink::WebView* view,
244 const GURL& url, 240 const GURL& url,
245 const base::Callback<void(const blink::WebURLResponse& response, 241 const base::Callback<void(const blink::WebURLResponse& response,
246 const std::string& data)>& callback) = 0; 242 const std::string& data)>& callback) = 0;
247 243
248 // Sends a message to the LayoutTestPermissionManager in order for it to 244 // Sends a message to the LayoutTestPermissionManager in order for it to
249 // update its database. 245 // update its database.
250 virtual void SetPermission(const std::string& permission_name, 246 virtual void SetPermission(const std::string& permission_name,
(...skipping 28 matching lines...) Expand all
279 275
280 virtual float GetDeviceScaleFactorForTest() const = 0; 276 virtual float GetDeviceScaleFactorForTest() const = 0;
281 277
282 // Run all pending idle tasks, and then run callback. 278 // Run all pending idle tasks, and then run callback.
283 virtual void RunIdleTasks(const base::Closure& callback) = 0; 279 virtual void RunIdleTasks(const base::Closure& callback) = 0;
284 }; 280 };
285 281
286 } // namespace test_runner 282 } // namespace test_runner
287 283
288 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 284 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/web_test_interfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698