| 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 MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 // setBufferingStrategy(). | 320 // setBufferingStrategy(). |
| 321 BufferedDataSource::BufferingStrategy buffering_strategy_; | 321 BufferedDataSource::BufferingStrategy buffering_strategy_; |
| 322 | 322 |
| 323 // Task runner for posting tasks on Chrome's main thread. Also used | 323 // Task runner for posting tasks on Chrome's main thread. Also used |
| 324 // for DCHECKs so methods calls won't execute in the wrong thread. | 324 // for DCHECKs so methods calls won't execute in the wrong thread. |
| 325 const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; | 325 const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
| 326 | 326 |
| 327 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; | 327 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; |
| 328 scoped_refptr<base::TaskRunner> worker_task_runner_; | 328 scoped_refptr<base::TaskRunner> worker_task_runner_; |
| 329 scoped_refptr<MediaLog> media_log_; | 329 scoped_refptr<MediaLog> media_log_; |
| 330 Pipeline pipeline_; | 330 PipelineImpl pipeline_; |
| 331 | 331 |
| 332 // The LoadType passed in the |load_type| parameter of the load() call. | 332 // The LoadType passed in the |load_type| parameter of the load() call. |
| 333 LoadType load_type_; | 333 LoadType load_type_; |
| 334 | 334 |
| 335 // Cache of metadata for answering hasAudio(), hasVideo(), and naturalSize(). | 335 // Cache of metadata for answering hasAudio(), hasVideo(), and naturalSize(). |
| 336 PipelineMetadata pipeline_metadata_; | 336 PipelineMetadata pipeline_metadata_; |
| 337 | 337 |
| 338 // Whether the video is known to be opaque or not. | 338 // Whether the video is known to be opaque or not. |
| 339 bool opaque_; | 339 bool opaque_; |
| 340 | 340 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. | 474 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. |
| 475 // This will be null everywhere but Android. | 475 // This will be null everywhere but Android. |
| 476 SurfaceManager* surface_manager_; | 476 SurfaceManager* surface_manager_; |
| 477 | 477 |
| 478 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 478 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 479 }; | 479 }; |
| 480 | 480 |
| 481 } // namespace media | 481 } // namespace media |
| 482 | 482 |
| 483 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 483 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |