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

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

Issue 2831583004: Remove redundant WebLocalFrame* parameter from DidClearWindowObject (Closed)
Patch Set: Rebase Created 3 years, 7 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool did_block_entire_page) override; 87 bool did_block_entire_page) override;
88 void DidDispatchPingLoader(const blink::WebURL& url) override; 88 void DidDispatchPingLoader(const blink::WebURL& url) override;
89 void WillSendRequest(blink::WebURLRequest& request) override; 89 void WillSendRequest(blink::WebURLRequest& request) override;
90 void DidReceiveResponse(const blink::WebURLResponse& response) override; 90 void DidReceiveResponse(const blink::WebURLResponse& response) override;
91 blink::WebNavigationPolicy DecidePolicyForNavigation( 91 blink::WebNavigationPolicy DecidePolicyForNavigation(
92 const blink::WebFrameClient::NavigationPolicyInfo& info) override; 92 const blink::WebFrameClient::NavigationPolicyInfo& info) override;
93 void CheckIfAudioSinkExistsAndIsAuthorized( 93 void CheckIfAudioSinkExistsAndIsAuthorized(
94 const blink::WebString& sink_id, 94 const blink::WebString& sink_id,
95 const blink::WebSecurityOrigin& security_origin, 95 const blink::WebSecurityOrigin& security_origin,
96 blink::WebSetSinkIdCallbacks* web_callbacks) override; 96 blink::WebSetSinkIdCallbacks* web_callbacks) override;
97 void DidClearWindowObject(blink::WebLocalFrame* frame) override; 97 void DidClearWindowObject() override;
98 bool RunFileChooser(const blink::WebFileChooserParams& params, 98 bool RunFileChooser(const blink::WebFileChooserParams& params,
99 blink::WebFileChooserCompletion* completion) override; 99 blink::WebFileChooserCompletion* completion) override;
100 blink::WebEffectiveConnectionType GetEffectiveConnectionType() override; 100 blink::WebEffectiveConnectionType GetEffectiveConnectionType() override;
101 101
102 private: 102 private:
103 TestRunner* test_runner(); 103 TestRunner* test_runner();
104 104
105 // Borrowed pointers to other parts of Layout Tests state. 105 // Borrowed pointers to other parts of Layout Tests state.
106 WebTestDelegate* delegate_; 106 WebTestDelegate* delegate_;
107 WebViewTestProxyBase* web_view_test_proxy_base_; 107 WebViewTestProxyBase* web_view_test_proxy_base_;
108 WebFrameTestProxyBase* web_frame_test_proxy_base_; 108 WebFrameTestProxyBase* web_frame_test_proxy_base_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); 110 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient);
111 }; 111 };
112 112
113 } // namespace test_runner 113 } // namespace test_runner
114 114
115 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ 115 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.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