| 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/public/renderer/render_view_observer.h" | 13 #include "content/public/renderer/render_view_observer.h" |
| 14 #include "googleurl/src/gurl.h" | |
| 15 #include "media/base/android/demuxer_stream_player_params.h" | 14 #include "media/base/android/demuxer_stream_player_params.h" |
| 16 #include "media/base/android/media_player_android.h" | 15 #include "media/base/android/media_player_android.h" |
| 17 #include "media/base/media_keys.h" | 16 #include "media/base/media_keys.h" |
| 17 #include "url/gurl.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class WebMediaPlayerAndroid; | 20 class WebMediaPlayerAndroid; |
| 21 class WebMediaPlayerManagerAndroid; | 21 class WebMediaPlayerManagerAndroid; |
| 22 | 22 |
| 23 // This class manages IPC communication between WebMediaPlayerAndroid and the | 23 // This class manages IPC communication between WebMediaPlayerAndroid and the |
| 24 // MediaPlayerManagerAndroid in the browser process. | 24 // MediaPlayerManagerAndroid in the browser process. |
| 25 class WebMediaPlayerProxyAndroid : public RenderViewObserver { | 25 class WebMediaPlayerProxyAndroid : public RenderViewObserver { |
| 26 public: | 26 public: |
| 27 // Construct a WebMediaPlayerProxyAndroid object for the |render_view|. | 27 // Construct a WebMediaPlayerProxyAndroid object for the |render_view|. |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 const std::string& destination_url); | 127 const std::string& destination_url); |
| 128 | 128 |
| 129 WebMediaPlayerManagerAndroid* manager_; | 129 WebMediaPlayerManagerAndroid* manager_; |
| 130 | 130 |
| 131 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); | 131 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace content | 134 } // namespace content |
| 135 | 135 |
| 136 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 136 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| OLD | NEW |