OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_FRAME_TEST_CLIENT_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const blink::WebContextMenuData& context_menu_data) override; | 54 const blink::WebContextMenuData& context_menu_data) override; |
55 blink::WebUserMediaClient* userMediaClient() override; | 55 blink::WebUserMediaClient* userMediaClient() override; |
56 void didAddMessageToConsole(const blink::WebConsoleMessage& message, | 56 void didAddMessageToConsole(const blink::WebConsoleMessage& message, |
57 const blink::WebString& source_name, | 57 const blink::WebString& source_name, |
58 unsigned source_line, | 58 unsigned source_line, |
59 const blink::WebString& stack_trace) override; | 59 const blink::WebString& stack_trace) override; |
60 void loadURLExternally(const blink::WebURLRequest& request, | 60 void loadURLExternally(const blink::WebURLRequest& request, |
61 blink::WebNavigationPolicy policy, | 61 blink::WebNavigationPolicy policy, |
62 const blink::WebString& suggested_name, | 62 const blink::WebString& suggested_name, |
63 bool replaces_current_history_item) override; | 63 bool replaces_current_history_item) override; |
| 64 void loadErrorPage(int reason) override; |
64 void didStartProvisionalLoad(blink::WebLocalFrame* frame) override; | 65 void didStartProvisionalLoad(blink::WebLocalFrame* frame) override; |
65 void didReceiveServerRedirectForProvisionalLoad( | 66 void didReceiveServerRedirectForProvisionalLoad( |
66 blink::WebLocalFrame* frame) override; | 67 blink::WebLocalFrame* frame) override; |
67 void didFailProvisionalLoad(blink::WebLocalFrame* frame, | 68 void didFailProvisionalLoad(blink::WebLocalFrame* frame, |
68 const blink::WebURLError& error, | 69 const blink::WebURLError& error, |
69 blink::WebHistoryCommitType commit_type) override; | 70 blink::WebHistoryCommitType commit_type) override; |
70 void didCommitProvisionalLoad( | 71 void didCommitProvisionalLoad( |
71 blink::WebLocalFrame* frame, | 72 blink::WebLocalFrame* frame, |
72 const blink::WebHistoryItem& history_item, | 73 const blink::WebHistoryItem& history_item, |
73 blink::WebHistoryCommitType history_type) override; | 74 blink::WebHistoryCommitType history_type) override; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 WebTestDelegate* delegate_; | 113 WebTestDelegate* delegate_; |
113 WebViewTestProxyBase* web_view_test_proxy_base_; | 114 WebViewTestProxyBase* web_view_test_proxy_base_; |
114 WebFrameTestProxyBase* web_frame_test_proxy_base_; | 115 WebFrameTestProxyBase* web_frame_test_proxy_base_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); | 117 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); |
117 }; | 118 }; |
118 | 119 |
119 } // namespace test_runner | 120 } // namespace test_runner |
120 | 121 |
121 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 122 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
OLD | NEW |