Chromium Code Reviews| 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 940ba020bf39ae745fac7520c62af023fa3a9167..54e065eed9c84f022161324c7351409bf7b3db71 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; |
| @@ -386,6 +389,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 |
| @@ -663,6 +670,13 @@ 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, it will get deleted when |
|
jam
2012/09/19 01:47:14
skip this last sentence (see my other comments on
qinmin
2012/09/19 17:36:21
Done.
|
| + // RenderViewHost is gone. |
| + MediaPlayerManagerAndroid* media_player_manager_; |
| +#endif |
| + |
| DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| }; |