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 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 class Point; | 89 class Point; |
90 class Range; | 90 class Range; |
91 class Rect; | 91 class Rect; |
92 } | 92 } |
93 | 93 |
94 namespace media { | 94 namespace media { |
95 class CdmFactory; | 95 class CdmFactory; |
96 class MediaPermission; | 96 class MediaPermission; |
97 class MediaServiceProvider; | 97 class MediaServiceProvider; |
98 class RendererWebMediaPlayerDelegate; | 98 class RendererWebMediaPlayerDelegate; |
| 99 class SurfaceManager; |
99 class UrlIndex; | 100 class UrlIndex; |
100 class WebEncryptedMediaClientImpl; | 101 class WebEncryptedMediaClientImpl; |
101 } | 102 } |
102 | 103 |
103 namespace mojo { | 104 namespace mojo { |
104 class ServiceProvider; | 105 class ServiceProvider; |
105 } | 106 } |
106 | 107 |
107 namespace url { | 108 namespace url { |
108 class Origin; | 109 class Origin; |
(...skipping 17 matching lines...) Expand all Loading... |
126 class PageState; | 127 class PageState; |
127 class PepperPluginInstanceImpl; | 128 class PepperPluginInstanceImpl; |
128 class PermissionDispatcher; | 129 class PermissionDispatcher; |
129 class PresentationDispatcher; | 130 class PresentationDispatcher; |
130 class PushMessagingDispatcher; | 131 class PushMessagingDispatcher; |
131 class RendererAccessibility; | 132 class RendererAccessibility; |
132 class RendererCdmManager; | 133 class RendererCdmManager; |
133 class RendererMediaPlayerManager; | 134 class RendererMediaPlayerManager; |
134 class RendererMediaSessionManager; | 135 class RendererMediaSessionManager; |
135 class RendererPpapiHost; | 136 class RendererPpapiHost; |
| 137 class RendererSurfaceViewManager; |
136 class RenderFrameObserver; | 138 class RenderFrameObserver; |
137 class RenderViewImpl; | 139 class RenderViewImpl; |
138 class RenderWidget; | 140 class RenderWidget; |
139 class RenderWidgetFullscreenPepper; | 141 class RenderWidgetFullscreenPepper; |
140 class ScreenOrientationDispatcher; | 142 class ScreenOrientationDispatcher; |
141 class UserMediaClientImpl; | 143 class UserMediaClientImpl; |
142 class WakeLockDispatcher; | 144 class WakeLockDispatcher; |
143 struct CommonNavigationParams; | 145 struct CommonNavigationParams; |
144 struct CustomContextMenuContext; | 146 struct CustomContextMenuContext; |
145 struct FrameReplicationState; | 147 struct FrameReplicationState; |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 | 942 |
941 #if defined(OS_ANDROID) | 943 #if defined(OS_ANDROID) |
942 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 944 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
943 blink::WebMediaPlayerClient* client, | 945 blink::WebMediaPlayerClient* client, |
944 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 946 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
945 const media::WebMediaPlayerParams& params); | 947 const media::WebMediaPlayerParams& params); |
946 | 948 |
947 RendererMediaPlayerManager* GetMediaPlayerManager(); | 949 RendererMediaPlayerManager* GetMediaPlayerManager(); |
948 | 950 |
949 RendererMediaSessionManager* GetMediaSessionManager(); | 951 RendererMediaSessionManager* GetMediaSessionManager(); |
| 952 |
| 953 media::SurfaceManager* GetSurfaceManager(); |
950 #endif | 954 #endif |
951 | 955 |
952 bool AreSecureCodecsSupported(); | 956 bool AreSecureCodecsSupported(); |
953 | 957 |
954 media::MediaPermission* GetMediaPermission(); | 958 media::MediaPermission* GetMediaPermission(); |
955 | 959 |
956 #if defined(ENABLE_MOJO_MEDIA) | 960 #if defined(ENABLE_MOJO_MEDIA) |
957 media::interfaces::ServiceFactory* GetMediaServiceFactory(); | 961 media::interfaces::ServiceFactory* GetMediaServiceFactory(); |
958 | 962 |
959 // Called when a connection error happened on |media_service_factory_|. | 963 // Called when a connection error happened on |media_service_factory_|. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 // MidiClient attached to this frame; lazily initialized. | 1119 // MidiClient attached to this frame; lazily initialized. |
1116 MidiDispatcher* midi_dispatcher_; | 1120 MidiDispatcher* midi_dispatcher_; |
1117 | 1121 |
1118 #if defined(OS_ANDROID) | 1122 #if defined(OS_ANDROID) |
1119 // Manages all media players and sessions in this render frame for | 1123 // Manages all media players and sessions in this render frame for |
1120 // communicating with the real media player and sessions in the | 1124 // communicating with the real media player and sessions in the |
1121 // browser process. It's okay to use raw pointers since they're both | 1125 // browser process. It's okay to use raw pointers since they're both |
1122 // RenderFrameObservers. | 1126 // RenderFrameObservers. |
1123 RendererMediaPlayerManager* media_player_manager_; | 1127 RendererMediaPlayerManager* media_player_manager_; |
1124 RendererMediaSessionManager* media_session_manager_; | 1128 RendererMediaSessionManager* media_session_manager_; |
| 1129 media::SurfaceManager* media_surface_manager_; |
1125 #endif | 1130 #endif |
1126 | 1131 |
1127 #if defined(ENABLE_BROWSER_CDMS) | 1132 #if defined(ENABLE_BROWSER_CDMS) |
1128 // Manage all CDMs in this render frame for communicating with the real CDM in | 1133 // Manage all CDMs in this render frame for communicating with the real CDM in |
1129 // the browser process. It's okay to use a raw pointer since it's a | 1134 // the browser process. It's okay to use a raw pointer since it's a |
1130 // RenderFrameObserver. | 1135 // RenderFrameObserver. |
1131 RendererCdmManager* cdm_manager_; | 1136 RendererCdmManager* cdm_manager_; |
1132 #endif | 1137 #endif |
1133 | 1138 |
1134 // The CDM factory attached to this frame, lazily initialized. | 1139 // The CDM factory attached to this frame, lazily initialized. |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 #endif | 1213 #endif |
1209 | 1214 |
1210 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1215 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1211 | 1216 |
1212 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1217 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1213 }; | 1218 }; |
1214 | 1219 |
1215 } // namespace content | 1220 } // namespace content |
1216 | 1221 |
1217 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1222 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |