| 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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 // Pipeline statistics overridden by tests. | 701 // Pipeline statistics overridden by tests. |
| 702 base::Optional<PipelineStatistics> pipeline_statistics_for_test_; | 702 base::Optional<PipelineStatistics> pipeline_statistics_for_test_; |
| 703 | 703 |
| 704 // Pipeline media duration overridden by tests. | 704 // Pipeline media duration overridden by tests. |
| 705 base::Optional<base::TimeDelta> pipeline_media_duration_for_test_; | 705 base::Optional<base::TimeDelta> pipeline_media_duration_for_test_; |
| 706 | 706 |
| 707 // Whether the video requires a user gesture to resume after it was paused in | 707 // Whether the video requires a user gesture to resume after it was paused in |
| 708 // the background. Affects the value of ShouldPauseVideoWhenHidden(). | 708 // the background. Affects the value of ShouldPauseVideoWhenHidden(). |
| 709 bool video_locked_when_paused_when_hidden_ = false; | 709 bool video_locked_when_paused_when_hidden_ = false; |
| 710 | 710 |
| 711 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; |
| 712 |
| 711 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 713 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 712 }; | 714 }; |
| 713 | 715 |
| 714 } // namespace media | 716 } // namespace media |
| 715 | 717 |
| 716 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 718 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |