| 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 // for a transient sound. Playout volume is derived by volume * multiplier. | 447 // for a transient sound. Playout volume is derived by volume * multiplier. |
| 448 double volume_; | 448 double volume_; |
| 449 double volume_multiplier_; | 449 double volume_multiplier_; |
| 450 | 450 |
| 451 scoped_ptr<RendererFactory> renderer_factory_; | 451 scoped_ptr<RendererFactory> renderer_factory_; |
| 452 | 452 |
| 453 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. | 453 // For requesting surfaces on behalf of the Android H/W decoder in fullscreen. |
| 454 // This will be null everywhere but Android. | 454 // This will be null everywhere but Android. |
| 455 SurfaceManager* surface_manager_; | 455 SurfaceManager* surface_manager_; |
| 456 | 456 |
| 457 // Suppresses calls to OnPipelineError() after destruction / shutdown has been |
| 458 // started; prevents us from spuriously logging errors that are transient or |
| 459 // unimportant. |
| 460 bool suppress_destruction_errors_; |
| 461 |
| 457 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 462 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 458 }; | 463 }; |
| 459 | 464 |
| 460 } // namespace media | 465 } // namespace media |
| 461 | 466 |
| 462 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 467 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |