| 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_WEBMEDIAPLAYER_MS_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 namespace gles2 { | 41 namespace gles2 { |
| 42 class GLES2Interface; | 42 class GLES2Interface; |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace content { | 46 namespace content { |
| 47 class MediaStreamAudioRenderer; | 47 class MediaStreamAudioRenderer; |
| 48 class MediaStreamRendererFactory; | 48 class MediaStreamRendererFactory; |
| 49 class MediaStreamVideoRenderer; | 49 class MediaStreamVideoRenderer; |
| 50 class WebMediaPlayerMSCompositor; | 50 class WebMediaPlayerMSCompositor; |
| 51 class RenderFrameObserver; | |
| 52 | 51 |
| 53 // WebMediaPlayerMS delegates calls from WebCore::MediaPlayerPrivate to | 52 // WebMediaPlayerMS delegates calls from WebCore::MediaPlayerPrivate to |
| 54 // Chrome's media player when "src" is from media stream. | 53 // Chrome's media player when "src" is from media stream. |
| 55 // | 54 // |
| 56 // All calls to WebMediaPlayerMS methods must be from the main thread of | 55 // All calls to WebMediaPlayerMS methods must be from the main thread of |
| 57 // Renderer process. | 56 // Renderer process. |
| 58 // | 57 // |
| 59 // WebMediaPlayerMS works with multiple objects, the most important ones are: | 58 // WebMediaPlayerMS works with multiple objects, the most important ones are: |
| 60 // | 59 // |
| 61 // MediaStreamVideoRenderer | 60 // MediaStreamVideoRenderer |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // True if playback should be started upon the next call to OnShown(). Only | 236 // True if playback should be started upon the next call to OnShown(). Only |
| 238 // used on Android. | 237 // used on Android. |
| 239 bool should_play_upon_shown_; | 238 bool should_play_upon_shown_; |
| 240 | 239 |
| 241 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); | 240 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); |
| 242 }; | 241 }; |
| 243 | 242 |
| 244 } // namespace content | 243 } // namespace content |
| 245 | 244 |
| 246 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 245 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
| OLD | NEW |