| 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_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 test_client()->didReceiveTitle(frame, title, direction); | 134 test_client()->didReceiveTitle(frame, title, direction); |
| 135 Base::didReceiveTitle(frame, title, direction); | 135 Base::didReceiveTitle(frame, title, direction); |
| 136 } | 136 } |
| 137 | 137 |
| 138 void didChangeIcon(blink::WebLocalFrame* frame, | 138 void didChangeIcon(blink::WebLocalFrame* frame, |
| 139 blink::WebIconURL::Type icon_type) override { | 139 blink::WebIconURL::Type icon_type) override { |
| 140 test_client()->didChangeIcon(frame, icon_type); | 140 test_client()->didChangeIcon(frame, icon_type); |
| 141 Base::didChangeIcon(frame, icon_type); | 141 Base::didChangeIcon(frame, icon_type); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void didFinishDocumentLoad(blink::WebLocalFrame* frame) override { | 144 void didFinishDocumentLoad() override { |
| 145 test_client()->didFinishDocumentLoad(frame); | 145 test_client()->didFinishDocumentLoad(); |
| 146 Base::didFinishDocumentLoad(frame); | 146 Base::didFinishDocumentLoad(); |
| 147 } | 147 } |
| 148 | 148 |
| 149 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override { | 149 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override { |
| 150 test_client()->didHandleOnloadEvents(frame); | 150 test_client()->didHandleOnloadEvents(frame); |
| 151 Base::didHandleOnloadEvents(frame); | 151 Base::didHandleOnloadEvents(frame); |
| 152 } | 152 } |
| 153 | 153 |
| 154 void didFailLoad(blink::WebLocalFrame* frame, | 154 void didFailLoad(blink::WebLocalFrame* frame, |
| 155 const blink::WebURLError& error, | 155 const blink::WebURLError& error, |
| 156 blink::WebHistoryCommitType commit_type) override { | 156 blink::WebHistoryCommitType commit_type) override { |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 return test_client()->runFileChooser(params, completion); | 298 return test_client()->runFileChooser(params, completion); |
| 299 } | 299 } |
| 300 | 300 |
| 301 private: | 301 private: |
| 302 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 302 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace test_runner | 305 } // namespace test_runner |
| 306 | 306 |
| 307 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 307 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| OLD | NEW |