| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "third_party/WebKit/public/platform/WebSize.h" | 31 #include "third_party/WebKit/public/platform/WebSize.h" |
| 32 #include "third_party/WebKit/public/platform/WebURL.h" | 32 #include "third_party/WebKit/public/platform/WebURL.h" |
| 33 #include "ui/gfx/geometry/rect_f.h" | 33 #include "ui/gfx/geometry/rect_f.h" |
| 34 | 34 |
| 35 namespace base { | 35 namespace base { |
| 36 class SingleThreadTaskRunner; | 36 class SingleThreadTaskRunner; |
| 37 } | 37 } |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 class WebContentDecryptionModule; | 40 class WebContentDecryptionModule; |
| 41 class WebContentDecryptionModuleResult; | |
| 42 class WebFrame; | 41 class WebFrame; |
| 43 class WebMediaPlayerClient; | 42 class WebMediaPlayerClient; |
| 44 class WebMediaPlayerEncryptedMediaClient; | 43 class WebMediaPlayerEncryptedMediaClient; |
| 45 class WebURL; | 44 class WebURL; |
| 46 } | 45 } |
| 47 | 46 |
| 48 namespace cc_blink { | 47 namespace cc_blink { |
| 49 class WebLayerImpl; | 48 class WebLayerImpl; |
| 50 } | 49 } |
| 51 | 50 |
| 52 namespace gpu { | 51 namespace gpu { |
| 53 namespace gles2 { | 52 namespace gles2 { |
| 54 class GLES2Interface; | 53 class GLES2Interface; |
| 55 } | 54 } |
| 56 struct MailboxHolder; | |
| 57 } | 55 } |
| 58 | 56 |
| 59 namespace media { | 57 namespace media { |
| 60 class MediaLog; | 58 class MediaLog; |
| 61 class WebContentDecryptionModuleImpl; | |
| 62 } | 59 } |
| 63 | 60 |
| 64 namespace content { | 61 namespace content { |
| 65 | 62 |
| 66 class RendererMediaPlayerManager; | 63 class RendererMediaPlayerManager; |
| 67 | 64 |
| 68 // This class implements blink::WebMediaPlayer by keeping the android | 65 // This class implements blink::WebMediaPlayer by keeping the android |
| 69 // media player in the browser process. It listens to all the status changes | 66 // media player in the browser process. It listens to all the status changes |
| 70 // sent from the browser process and sends playback controls to the media | 67 // sent from the browser process and sends playback controls to the media |
| 71 // player. | 68 // player. |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 | 423 |
| 427 // NOTE: Weak pointers must be invalidated before all other member variables. | 424 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 428 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; | 425 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; |
| 429 | 426 |
| 430 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); | 427 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); |
| 431 }; | 428 }; |
| 432 | 429 |
| 433 } // namespace content | 430 } // namespace content |
| 434 | 431 |
| 435 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ | 432 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ |
| OLD | NEW |