| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |