| 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 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 Loading... |
| 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_ |
| OLD | NEW |