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 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3120 routing_id_, frame_rect, scale_factor)); | 3120 routing_id_, frame_rect, scale_factor)); |
3121 } | 3121 } |
3122 | 3122 |
3123 blink::WebScreenOrientationClient* | 3123 blink::WebScreenOrientationClient* |
3124 RenderFrameImpl::webScreenOrientationClient() { | 3124 RenderFrameImpl::webScreenOrientationClient() { |
3125 if (!screen_orientation_dispatcher_) | 3125 if (!screen_orientation_dispatcher_) |
3126 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); | 3126 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); |
3127 return screen_orientation_dispatcher_; | 3127 return screen_orientation_dispatcher_; |
3128 } | 3128 } |
3129 | 3129 |
| 3130 void RenderFrameImpl::postAccessibilityEvent(const blink::WebAXObject& obj, |
| 3131 blink::WebAXEvent event) { |
| 3132 HandleWebAccessibilityEvent(obj, event); |
| 3133 } |
| 3134 |
3130 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { | 3135 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { |
3131 Send(new FrameHostMsg_MediaPlayingNotification( | 3136 Send(new FrameHostMsg_MediaPlayingNotification( |
3132 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), | 3137 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), |
3133 player->hasAudio())); | 3138 player->hasAudio())); |
3134 } | 3139 } |
3135 | 3140 |
3136 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { | 3141 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { |
3137 Send(new FrameHostMsg_MediaPausedNotification( | 3142 Send(new FrameHostMsg_MediaPausedNotification( |
3138 routing_id_, reinterpret_cast<int64>(player))); | 3143 routing_id_, reinterpret_cast<int64>(player))); |
3139 } | 3144 } |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3820 | 3825 |
3821 #if defined(ENABLE_BROWSER_CDMS) | 3826 #if defined(ENABLE_BROWSER_CDMS) |
3822 RendererCdmManager* RenderFrameImpl::GetCdmManager() { | 3827 RendererCdmManager* RenderFrameImpl::GetCdmManager() { |
3823 if (!cdm_manager_) | 3828 if (!cdm_manager_) |
3824 cdm_manager_ = new RendererCdmManager(this); | 3829 cdm_manager_ = new RendererCdmManager(this); |
3825 return cdm_manager_; | 3830 return cdm_manager_; |
3826 } | 3831 } |
3827 #endif // defined(ENABLE_BROWSER_CDMS) | 3832 #endif // defined(ENABLE_BROWSER_CDMS) |
3828 | 3833 |
3829 } // namespace content | 3834 } // namespace content |
OLD | NEW |