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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1436243002: Add render-side manager for MediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moar tests Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index fd5fb08671c24d618ef0dddf151b4958a61659fd..ef664a3a812c1685cd3b497493019bd3feace13c 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -117,6 +117,7 @@ class PushMessagingDispatcher;
class RendererAccessibility;
class RendererCdmManager;
class RendererMediaPlayerManager;
+class RendererMediaSessionManager;
class RendererPpapiHost;
class RenderFrameObserver;
class RenderViewImpl;
@@ -876,6 +877,8 @@ class CONTENT_EXPORT RenderFrameImpl
const media::WebMediaPlayerParams& params);
RendererMediaPlayerManager* GetMediaPlayerManager();
+
+ RendererMediaSessionManager* GetMediaSessionManager();
#endif
bool AreSecureCodecsSupported();
@@ -1013,10 +1016,12 @@ class CONTENT_EXPORT RenderFrameImpl
MidiDispatcher* midi_dispatcher_;
#if defined(OS_ANDROID)
- // Manages all media players in this render frame for communicating with the
- // real media player in the browser process. It's okay to use a raw pointer
- // since it's a RenderFrameObserver.
+ // Manages all media players and sessions in this render frame for
+ // communicating with the real media player and sessions in the
+ // browser process. It's okay to use raw pointers since they're both
+ // RenderFrameObservers.
RendererMediaPlayerManager* media_player_manager_;
+ RendererMediaSessionManager* media_session_manager_;
#endif
#if defined(ENABLE_BROWSER_CDMS)
« no previous file with comments | « content/renderer/media/android/webmediasession_android_unittest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698