| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 class NavigationState; | 111 class NavigationState; |
| 112 class NotificationPermissionDispatcher; | 112 class NotificationPermissionDispatcher; |
| 113 class PageState; | 113 class PageState; |
| 114 class PepperPluginInstanceImpl; | 114 class PepperPluginInstanceImpl; |
| 115 class PermissionDispatcher; | 115 class PermissionDispatcher; |
| 116 class PresentationDispatcher; | 116 class PresentationDispatcher; |
| 117 class PushMessagingDispatcher; | 117 class PushMessagingDispatcher; |
| 118 class RendererAccessibility; | 118 class RendererAccessibility; |
| 119 class RendererCdmManager; | 119 class RendererCdmManager; |
| 120 class RendererMediaPlayerManager; | 120 class RendererMediaPlayerManager; |
| 121 class RendererMediaSessionManager; |
| 121 class RendererPpapiHost; | 122 class RendererPpapiHost; |
| 122 class RenderFrameObserver; | 123 class RenderFrameObserver; |
| 123 class RenderViewImpl; | 124 class RenderViewImpl; |
| 124 class RenderWidget; | 125 class RenderWidget; |
| 125 class RenderWidgetFullscreenPepper; | 126 class RenderWidgetFullscreenPepper; |
| 126 class ScreenOrientationDispatcher; | 127 class ScreenOrientationDispatcher; |
| 127 class UserMediaClientImpl; | 128 class UserMediaClientImpl; |
| 128 class WakeLockDispatcher; | 129 class WakeLockDispatcher; |
| 129 struct CommonNavigationParams; | 130 struct CommonNavigationParams; |
| 130 struct CustomContextMenuContext; | 131 struct CustomContextMenuContext; |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 // the value of |pending_navigation_params_|. | 875 // the value of |pending_navigation_params_|. |
| 875 void UpdateNavigationState(DocumentState* document_state); | 876 void UpdateNavigationState(DocumentState* document_state); |
| 876 | 877 |
| 877 #if defined(OS_ANDROID) | 878 #if defined(OS_ANDROID) |
| 878 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 879 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
| 879 blink::WebMediaPlayerClient* client, | 880 blink::WebMediaPlayerClient* client, |
| 880 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 881 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 881 const media::WebMediaPlayerParams& params); | 882 const media::WebMediaPlayerParams& params); |
| 882 | 883 |
| 883 RendererMediaPlayerManager* GetMediaPlayerManager(); | 884 RendererMediaPlayerManager* GetMediaPlayerManager(); |
| 885 |
| 886 RendererMediaSessionManager* GetMediaSessionManager(); |
| 884 #endif | 887 #endif |
| 885 | 888 |
| 886 bool AreSecureCodecsSupported(); | 889 bool AreSecureCodecsSupported(); |
| 887 | 890 |
| 888 media::MediaPermission* GetMediaPermission(); | 891 media::MediaPermission* GetMediaPermission(); |
| 889 | 892 |
| 890 #if defined(ENABLE_MOJO_MEDIA) | 893 #if defined(ENABLE_MOJO_MEDIA) |
| 891 media::interfaces::ServiceFactory* GetMediaServiceFactory(); | 894 media::interfaces::ServiceFactory* GetMediaServiceFactory(); |
| 892 | 895 |
| 893 // Called when a connection error happened on |media_service_factory_|. | 896 // Called when a connection error happened on |media_service_factory_|. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 | 1014 |
| 1012 #if defined(ENABLE_MOJO_MEDIA) | 1015 #if defined(ENABLE_MOJO_MEDIA) |
| 1013 // The media factory attached to this frame, lazily initialized. | 1016 // The media factory attached to this frame, lazily initialized. |
| 1014 media::interfaces::ServiceFactoryPtr media_service_factory_; | 1017 media::interfaces::ServiceFactoryPtr media_service_factory_; |
| 1015 #endif | 1018 #endif |
| 1016 | 1019 |
| 1017 // MidiClient attached to this frame; lazily initialized. | 1020 // MidiClient attached to this frame; lazily initialized. |
| 1018 MidiDispatcher* midi_dispatcher_; | 1021 MidiDispatcher* midi_dispatcher_; |
| 1019 | 1022 |
| 1020 #if defined(OS_ANDROID) | 1023 #if defined(OS_ANDROID) |
| 1021 // Manages all media players in this render frame for communicating with the | 1024 // Manages all media players and sessions in this render frame for |
| 1022 // real media player in the browser process. It's okay to use a raw pointer | 1025 // communicating with the real media player and sessions in the |
| 1023 // since it's a RenderFrameObserver. | 1026 // browser process. It's okay to use raw pointers since they're both |
| 1027 // RenderFrameObservers. |
| 1024 RendererMediaPlayerManager* media_player_manager_; | 1028 RendererMediaPlayerManager* media_player_manager_; |
| 1029 RendererMediaSessionManager* media_session_manager_; |
| 1025 #endif | 1030 #endif |
| 1026 | 1031 |
| 1027 #if defined(ENABLE_BROWSER_CDMS) | 1032 #if defined(ENABLE_BROWSER_CDMS) |
| 1028 // Manage all CDMs in this render frame for communicating with the real CDM in | 1033 // Manage all CDMs in this render frame for communicating with the real CDM in |
| 1029 // the browser process. It's okay to use a raw pointer since it's a | 1034 // the browser process. It's okay to use a raw pointer since it's a |
| 1030 // RenderFrameObserver. | 1035 // RenderFrameObserver. |
| 1031 RendererCdmManager* cdm_manager_; | 1036 RendererCdmManager* cdm_manager_; |
| 1032 #endif | 1037 #endif |
| 1033 | 1038 |
| 1034 // The CDM factory attached to this frame, lazily initialized. | 1039 // The CDM factory attached to this frame, lazily initialized. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 #endif | 1107 #endif |
| 1103 | 1108 |
| 1104 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1109 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1105 | 1110 |
| 1106 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1111 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1107 }; | 1112 }; |
| 1108 | 1113 |
| 1109 } // namespace content | 1114 } // namespace content |
| 1110 | 1115 |
| 1111 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1116 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |