OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "content/renderer/render_frame_impl.h" | 5 #include "content/renderer/render_frame_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 3017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3028 routing_id_, frame_rect, scale_factor)); | 3028 routing_id_, frame_rect, scale_factor)); |
3029 } | 3029 } |
3030 | 3030 |
3031 blink::WebScreenOrientationClient* | 3031 blink::WebScreenOrientationClient* |
3032 RenderFrameImpl::webScreenOrientationClient() { | 3032 RenderFrameImpl::webScreenOrientationClient() { |
3033 if (!screen_orientation_dispatcher_) | 3033 if (!screen_orientation_dispatcher_) |
3034 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); | 3034 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); |
3035 return screen_orientation_dispatcher_; | 3035 return screen_orientation_dispatcher_; |
3036 } | 3036 } |
3037 | 3037 |
| 3038 void RenderFrameImpl::postAccessibilityEvent(const blink::WebAXObject& obj, |
| 3039 blink::WebAXEvent event) { |
| 3040 HandleWebAccessibilityEvent(obj, event); |
| 3041 } |
| 3042 |
3038 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { | 3043 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { |
3039 Send(new FrameHostMsg_MediaPlayingNotification( | 3044 Send(new FrameHostMsg_MediaPlayingNotification( |
3040 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), | 3045 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), |
3041 player->hasAudio())); | 3046 player->hasAudio())); |
3042 } | 3047 } |
3043 | 3048 |
3044 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { | 3049 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { |
3045 Send(new FrameHostMsg_MediaPausedNotification( | 3050 Send(new FrameHostMsg_MediaPausedNotification( |
3046 routing_id_, reinterpret_cast<int64>(player))); | 3051 routing_id_, reinterpret_cast<int64>(player))); |
3047 } | 3052 } |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3723 | 3728 |
3724 #if defined(ENABLE_BROWSER_CDMS) | 3729 #if defined(ENABLE_BROWSER_CDMS) |
3725 RendererCdmManager* RenderFrameImpl::GetCdmManager() { | 3730 RendererCdmManager* RenderFrameImpl::GetCdmManager() { |
3726 if (!cdm_manager_) | 3731 if (!cdm_manager_) |
3727 cdm_manager_ = new RendererCdmManager(this); | 3732 cdm_manager_ = new RendererCdmManager(this); |
3728 return cdm_manager_; | 3733 return cdm_manager_; |
3729 } | 3734 } |
3730 #endif // defined(ENABLE_BROWSER_CDMS) | 3735 #endif // defined(ENABLE_BROWSER_CDMS) |
3731 | 3736 |
3732 } // namespace content | 3737 } // namespace content |
OLD | NEW |