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 CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 bool replaces_current_history_item) override; | 62 bool replaces_current_history_item) override; |
63 void LoadErrorPage(int reason) override; | 63 void LoadErrorPage(int reason) override; |
64 void DidStartProvisionalLoad(blink::WebDataSource* data_source, | 64 void DidStartProvisionalLoad(blink::WebDataSource* data_source, |
65 blink::WebURLRequest& request) override; | 65 blink::WebURLRequest& request) override; |
66 void DidReceiveServerRedirectForProvisionalLoad() override; | 66 void DidReceiveServerRedirectForProvisionalLoad() override; |
67 void DidFailProvisionalLoad(const blink::WebURLError& error, | 67 void DidFailProvisionalLoad(const blink::WebURLError& error, |
68 blink::WebHistoryCommitType commit_type) override; | 68 blink::WebHistoryCommitType commit_type) override; |
69 void DidCommitProvisionalLoad( | 69 void DidCommitProvisionalLoad( |
70 const blink::WebHistoryItem& history_item, | 70 const blink::WebHistoryItem& history_item, |
71 blink::WebHistoryCommitType history_type) override; | 71 blink::WebHistoryCommitType history_type) override; |
72 void DidReceiveTitle(blink::WebLocalFrame* frame, | 72 void DidReceiveTitle(const blink::WebString& title, |
73 const blink::WebString& title, | |
74 blink::WebTextDirection direction) override; | 73 blink::WebTextDirection direction) override; |
75 void DidChangeIcon(blink::WebIconURL::Type icon_type) override; | 74 void DidChangeIcon(blink::WebIconURL::Type icon_type) override; |
76 void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override; | 75 void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override; |
77 void DidHandleOnloadEvents() override; | 76 void DidHandleOnloadEvents() override; |
78 void DidFailLoad(const blink::WebURLError& error, | 77 void DidFailLoad(const blink::WebURLError& error, |
79 blink::WebHistoryCommitType commit_type) override; | 78 blink::WebHistoryCommitType commit_type) override; |
80 void DidFinishLoad() override; | 79 void DidFinishLoad() override; |
81 void DidNavigateWithinPage(const blink::WebHistoryItem& history_item, | 80 void DidNavigateWithinPage(const blink::WebHistoryItem& history_item, |
82 blink::WebHistoryCommitType commit_type, | 81 blink::WebHistoryCommitType commit_type, |
83 bool contentInitiated) override; | 82 bool contentInitiated) override; |
(...skipping 22 matching lines...) Expand all Loading... |
106 WebTestDelegate* delegate_; | 105 WebTestDelegate* delegate_; |
107 WebViewTestProxyBase* web_view_test_proxy_base_; | 106 WebViewTestProxyBase* web_view_test_proxy_base_; |
108 WebFrameTestProxyBase* web_frame_test_proxy_base_; | 107 WebFrameTestProxyBase* web_frame_test_proxy_base_; |
109 | 108 |
110 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); | 109 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); |
111 }; | 110 }; |
112 | 111 |
113 } // namespace test_runner | 112 } // namespace test_runner |
114 | 113 |
115 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 114 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
OLD | NEW |