| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEB_TEST_PROXY_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 void DidAddMessageToConsole(const blink::WebConsoleMessage& text, | 180 void DidAddMessageToConsole(const blink::WebConsoleMessage& text, |
| 181 const blink::WebString& source_name, | 181 const blink::WebString& source_name, |
| 182 unsigned source_line); | 182 unsigned source_line); |
| 183 void LoadURLExternally(blink::WebLocalFrame* frame, | 183 void LoadURLExternally(blink::WebLocalFrame* frame, |
| 184 const blink::WebURLRequest& request, | 184 const blink::WebURLRequest& request, |
| 185 blink::WebNavigationPolicy policy, | 185 blink::WebNavigationPolicy policy, |
| 186 const blink::WebString& suggested_name); | 186 const blink::WebString& suggested_name); |
| 187 void DidStartProvisionalLoad(blink::WebLocalFrame*); | 187 void DidStartProvisionalLoad(blink::WebLocalFrame*); |
| 188 void DidReceiveServerRedirectForProvisionalLoad(blink::WebLocalFrame* frame); | 188 void DidReceiveServerRedirectForProvisionalLoad(blink::WebLocalFrame* frame); |
| 189 bool DidFailProvisionalLoad(blink::WebLocalFrame* frame, | 189 bool DidFailProvisionalLoad(blink::WebLocalFrame* frame, |
| 190 const blink::WebURLError& error); | 190 const blink::WebURLError& error, |
| 191 blink::WebHistoryCommitType commit_type); |
| 191 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, | 192 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 192 const blink::WebHistoryItem& history_item, | 193 const blink::WebHistoryItem& history_item, |
| 193 blink::WebHistoryCommitType history_type); | 194 blink::WebHistoryCommitType history_type); |
| 194 void DidReceiveTitle(blink::WebLocalFrame* frame, | 195 void DidReceiveTitle(blink::WebLocalFrame* frame, |
| 195 const blink::WebString& title, | 196 const blink::WebString& title, |
| 196 blink::WebTextDirection text_direction); | 197 blink::WebTextDirection text_direction); |
| 197 void DidChangeIcon(blink::WebLocalFrame* frame, | 198 void DidChangeIcon(blink::WebLocalFrame* frame, |
| 198 blink::WebIconURL::Type icon_type); | 199 blink::WebIconURL::Type icon_type); |
| 199 void DidFinishDocumentLoad(blink::WebLocalFrame* frame); | 200 void DidFinishDocumentLoad(blink::WebLocalFrame* frame); |
| 200 void DidHandleOnloadEvents(blink::WebLocalFrame* frame); | 201 void DidHandleOnloadEvents(blink::WebLocalFrame* frame); |
| 201 void DidFailLoad(blink::WebLocalFrame* frame, | 202 void DidFailLoad(blink::WebLocalFrame* frame, |
| 202 const blink::WebURLError& error); | 203 const blink::WebURLError& error, |
| 204 blink::WebHistoryCommitType commit_type); |
| 203 void DidFinishLoad(blink::WebLocalFrame* frame); | 205 void DidFinishLoad(blink::WebLocalFrame* frame); |
| 204 void DidChangeLocationWithinPage(blink::WebLocalFrame* frame); | 206 void DidChangeLocationWithinPage(blink::WebLocalFrame* frame); |
| 205 void DidDetectXSS(blink::WebLocalFrame* frame, | 207 void DidDetectXSS(blink::WebLocalFrame* frame, |
| 206 const blink::WebURL& insecure_url, | 208 const blink::WebURL& insecure_url, |
| 207 bool did_block_entire_page); | 209 bool did_block_entire_page); |
| 208 void DidDispatchPingLoader(blink::WebLocalFrame* frame, | 210 void DidDispatchPingLoader(blink::WebLocalFrame* frame, |
| 209 const blink::WebURL& url); | 211 const blink::WebURL& url); |
| 210 void WillRequestResource(blink::WebLocalFrame* frame, | 212 void WillRequestResource(blink::WebLocalFrame* frame, |
| 211 const blink::WebCachedURLRequest& url_request); | 213 const blink::WebCachedURLRequest& url_request); |
| 212 void WillSendRequest(blink::WebLocalFrame* frame, | 214 void WillSendRequest(blink::WebLocalFrame* frame, |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 396 |
| 395 private: | 397 private: |
| 396 virtual ~WebTestProxy() {} | 398 virtual ~WebTestProxy() {} |
| 397 | 399 |
| 398 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 400 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 399 }; | 401 }; |
| 400 | 402 |
| 401 } // namespace content | 403 } // namespace content |
| 402 | 404 |
| 403 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 405 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |