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

Side by Side Diff: content/shell/test_runner/web_frame_test_proxy.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 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 CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 } 274 }
275 275
276 void CheckIfAudioSinkExistsAndIsAuthorized( 276 void CheckIfAudioSinkExistsAndIsAuthorized(
277 const blink::WebString& sink_id, 277 const blink::WebString& sink_id,
278 const blink::WebSecurityOrigin& security_origin, 278 const blink::WebSecurityOrigin& security_origin,
279 blink::WebSetSinkIdCallbacks* web_callbacks) override { 279 blink::WebSetSinkIdCallbacks* web_callbacks) override {
280 test_client()->CheckIfAudioSinkExistsAndIsAuthorized( 280 test_client()->CheckIfAudioSinkExistsAndIsAuthorized(
281 sink_id, security_origin, web_callbacks); 281 sink_id, security_origin, web_callbacks);
282 } 282 }
283 283
284 void DidClearWindowObject(blink::WebLocalFrame* frame) override { 284 void DidClearWindowObject() override {
285 test_client()->DidClearWindowObject(frame); 285 test_client()->DidClearWindowObject();
286 Base::DidClearWindowObject(frame); 286 Base::DidClearWindowObject();
287 } 287 }
288 bool RunFileChooser(const blink::WebFileChooserParams& params, 288 bool RunFileChooser(const blink::WebFileChooserParams& params,
289 blink::WebFileChooserCompletion* completion) override { 289 blink::WebFileChooserCompletion* completion) override {
290 return test_client()->RunFileChooser(params, completion); 290 return test_client()->RunFileChooser(params, completion);
291 } 291 }
292 292
293 private: 293 private:
294 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); 294 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
295 }; 295 };
296 296
297 } // namespace test_runner 297 } // namespace test_runner
298 298
299 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 299 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
OLDNEW
« no previous file with comments | « content/shell/test_runner/web_frame_test_client.cc ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698