| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_COMPOSITOR_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 namespace blink { | 25 namespace blink { |
| 26 class WebMediaStream; | 26 class WebMediaStream; |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace gfx { | 29 namespace gfx { |
| 30 class Size; | 30 class Size; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace media { | 33 namespace media { |
| 34 class SkCanvasVideoRenderer; | |
| 35 class VideoRendererAlgorithm; | 34 class VideoRendererAlgorithm; |
| 36 } | 35 } |
| 37 | 36 |
| 38 namespace content { | 37 namespace content { |
| 39 class WebMediaPlayerMS; | 38 class WebMediaPlayerMS; |
| 40 | 39 |
| 41 // This class is designed to handle the work load on compositor thread for | 40 // This class is designed to handle the work load on compositor thread for |
| 42 // WebMediaPlayerMS. It will be instantiated on the main thread, but destroyed | 41 // WebMediaPlayerMS. It will be instantiated on the main thread, but destroyed |
| 43 // on the compositor thread. | 42 // on the compositor thread. |
| 44 // | 43 // |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 base::Lock current_frame_lock_; | 156 base::Lock current_frame_lock_; |
| 158 | 157 |
| 159 // Make sure the weak pointer factory member is the last member of the class. | 158 // Make sure the weak pointer factory member is the last member of the class. |
| 160 base::WeakPtrFactory<WebMediaPlayerMSCompositor> weak_ptr_factory_; | 159 base::WeakPtrFactory<WebMediaPlayerMSCompositor> weak_ptr_factory_; |
| 161 | 160 |
| 162 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMSCompositor); | 161 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMSCompositor); |
| 163 }; | 162 }; |
| 164 } // namespace content | 163 } // namespace content |
| 165 | 164 |
| 166 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_ | 165 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_ |
| OLD | NEW |