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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "components/test_runner/mock_screen_orientation_client.h" | 9 #include "components/test_runner/mock_screen_orientation_client.h" |
10 #include "components/test_runner/web_test_delegate.h" | 10 #include "components/test_runner/web_test_delegate.h" |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 return Base::willCheckAndDispatchMessageEvent( | 267 return Base::willCheckAndDispatchMessageEvent( |
268 source_frame, target_frame, target, event); | 268 source_frame, target_frame, target, event); |
269 } | 269 } |
270 | 270 |
271 virtual void postAccessibilityEvent(const blink::WebAXObject& object, | 271 virtual void postAccessibilityEvent(const blink::WebAXObject& object, |
272 blink::WebAXEvent event) { | 272 blink::WebAXEvent event) { |
273 base_proxy_->PostAccessibilityEvent(object, event); | 273 base_proxy_->PostAccessibilityEvent(object, event); |
274 Base::postAccessibilityEvent(object, event); | 274 Base::postAccessibilityEvent(object, event); |
275 } | 275 } |
276 | 276 |
| 277 virtual void checkIfAudioSinkExistsAndIsAuthorized( |
| 278 const blink::WebString& sink_id, |
| 279 const blink::WebSecurityOrigin& security_origin, |
| 280 blink::WebSetSinkIdCallbacks* web_callbacks) { |
| 281 base_proxy_->CheckIfAudioSinkExistsAndIsAuthorized(sink_id, security_origin, |
| 282 web_callbacks); |
| 283 } |
| 284 |
277 private: | 285 private: |
278 WebTestProxyBase* base_proxy_; | 286 WebTestProxyBase* base_proxy_; |
279 | 287 |
280 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 288 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
281 }; | 289 }; |
282 | 290 |
283 } // namespace test_runner | 291 } // namespace test_runner |
284 | 292 |
285 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 293 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
OLD | NEW |