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

Side by Side Diff: content/shell/renderer/test_runner/WebTestDelegate.h

Issue 477343002: Revert "Add IPC benchmarking API to Blink TestRunner" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/renderer/ipc_echo.cc ('k') | content/shell/renderer/test_runner/test_runner.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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" 10 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 virtual void goToOffset(int offset) = 0; 161 virtual void goToOffset(int offset) = 0;
162 virtual void reload() = 0; 162 virtual void reload() = 0;
163 virtual void loadURLForFrame(const blink::WebURL&, const std::string& frameN ame) = 0; 163 virtual void loadURLForFrame(const blink::WebURL&, const std::string& frameN ame) = 0;
164 164
165 // Returns true if resource requests to external URLs should be permitted. 165 // Returns true if resource requests to external URLs should be permitted.
166 virtual bool allowExternalPages() = 0; 166 virtual bool allowExternalPages() = 0;
167 167
168 // Returns a text dump the back/forward history for the WebView associated 168 // Returns a text dump the back/forward history for the WebView associated
169 // with the given WebTestProxyBase. 169 // with the given WebTestProxyBase.
170 virtual std::string dumpHistoryForWindow(WebTestProxyBase*) = 0; 170 virtual std::string dumpHistoryForWindow(WebTestProxyBase*) = 0;
171
172 // Send an IPC message will will be echoed back.
173 virtual void requestEcho(int id, int size) = 0;
174 virtual int lastEchoId() = 0;
175 virtual int lastEchoSize() = 0;
176 }; 171 };
177 172
178 } // namespace content 173 } // namespace content
179 174
180 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_ 175 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/ipc_echo.cc ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698