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 WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_MANAGER_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_MANAGER_ANDROID_H_ |
6 #define WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_MANAGER_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_MANAGER_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 | 11 |
12 namespace WebKit { | 12 namespace WebKit { |
13 class WebFrame; | 13 class WebFrame; |
14 } | 14 } |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class RectF; | 17 class RectF; |
18 } | 18 } |
19 | 19 |
20 namespace webkit_media { | 20 namespace content { |
21 | 21 |
22 class WebMediaPlayerAndroid; | 22 class WebMediaPlayerAndroid; |
23 | 23 |
24 // Class for managing all the WebMediaPlayerAndroid objects in the same | 24 // Class for managing all the WebMediaPlayerAndroid objects in the same |
25 // RenderView. | 25 // RenderView. |
26 class WebMediaPlayerManagerAndroid { | 26 class WebMediaPlayerManagerAndroid { |
27 public: | 27 public: |
28 WebMediaPlayerManagerAndroid(); | 28 WebMediaPlayerManagerAndroid(); |
29 virtual ~WebMediaPlayerManagerAndroid(); | 29 virtual ~WebMediaPlayerManagerAndroid(); |
30 | 30 |
(...skipping 29 matching lines...) Expand all Loading... |
60 std::map<int, WebMediaPlayerAndroid*> media_players_; | 60 std::map<int, WebMediaPlayerAndroid*> media_players_; |
61 | 61 |
62 int next_media_player_id_; | 62 int next_media_player_id_; |
63 | 63 |
64 // WebFrame of the fullscreen video. | 64 // WebFrame of the fullscreen video. |
65 WebKit::WebFrame* fullscreen_frame_; | 65 WebKit::WebFrame* fullscreen_frame_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerManagerAndroid); | 67 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerManagerAndroid); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace webkit_media | 70 } // namespace content |
71 | 71 |
72 #endif // WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_MANAGER_ANDROID_H_ | 72 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_MANAGER_ANDROID_H_ |
OLD | NEW |