Chromium Code Reviews| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 class NavigationState; | 110 class NavigationState; |
| 111 class NotificationPermissionDispatcher; | 111 class NotificationPermissionDispatcher; |
| 112 class PageState; | 112 class PageState; |
| 113 class PepperPluginInstanceImpl; | 113 class PepperPluginInstanceImpl; |
| 114 class PermissionDispatcher; | 114 class PermissionDispatcher; |
| 115 class PresentationDispatcher; | 115 class PresentationDispatcher; |
| 116 class PushMessagingDispatcher; | 116 class PushMessagingDispatcher; |
| 117 class RendererAccessibility; | 117 class RendererAccessibility; |
| 118 class RendererCdmManager; | 118 class RendererCdmManager; |
| 119 class RendererMediaPlayerManager; | 119 class RendererMediaPlayerManager; |
| 120 class RendererMediaSessionManager; | |
| 120 class RendererPpapiHost; | 121 class RendererPpapiHost; |
| 121 class RenderFrameObserver; | 122 class RenderFrameObserver; |
| 122 class RenderViewImpl; | 123 class RenderViewImpl; |
| 123 class RenderWidget; | 124 class RenderWidget; |
| 124 class RenderWidgetFullscreenPepper; | 125 class RenderWidgetFullscreenPepper; |
| 125 class ScreenOrientationDispatcher; | 126 class ScreenOrientationDispatcher; |
| 126 class UserMediaClientImpl; | 127 class UserMediaClientImpl; |
| 127 class WakeLockDispatcher; | 128 class WakeLockDispatcher; |
| 128 struct CommonNavigationParams; | 129 struct CommonNavigationParams; |
| 129 struct CustomContextMenuContext; | 130 struct CustomContextMenuContext; |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 869 // the value of |pending_navigation_params_|. | 870 // the value of |pending_navigation_params_|. |
| 870 void UpdateNavigationState(DocumentState* document_state); | 871 void UpdateNavigationState(DocumentState* document_state); |
| 871 | 872 |
| 872 #if defined(OS_ANDROID) | 873 #if defined(OS_ANDROID) |
| 873 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 874 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
| 874 blink::WebMediaPlayerClient* client, | 875 blink::WebMediaPlayerClient* client, |
| 875 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 876 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 876 const media::WebMediaPlayerParams& params); | 877 const media::WebMediaPlayerParams& params); |
| 877 | 878 |
| 878 RendererMediaPlayerManager* GetMediaPlayerManager(); | 879 RendererMediaPlayerManager* GetMediaPlayerManager(); |
| 880 | |
| 881 RendererMediaSessionManager* GetMediaSessionManager(); | |
| 879 #endif | 882 #endif |
| 880 | 883 |
| 881 bool AreSecureCodecsSupported(); | 884 bool AreSecureCodecsSupported(); |
| 882 | 885 |
| 883 media::MediaPermission* GetMediaPermission(); | 886 media::MediaPermission* GetMediaPermission(); |
| 884 | 887 |
| 885 #if defined(ENABLE_MOJO_MEDIA) | 888 #if defined(ENABLE_MOJO_MEDIA) |
| 886 media::interfaces::ServiceFactory* GetMediaServiceFactory(); | 889 media::interfaces::ServiceFactory* GetMediaServiceFactory(); |
| 887 | 890 |
| 888 // Called when a connection error happened on |media_service_factory_|. | 891 // Called when a connection error happened on |media_service_factory_|. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1006 | 1009 |
| 1007 #if defined(ENABLE_MOJO_MEDIA) | 1010 #if defined(ENABLE_MOJO_MEDIA) |
| 1008 // The media factory attached to this frame, lazily initialized. | 1011 // The media factory attached to this frame, lazily initialized. |
| 1009 media::interfaces::ServiceFactoryPtr media_service_factory_; | 1012 media::interfaces::ServiceFactoryPtr media_service_factory_; |
| 1010 #endif | 1013 #endif |
| 1011 | 1014 |
| 1012 // MidiClient attached to this frame; lazily initialized. | 1015 // MidiClient attached to this frame; lazily initialized. |
| 1013 MidiDispatcher* midi_dispatcher_; | 1016 MidiDispatcher* midi_dispatcher_; |
| 1014 | 1017 |
| 1015 #if defined(OS_ANDROID) | 1018 #if defined(OS_ANDROID) |
| 1016 // Manages all media players in this render frame for communicating with the | 1019 // Manages all media players and sessions in this render frame for |
| 1017 // real media player in the browser process. It's okay to use a raw pointer | 1020 // communicating with the real media player and sessions in the |
| 1018 // since it's a RenderFrameObserver. | 1021 // browser process. It's okay to use raw pointers since they're both |
| 1022 // RenderFrameObserver. | |
|
philipj_slow
2015/11/16 14:06:21
Plural?
davve
2015/11/16 14:34:27
Done.
| |
| 1019 RendererMediaPlayerManager* media_player_manager_; | 1023 RendererMediaPlayerManager* media_player_manager_; |
| 1024 RendererMediaSessionManager* media_session_manager_; | |
| 1020 #endif | 1025 #endif |
| 1021 | 1026 |
| 1022 #if defined(ENABLE_BROWSER_CDMS) | 1027 #if defined(ENABLE_BROWSER_CDMS) |
| 1023 // Manage all CDMs in this render frame for communicating with the real CDM in | 1028 // Manage all CDMs in this render frame for communicating with the real CDM in |
| 1024 // the browser process. It's okay to use a raw pointer since it's a | 1029 // the browser process. It's okay to use a raw pointer since it's a |
| 1025 // RenderFrameObserver. | 1030 // RenderFrameObserver. |
| 1026 RendererCdmManager* cdm_manager_; | 1031 RendererCdmManager* cdm_manager_; |
| 1027 #endif | 1032 #endif |
| 1028 | 1033 |
| 1029 // The CDM factory attached to this frame, lazily initialized. | 1034 // The CDM factory attached to this frame, lazily initialized. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1097 #endif | 1102 #endif |
| 1098 | 1103 |
| 1099 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1104 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1100 | 1105 |
| 1101 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1106 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1102 }; | 1107 }; |
| 1103 | 1108 |
| 1104 } // namespace content | 1109 } // namespace content |
| 1105 | 1110 |
| 1106 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1111 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |