| 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 <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 } | 279 } |
| 280 | 280 |
| 281 void checkIfAudioSinkExistsAndIsAuthorized( | 281 void checkIfAudioSinkExistsAndIsAuthorized( |
| 282 const blink::WebString& sink_id, | 282 const blink::WebString& sink_id, |
| 283 const blink::WebSecurityOrigin& security_origin, | 283 const blink::WebSecurityOrigin& security_origin, |
| 284 blink::WebSetSinkIdCallbacks* web_callbacks) override { | 284 blink::WebSetSinkIdCallbacks* web_callbacks) override { |
| 285 test_client()->checkIfAudioSinkExistsAndIsAuthorized( | 285 test_client()->checkIfAudioSinkExistsAndIsAuthorized( |
| 286 sink_id, security_origin, web_callbacks); | 286 sink_id, security_origin, web_callbacks); |
| 287 } | 287 } |
| 288 | 288 |
| 289 void didClearWindowObject(blink::WebLocalFrame* frame) override { |
| 290 test_client()->didClearWindowObject(frame); |
| 291 Base::didClearWindowObject(frame); |
| 292 } |
| 293 |
| 289 private: | 294 private: |
| 290 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 295 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
| 291 }; | 296 }; |
| 292 | 297 |
| 293 } // namespace test_runner | 298 } // namespace test_runner |
| 294 | 299 |
| 295 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 300 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
| OLD | NEW |