| 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_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "cc/layers/video_frame_provider.h" | 18 #include "cc/layers/video_frame_provider.h" |
| 19 #include "content/common/media/media_player_messages_enums_android.h" | 19 #include "content/common/media/media_player_messages_enums_android.h" |
| 20 #include "content/renderer/media/android/media_info_loader.h" | 20 #include "content/renderer/media/android/media_info_loader.h" |
| 21 #include "content/renderer/media/android/media_source_delegate.h" | 21 #include "content/renderer/media/android/media_source_delegate.h" |
| 22 #include "content/renderer/media/android/stream_texture_factory_android.h" | 22 #include "content/renderer/media/android/stream_texture_factory_android.h" |
| 23 #include "content/renderer/media/crypto/proxy_decryptor.h" | 23 #include "content/renderer/media/crypto/proxy_decryptor.h" |
| 24 #include "gpu/command_buffer/common/mailbox.h" | 24 #include "gpu/command_buffer/common/mailbox.h" |
| 25 #include "media/base/android/media_player_android.h" | 25 #include "media/base/android/media_player_android.h" |
| 26 #include "media/base/demuxer_stream.h" | 26 #include "media/base/demuxer_stream.h" |
| 27 #include "media/base/media_keys.h" | 27 #include "media/base/media_keys.h" |
| 28 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 28 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 29 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
| 29 #include "third_party/WebKit/public/platform/WebSize.h" | 30 #include "third_party/WebKit/public/platform/WebSize.h" |
| 30 #include "third_party/WebKit/public/platform/WebURL.h" | 31 #include "third_party/WebKit/public/platform/WebURL.h" |
| 31 #include "third_party/WebKit/public/web/WebMediaPlayer.h" | |
| 32 #include "ui/gfx/rect_f.h" | 32 #include "ui/gfx/rect_f.h" |
| 33 | 33 |
| 34 namespace media { | 34 namespace media { |
| 35 class Demuxer; | 35 class Demuxer; |
| 36 class MediaLog; | 36 class MediaLog; |
| 37 } | 37 } |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 class WebFrame; | 40 class WebFrame; |
| 41 } | 41 } |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 scoped_ptr<ProxyDecryptor> decryptor_; | 447 scoped_ptr<ProxyDecryptor> decryptor_; |
| 448 | 448 |
| 449 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; | 449 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; |
| 450 | 450 |
| 451 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); | 451 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); |
| 452 }; | 452 }; |
| 453 | 453 |
| 454 } // namespace content | 454 } // namespace content |
| 455 | 455 |
| 456 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ | 456 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ |
| OLD | NEW |