| OLD | NEW |
| 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 <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 const blink::WebSecurityOrigin& security_origin, | 284 const blink::WebSecurityOrigin& security_origin, |
| 285 blink::WebSetSinkIdCallbacks* web_callbacks) override { | 285 blink::WebSetSinkIdCallbacks* web_callbacks) override { |
| 286 test_client()->checkIfAudioSinkExistsAndIsAuthorized( | 286 test_client()->checkIfAudioSinkExistsAndIsAuthorized( |
| 287 sink_id, security_origin, web_callbacks); | 287 sink_id, security_origin, web_callbacks); |
| 288 } | 288 } |
| 289 | 289 |
| 290 void didClearWindowObject(blink::WebLocalFrame* frame) override { | 290 void didClearWindowObject(blink::WebLocalFrame* frame) override { |
| 291 test_client()->didClearWindowObject(frame); | 291 test_client()->didClearWindowObject(frame); |
| 292 Base::didClearWindowObject(frame); | 292 Base::didClearWindowObject(frame); |
| 293 } | 293 } |
| 294 bool runFileChooser(const blink::WebFileChooserParams& params, |
| 295 blink::WebFileChooserCompletion* completion) override { |
| 296 return test_client()->runFileChooser(params, completion); |
| 297 } |
| 294 | 298 |
| 295 private: | 299 private: |
| 296 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 300 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
| 297 }; | 301 }; |
| 298 | 302 |
| 299 } // namespace test_runner | 303 } // namespace test_runner |
| 300 | 304 |
| 301 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 305 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| OLD | NEW |