| 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_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ | 6 #define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "ui/gfx/geometry/rect_f.h" | 21 #include "ui/gfx/geometry/rect_f.h" |
| 22 #include "ui/gl/android/scoped_java_surface.h" | 22 #include "ui/gl/android/scoped_java_surface.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 struct MediaPlayerHostMsg_Initialize_Params; | 25 struct MediaPlayerHostMsg_Initialize_Params; |
| 26 | 26 |
| 27 namespace content { | 27 namespace content { |
| 28 #if !defined(USE_AURA) | 28 #if !defined(USE_AURA) |
| 29 class ContentViewCore; | 29 class ContentViewCore; |
| 30 #endif | 30 #endif |
| 31 class ExternalVideoSurfaceContainer; | |
| 32 class RenderFrameHost; | 31 class RenderFrameHost; |
| 33 class WebContents; | 32 class WebContents; |
| 34 | 33 |
| 35 // This class manages all the MediaPlayerAndroid objects. | 34 // This class manages all the MediaPlayerAndroid objects. |
| 36 // It receives control operations from the the render process, and forwards | 35 // It receives control operations from the the render process, and forwards |
| 37 // them to corresponding MediaPlayerAndroid object. Callbacks from | 36 // them to corresponding MediaPlayerAndroid object. Callbacks from |
| 38 // MediaPlayerAndroid objects are converted to IPCs and then sent to the render | 37 // MediaPlayerAndroid objects are converted to IPCs and then sent to the render |
| 39 // process. | 38 // process. |
| 40 class CONTENT_EXPORT BrowserMediaPlayerManager | 39 class CONTENT_EXPORT BrowserMediaPlayerManager |
| 41 : public media::MediaPlayerManager, | 40 : public media::MediaPlayerManager, |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 206 |
| 208 // NOTE: Weak pointers must be invalidated before all other member variables. | 207 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 209 base::WeakPtrFactory<BrowserMediaPlayerManager> weak_ptr_factory_; | 208 base::WeakPtrFactory<BrowserMediaPlayerManager> weak_ptr_factory_; |
| 210 | 209 |
| 211 DISALLOW_COPY_AND_ASSIGN(BrowserMediaPlayerManager); | 210 DISALLOW_COPY_AND_ASSIGN(BrowserMediaPlayerManager); |
| 212 }; | 211 }; |
| 213 | 212 |
| 214 } // namespace content | 213 } // namespace content |
| 215 | 214 |
| 216 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ | 215 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_PLAYER_MANAGER_H_ |
| OLD | NEW |