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

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

Issue 1837483002: Allow LoadNavigationErrorPage to run scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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