| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. | 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. |
| 6 // It contains PipelineImpl which is the actual media player pipeline, it glues | 6 // It contains PipelineImpl which is the actual media player pipeline, it glues |
| 7 // the media player pipeline, data source, audio renderer and renderer. | 7 // the media player pipeline, data source, audio renderer and renderer. |
| 8 // PipelineImpl would creates multiple threads and access some public methods | 8 // PipelineImpl would creates multiple threads and access some public methods |
| 9 // of this class, so we need to be extra careful about concurrent access of | 9 // of this class, so we need to be extra careful about concurrent access of |
| 10 // methods and members. | 10 // methods and members. |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 base::WeakPtr<WebMediaPlayerDelegate> delegate_; | 260 base::WeakPtr<WebMediaPlayerDelegate> delegate_; |
| 261 | 261 |
| 262 MediaStreamClient* media_stream_client_; | 262 MediaStreamClient* media_stream_client_; |
| 263 | 263 |
| 264 #if WEBKIT_USING_CG | 264 #if WEBKIT_USING_CG |
| 265 scoped_ptr<skia::PlatformCanvas> skia_canvas_; | 265 scoped_ptr<skia::PlatformCanvas> skia_canvas_; |
| 266 #endif | 266 #endif |
| 267 | 267 |
| 268 scoped_refptr<media::MediaLog> media_log_; | 268 scoped_refptr<media::MediaLog> media_log_; |
| 269 | 269 |
| 270 bool is_accelerated_compositing_active_; |
| 271 |
| 270 bool incremented_externally_allocated_memory_; | 272 bool incremented_externally_allocated_memory_; |
| 271 | 273 |
| 272 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 274 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 273 }; | 275 }; |
| 274 | 276 |
| 275 } // namespace webkit_glue | 277 } // namespace webkit_glue |
| 276 | 278 |
| 277 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ | 279 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |