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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10919075: Move android mediaplayer from render process to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments and resolving merge conflicts Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index bfb34bca25567e6362b7193b8329d0367e7cf7de..0e3f1dddb0dcabea5ecfc985a0bbd4b24336acf7 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -50,6 +50,9 @@ struct SelectedFileInfo;
namespace content {
+#if defined(OS_ANDROID)
+class MediaPlayerManagerAndroid;
+#endif
class PowerSaveBlocker;
class RenderViewHostObserver;
class RenderWidgetHostDelegate;
@@ -398,6 +401,10 @@ class CONTENT_EXPORT RenderViewHostImpl
#endif
#if defined(OS_ANDROID)
+ MediaPlayerManagerAndroid* media_player_manager() {
+ return media_player_manager_;
+ }
+
void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
void DidCancelPopupMenu();
#endif
@@ -675,6 +682,12 @@ class CONTENT_EXPORT RenderViewHostImpl
// When the last ShouldClose message was sent.
base::TimeTicks send_should_close_start_time_;
+#if defined(OS_ANDROID)
+ // Manages all the android mediaplayer objects and handling IPCs for video.
+ // This class inherits from RenderViewHostObserver.
+ MediaPlayerManagerAndroid* media_player_manager_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
};
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698