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 3028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3039 routing_id_, frame_rect, scale_factor)); | 3039 routing_id_, frame_rect, scale_factor)); |
3040 } | 3040 } |
3041 | 3041 |
3042 blink::WebScreenOrientationClient* | 3042 blink::WebScreenOrientationClient* |
3043 RenderFrameImpl::webScreenOrientationClient() { | 3043 RenderFrameImpl::webScreenOrientationClient() { |
3044 if (!screen_orientation_dispatcher_) | 3044 if (!screen_orientation_dispatcher_) |
3045 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); | 3045 screen_orientation_dispatcher_ = new ScreenOrientationDispatcher(this); |
3046 return screen_orientation_dispatcher_; | 3046 return screen_orientation_dispatcher_; |
3047 } | 3047 } |
3048 | 3048 |
| 3049 void RenderFrameImpl::postAccessibilityEvent(const blink::WebAXObject& obj, |
| 3050 blink::WebAXEvent event) { |
| 3051 HandleWebAccessibilityEvent(obj, event); |
| 3052 } |
| 3053 |
3049 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { | 3054 void RenderFrameImpl::DidPlay(blink::WebMediaPlayer* player) { |
3050 Send(new FrameHostMsg_MediaPlayingNotification( | 3055 Send(new FrameHostMsg_MediaPlayingNotification( |
3051 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), | 3056 routing_id_, reinterpret_cast<int64>(player), player->hasVideo(), |
3052 player->hasAudio())); | 3057 player->hasAudio())); |
3053 } | 3058 } |
3054 | 3059 |
3055 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { | 3060 void RenderFrameImpl::DidPause(blink::WebMediaPlayer* player) { |
3056 Send(new FrameHostMsg_MediaPausedNotification( | 3061 Send(new FrameHostMsg_MediaPausedNotification( |
3057 routing_id_, reinterpret_cast<int64>(player))); | 3062 routing_id_, reinterpret_cast<int64>(player))); |
3058 } | 3063 } |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3734 | 3739 |
3735 #if defined(ENABLE_BROWSER_CDMS) | 3740 #if defined(ENABLE_BROWSER_CDMS) |
3736 RendererCdmManager* RenderFrameImpl::GetCdmManager() { | 3741 RendererCdmManager* RenderFrameImpl::GetCdmManager() { |
3737 if (!cdm_manager_) | 3742 if (!cdm_manager_) |
3738 cdm_manager_ = new RendererCdmManager(this); | 3743 cdm_manager_ = new RendererCdmManager(this); |
3739 return cdm_manager_; | 3744 return cdm_manager_; |
3740 } | 3745 } |
3741 #endif // defined(ENABLE_BROWSER_CDMS) | 3746 #endif // defined(ENABLE_BROWSER_CDMS) |
3742 | 3747 |
3743 } // namespace content | 3748 } // namespace content |
OLD | NEW |