Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1655083002: Enable SurfaceView fullscreen video on Android with WebMediaPlayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@avda-sv
Patch Set: Adressed comments; moved blink parts to another CL Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 1118
1117 #if defined(OS_ANDROID) 1119 #if defined(OS_ANDROID)
1118 // Manages all media players and sessions in this render frame for 1120 // Manages all media players and sessions in this render frame for
1119 // communicating with the real media player and sessions in the 1121 // communicating with the real media player and sessions in the
1120 // browser process. It's okay to use raw pointers since they're both 1122 // browser process. It's okay to use raw pointers since they're both
1121 // RenderFrameObservers. 1123 // RenderFrameObservers.
1122 RendererMediaPlayerManager* media_player_manager_; 1124 RendererMediaPlayerManager* media_player_manager_;
1123 RendererMediaSessionManager* media_session_manager_; 1125 RendererMediaSessionManager* media_session_manager_;
1124 #endif 1126 #endif
1125 1127
1128 media::SurfaceManager* media_surface_manager_;
1129
1126 #if defined(ENABLE_BROWSER_CDMS) 1130 #if defined(ENABLE_BROWSER_CDMS)
1127 // Manage all CDMs in this render frame for communicating with the real CDM in 1131 // Manage all CDMs in this render frame for communicating with the real CDM in
1128 // the browser process. It's okay to use a raw pointer since it's a 1132 // the browser process. It's okay to use a raw pointer since it's a
1129 // RenderFrameObserver. 1133 // RenderFrameObserver.
1130 RendererCdmManager* cdm_manager_; 1134 RendererCdmManager* cdm_manager_;
1131 #endif 1135 #endif
1132 1136
1133 // The CDM factory attached to this frame, lazily initialized. 1137 // The CDM factory attached to this frame, lazily initialized.
1134 scoped_ptr<media::CdmFactory> cdm_factory_; 1138 scoped_ptr<media::CdmFactory> cdm_factory_;
1135 1139
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 #endif 1211 #endif
1208 1212
1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1213 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1210 1214
1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1215 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1212 }; 1216 };
1213 1217
1214 } // namespace content 1218 } // namespace content
1215 1219
1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1220 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698