| 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 COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define COMPONENTS_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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 blink::WebTextDirection direction); | 179 blink::WebTextDirection direction); |
| 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 void DidFailProvisionalLoad(blink::WebLocalFrame* frame, |
| 190 const blink::WebURLError& error, | 190 const blink::WebURLError& error, |
| 191 blink::WebHistoryCommitType commit_type); | 191 blink::WebHistoryCommitType commit_type); |
| 192 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, | 192 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 193 const blink::WebHistoryItem& history_item, | 193 const blink::WebHistoryItem& history_item, |
| 194 blink::WebHistoryCommitType history_type); | 194 blink::WebHistoryCommitType history_type); |
| 195 void DidReceiveTitle(blink::WebLocalFrame* frame, | 195 void DidReceiveTitle(blink::WebLocalFrame* frame, |
| 196 const blink::WebString& title, | 196 const blink::WebString& title, |
| 197 blink::WebTextDirection text_direction); | 197 blink::WebTextDirection text_direction); |
| 198 void DidChangeIcon(blink::WebLocalFrame* frame, | 198 void DidChangeIcon(blink::WebLocalFrame* frame, |
| 199 blink::WebIconURL::Type icon_type); | 199 blink::WebIconURL::Type icon_type); |
| 200 void DidFinishDocumentLoad(blink::WebLocalFrame* frame); | 200 void DidFinishDocumentLoad(blink::WebLocalFrame* frame); |
| 201 void DidHandleOnloadEvents(blink::WebLocalFrame* frame); | 201 void DidHandleOnloadEvents(blink::WebLocalFrame* frame); |
| 202 void DidFailLoad(blink::WebLocalFrame* frame, | 202 void DidFailLoad(blink::WebLocalFrame* frame, |
| 203 const blink::WebURLError& error, | 203 const blink::WebURLError& error, |
| 204 blink::WebHistoryCommitType commit_type); | 204 blink::WebHistoryCommitType commit_type); |
| 205 void DidFinishLoad(blink::WebLocalFrame* frame); | 205 void DidFinishLoad(blink::WebLocalFrame* frame); |
| 206 void DidChangeLocationWithinPage(blink::WebLocalFrame* frame); | 206 void DidChangeLocationWithinPage(blink::WebLocalFrame* frame); |
| 207 void DidDetectXSS(const blink::WebURL& insecure_url, | 207 void DidDetectXSS(const blink::WebURL& insecure_url, |
| 208 bool did_block_entire_page); | 208 bool did_block_entire_page); |
| 209 void DidDispatchPingLoader(blink::WebLocalFrame* frame, | 209 void DidDispatchPingLoader(blink::WebLocalFrame* frame, |
| 210 const blink::WebURL& url); | 210 const blink::WebURL& url); |
| 211 void WillSendRequest(blink::WebLocalFrame* frame, | 211 void WillSendRequest(unsigned identifier, |
| 212 unsigned identifier, | |
| 213 blink::WebURLRequest& request, | 212 blink::WebURLRequest& request, |
| 214 const blink::WebURLResponse& redirect_response); | 213 const blink::WebURLResponse& redirect_response); |
| 215 void DidReceiveResponse(blink::WebLocalFrame* frame, | 214 void DidReceiveResponse(blink::WebLocalFrame* frame, |
| 216 unsigned identifier, | 215 unsigned identifier, |
| 217 const blink::WebURLResponse& response); | 216 const blink::WebURLResponse& response); |
| 218 void DidChangeResourcePriority(blink::WebLocalFrame* frame, | 217 void DidChangeResourcePriority(blink::WebLocalFrame* frame, |
| 219 unsigned identifier, | 218 unsigned identifier, |
| 220 const blink::WebURLRequest::Priority& priority, | 219 const blink::WebURLRequest::Priority& priority, |
| 221 int intra_priority_value); | 220 int intra_priority_value); |
| 222 void DidFinishResourceLoad(blink::WebLocalFrame* frame, unsigned identifier); | 221 void DidFinishResourceLoad(blink::WebLocalFrame* frame, unsigned identifier); |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 | 388 |
| 390 private: | 389 private: |
| 391 virtual ~WebTestProxy() {} | 390 virtual ~WebTestProxy() {} |
| 392 | 391 |
| 393 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 392 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 394 }; | 393 }; |
| 395 | 394 |
| 396 } // namespace test_runner | 395 } // namespace test_runner |
| 397 | 396 |
| 398 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 397 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |