| 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_FRAME_TEST_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/test_runner/mock_screen_orientation_client.h" | 9 #include "components/test_runner/mock_screen_orientation_client.h" |
| 10 #include "components/test_runner/web_test_delegate.h" | 10 #include "components/test_runner/web_test_delegate.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 base_proxy_->DidReceiveTitle(frame, title, direction); | 106 base_proxy_->DidReceiveTitle(frame, title, direction); |
| 107 Base::didReceiveTitle(frame, title, direction); | 107 Base::didReceiveTitle(frame, title, direction); |
| 108 } | 108 } |
| 109 | 109 |
| 110 void didChangeIcon(blink::WebLocalFrame* frame, | 110 void didChangeIcon(blink::WebLocalFrame* frame, |
| 111 blink::WebIconURL::Type icon_type) override { | 111 blink::WebIconURL::Type icon_type) override { |
| 112 base_proxy_->DidChangeIcon(frame, icon_type); | 112 base_proxy_->DidChangeIcon(frame, icon_type); |
| 113 Base::didChangeIcon(frame, icon_type); | 113 Base::didChangeIcon(frame, icon_type); |
| 114 } | 114 } |
| 115 | 115 |
| 116 void didFinishDocumentLoad(blink::WebLocalFrame* frame, bool empty) override { | 116 void didFinishDocumentLoad(blink::WebLocalFrame* frame) override { |
| 117 base_proxy_->DidFinishDocumentLoad(frame); | 117 base_proxy_->DidFinishDocumentLoad(frame); |
| 118 Base::didFinishDocumentLoad(frame, empty); | 118 Base::didFinishDocumentLoad(frame); |
| 119 } | 119 } |
| 120 | 120 |
| 121 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override { | 121 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override { |
| 122 base_proxy_->DidHandleOnloadEvents(frame); | 122 base_proxy_->DidHandleOnloadEvents(frame); |
| 123 Base::didHandleOnloadEvents(frame); | 123 Base::didHandleOnloadEvents(frame); |
| 124 } | 124 } |
| 125 | 125 |
| 126 void didFailLoad(blink::WebLocalFrame* frame, | 126 void didFailLoad(blink::WebLocalFrame* frame, |
| 127 const blink::WebURLError& error, | 127 const blink::WebURLError& error, |
| 128 blink::WebHistoryCommitType commit_type) override { | 128 blink::WebHistoryCommitType commit_type) override { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 271 |
| 272 private: | 272 private: |
| 273 WebTestProxyBase* base_proxy_; | 273 WebTestProxyBase* base_proxy_; |
| 274 | 274 |
| 275 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 275 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
| 276 }; | 276 }; |
| 277 | 277 |
| 278 } // namespace test_runner | 278 } // namespace test_runner |
| 279 | 279 |
| 280 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 280 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| OLD | NEW |