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

Side by Side Diff: content/shell/test_runner/web_frame_test_client.h

Issue 2781723007: Plumb initiator out of Blink. (Closed)
Patch Set: Created 3 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
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 blink::WebUserMediaClient* userMediaClient() override; 54 blink::WebUserMediaClient* userMediaClient() override;
55 void didAddMessageToConsole(const blink::WebConsoleMessage& message, 55 void didAddMessageToConsole(const blink::WebConsoleMessage& message,
56 const blink::WebString& source_name, 56 const blink::WebString& source_name,
57 unsigned source_line, 57 unsigned source_line,
58 const blink::WebString& stack_trace) override; 58 const blink::WebString& stack_trace) override;
59 void loadURLExternally(const blink::WebURLRequest& request, 59 void loadURLExternally(const blink::WebURLRequest& request,
60 blink::WebNavigationPolicy policy, 60 blink::WebNavigationPolicy policy,
61 const blink::WebString& suggested_name, 61 const blink::WebString& suggested_name,
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::WebLocalFrame* initiator_url,
65 blink::WebDataSource* data_source,
65 blink::WebURLRequest& request) override; 66 blink::WebURLRequest& request) override;
66 void didReceiveServerRedirectForProvisionalLoad( 67 void didReceiveServerRedirectForProvisionalLoad(
67 blink::WebLocalFrame* frame) override; 68 blink::WebLocalFrame* frame) override;
68 void didFailProvisionalLoad(blink::WebLocalFrame* frame, 69 void didFailProvisionalLoad(blink::WebLocalFrame* frame,
69 const blink::WebURLError& error, 70 const blink::WebURLError& error,
70 blink::WebHistoryCommitType commit_type) override; 71 blink::WebHistoryCommitType commit_type) override;
71 void didCommitProvisionalLoad( 72 void didCommitProvisionalLoad(
72 blink::WebLocalFrame* frame, 73 blink::WebLocalFrame* frame,
73 const blink::WebHistoryItem& history_item, 74 const blink::WebHistoryItem& history_item,
74 blink::WebHistoryCommitType history_type) override; 75 blink::WebHistoryCommitType history_type) override;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 WebTestDelegate* delegate_; 114 WebTestDelegate* delegate_;
114 WebViewTestProxyBase* web_view_test_proxy_base_; 115 WebViewTestProxyBase* web_view_test_proxy_base_;
115 WebFrameTestProxyBase* web_frame_test_proxy_base_; 116 WebFrameTestProxyBase* web_frame_test_proxy_base_;
116 117
117 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); 118 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient);
118 }; 119 };
119 120
120 } // namespace test_runner 121 } // namespace test_runner
121 122
122 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ 123 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | content/shell/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698