| 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_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "content/common/media/media_player_messages_enums_android.h" | 13 #include "content/common/media/media_player_messages_enums_android.h" |
| 14 #include "content/public/renderer/render_view_observer.h" | 14 #include "content/public/renderer/render_view_observer.h" |
| 15 #include "media/base/android/media_player_android.h" | 15 #include "media/base/android/media_player_android.h" |
| 16 #include "media/base/media_keys.h" | 16 #include "media/base/media_keys.h" |
| 17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 18 | 18 |
| 19 #if defined(GOOGLE_TV) |
| 20 #include "ui/gfx/rect_f.h" |
| 21 #endif |
| 22 |
| 19 namespace content { | 23 namespace content { |
| 20 | 24 |
| 21 class RendererDemuxerAndroid; | 25 class RendererDemuxerAndroid; |
| 22 class RendererMediaPlayerManager; | 26 class RendererMediaPlayerManager; |
| 23 class WebMediaPlayerAndroid; | 27 class WebMediaPlayerAndroid; |
| 24 | 28 |
| 25 // This class manages IPC communication between WebMediaPlayerAndroid and the | 29 // This class manages IPC communication between WebMediaPlayerAndroid and the |
| 26 // MediaPlayerManagerAndroid in the browser process. | 30 // MediaPlayerManagerAndroid in the browser process. |
| 27 class WebMediaPlayerProxyAndroid : public RenderViewObserver { | 31 class WebMediaPlayerProxyAndroid : public RenderViewObserver { |
| 28 public: | 32 public: |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 RendererDemuxerAndroid* renderer_demuxer_android_; | 128 RendererDemuxerAndroid* renderer_demuxer_android_; |
| 125 | 129 |
| 126 RendererMediaPlayerManager* manager_; | 130 RendererMediaPlayerManager* manager_; |
| 127 | 131 |
| 128 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); | 132 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); |
| 129 }; | 133 }; |
| 130 | 134 |
| 131 } // namespace content | 135 } // namespace content |
| 132 | 136 |
| 133 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 137 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| OLD | NEW |