OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "webkit/media/android/webmediaplayer_in_process_android.h" | 5 #include "webkit/media/android/webmediaplayer_in_process_android.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "media/base/android/media_player_bridge.h" | 10 #include "media/base/android/media_player_bridge.h" |
11 #include "media/base/android/media_player_bridge_manager.h" | 11 #include "media/base/android/media_player_bridge_manager.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebCookieJar.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.
h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient.
h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCookieJar
.h" | |
16 #include "webkit/media/android/stream_texture_factory_android.h" | 16 #include "webkit/media/android/stream_texture_factory_android.h" |
17 #include "webkit/media/android/webmediaplayer_manager_android.h" | 17 #include "webkit/media/android/webmediaplayer_manager_android.h" |
18 | 18 |
19 using WebKit::WebMediaPlayerClient; | 19 using WebKit::WebMediaPlayerClient; |
20 using WebKit::WebMediaPlayer; | 20 using WebKit::WebMediaPlayer; |
21 using WebKit::WebURL; | 21 using WebKit::WebURL; |
22 using media::MediaPlayerBridge; | 22 using media::MediaPlayerBridge; |
23 | 23 |
24 namespace webkit_media { | 24 namespace webkit_media { |
25 | 25 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 UpdateReadyState(WebMediaPlayer::ReadyStateHaveMetadata); | 174 UpdateReadyState(WebMediaPlayer::ReadyStateHaveMetadata); |
175 UpdateReadyState(WebMediaPlayer::ReadyStateHaveEnoughData); | 175 UpdateReadyState(WebMediaPlayer::ReadyStateHaveEnoughData); |
176 } | 176 } |
177 | 177 |
178 void WebMediaPlayerInProcessAndroid::OnTimeUpdate( | 178 void WebMediaPlayerInProcessAndroid::OnTimeUpdate( |
179 base::TimeDelta current_time) {} | 179 base::TimeDelta current_time) {} |
180 | 180 |
181 void WebMediaPlayerInProcessAndroid::Destroy() {} | 181 void WebMediaPlayerInProcessAndroid::Destroy() {} |
182 | 182 |
183 } // namespace webkit_media | 183 } // namespace webkit_media |
OLD | NEW |