Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Side by Side Diff: components/test_runner/web_frame_test_proxy.h

Issue 1838733002: Allow LoadNavigationErrorPage to run scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 base_proxy_->DidReceiveTitle(frame, title, direction); 105 base_proxy_->DidReceiveTitle(frame, title, direction);
106 Base::didReceiveTitle(frame, title, direction); 106 Base::didReceiveTitle(frame, title, direction);
107 } 107 }
108 108
109 virtual void didChangeIcon(blink::WebLocalFrame* frame, 109 virtual void didChangeIcon(blink::WebLocalFrame* frame,
110 blink::WebIconURL::Type icon_type) { 110 blink::WebIconURL::Type icon_type) {
111 base_proxy_->DidChangeIcon(frame, icon_type); 111 base_proxy_->DidChangeIcon(frame, icon_type);
112 Base::didChangeIcon(frame, icon_type); 112 Base::didChangeIcon(frame, icon_type);
113 } 113 }
114 114
115 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame, bool empty) { 115 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame) {
116 base_proxy_->DidFinishDocumentLoad(frame); 116 base_proxy_->DidFinishDocumentLoad(frame);
117 Base::didFinishDocumentLoad(frame, empty); 117 Base::didFinishDocumentLoad(frame);
118 } 118 }
119 119
120 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame) { 120 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame) {
121 base_proxy_->DidHandleOnloadEvents(frame); 121 base_proxy_->DidHandleOnloadEvents(frame);
122 Base::didHandleOnloadEvents(frame); 122 Base::didHandleOnloadEvents(frame);
123 } 123 }
124 124
125 virtual void didFailLoad(blink::WebLocalFrame* frame, 125 virtual void didFailLoad(blink::WebLocalFrame* frame,
126 const blink::WebURLError& error, 126 const blink::WebURLError& error,
127 blink::WebHistoryCommitType commit_type) { 127 blink::WebHistoryCommitType commit_type) {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 private: 281 private:
282 WebTestProxyBase* base_proxy_; 282 WebTestProxyBase* base_proxy_;
283 283
284 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); 284 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
285 }; 285 };
286 286
287 } // namespace test_runner 287 } // namespace test_runner
288 288
289 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 289 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698