| 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 <memory> | 10 #include <memory> |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 bool is_memory_reporting_enabled; | 237 bool is_memory_reporting_enabled; |
| 238 bool is_suspended; | 238 bool is_suspended; |
| 239 }; | 239 }; |
| 240 | 240 |
| 241 private: | 241 private: |
| 242 friend class WebMediaPlayerImplTest; | 242 friend class WebMediaPlayerImplTest; |
| 243 | 243 |
| 244 void EnableOverlay(); | 244 void EnableOverlay(); |
| 245 void DisableOverlay(); | 245 void DisableOverlay(); |
| 246 | 246 |
| 247 void OnPipelineStarted(PipelineStatus status); |
| 247 void OnPipelineSuspended(); | 248 void OnPipelineSuspended(); |
| 248 void OnDemuxerOpened(); | 249 void OnDemuxerOpened(); |
| 249 | 250 |
| 250 // Pipeline::Client overrides. | 251 // Pipeline::Client overrides. |
| 251 void OnError(PipelineStatus status) override; | 252 void OnError(PipelineStatus status) override; |
| 252 void OnEnded() override; | 253 void OnEnded() override; |
| 253 void OnMetadata(PipelineMetadata metadata) override; | 254 void OnMetadata(PipelineMetadata metadata) override; |
| 254 void OnBufferingStateChange(BufferingState state) override; | 255 void OnBufferingStateChange(BufferingState state) override; |
| 255 void OnDurationChange() override; | 256 void OnDurationChange() override; |
| 256 void OnAddTextTrack(const TextTrackConfig& config, | 257 void OnAddTextTrack(const TextTrackConfig& config, |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 | 579 |
| 579 // Whether the player is currently in autoplay muted state. | 580 // Whether the player is currently in autoplay muted state. |
| 580 bool autoplay_muted_ = false; | 581 bool autoplay_muted_ = false; |
| 581 | 582 |
| 582 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 583 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 583 }; | 584 }; |
| 584 | 585 |
| 585 } // namespace media | 586 } // namespace media |
| 586 | 587 |
| 587 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 588 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |