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 3163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3174 routing_id_, frame_rect, scale_factor)); | 3174 routing_id_, frame_rect, scale_factor)); |
3175 } | 3175 } |
3176 | 3176 |
3177 blink::WebScreenOrientationClient* | 3177 blink::WebScreenOrientationClient* |
3178 RenderFrameImpl::webScreenOrientationClient() { | 3178 RenderFrameImpl::webScreenOrientationClient() { |
3179 if (!screen_orientation_dispatcher_) | 3179 if (!screen_orientation_dispatcher_) |
3180 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); | 3180 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); |
3181 return screen_orientation_dispatcher_; | 3181 return screen_orientation_dispatcher_; |
3182 } | 3182 } |
3183 | 3183 |
| 3184 void RenderFrameImpl::postAccessibilityEvent(const blink::WebAXObject& obj, |
| 3185 blink::WebAXEvent event) { |
| 3186 HandleWebAccessibilityEvent(obj, event); |
| 3187 } |
| 3188 |
3184 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { | 3189 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { |
3185 Send(new FrameHostMsg_MediaPlayingNotification( | 3190 Send(new FrameHostMsg_MediaPlayingNotification( |
3186 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), | 3191 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), |
3187 player->hasAudio())); | 3192 player->hasAudio())); |
3188 } | 3193 } |
3189 | 3194 |
3190 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { | 3195 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { |
3191 Send(new FrameHostMsg_MediaPausedNotification( | 3196 Send(new FrameHostMsg_MediaPausedNotification( |
3192 routing_id_, reinterpret_cast<int64>(player))); | 3197 routing_id_, reinterpret_cast<int64>(player))); |
3193 } | 3198 } |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3874 | 3879 |
3875 #if defined(ENABLE_BROWSER_CDMS) | 3880 #if defined(ENABLE_BROWSER_CDMS) |
3876 RendererCdmManager* RenderFrameImpl::GetCdmManager() { | 3881 RendererCdmManager* RenderFrameImpl::GetCdmManager() { |
3877 if (!cdm_manager_) | 3882 if (!cdm_manager_) |
3878 cdm_manager_ = new RendererCdmManager(this); | 3883 cdm_manager_ = new RendererCdmManager(this); |
3879 return cdm_manager_; | 3884 return cdm_manager_; |
3880 } | 3885 } |
3881 #endif // defined(ENABLE_BROWSER_CDMS) | 3886 #endif // defined(ENABLE_BROWSER_CDMS) |
3882 | 3887 |
3883 } // namespace content | 3888 } // namespace content |
OLD | NEW |