| 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 // Whether the video requires a user gesture to resume after it was paused in | 705 // Whether the video requires a user gesture to resume after it was paused in |
| 706 // the background. Affects the value of ShouldPauseVideoWhenHidden(). | 706 // the background. Affects the value of ShouldPauseVideoWhenHidden(). |
| 707 bool video_locked_when_paused_when_hidden_ = false; | 707 bool video_locked_when_paused_when_hidden_ = false; |
| 708 | 708 |
| 709 // Whether embedded media experience is currently enabled. | 709 // Whether embedded media experience is currently enabled. |
| 710 bool embedded_media_experience_enabled_ = false; | 710 bool embedded_media_experience_enabled_ = false; |
| 711 | 711 |
| 712 gfx::Size last_uploaded_frame_size_; | 712 gfx::Size last_uploaded_frame_size_; |
| 713 base::TimeDelta last_uploaded_frame_timestamp_; | 713 base::TimeDelta last_uploaded_frame_timestamp_; |
| 714 | 714 |
| 715 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; |
| 716 |
| 715 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 717 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 716 }; | 718 }; |
| 717 | 719 |
| 718 } // namespace media | 720 } // namespace media |
| 719 | 721 |
| 720 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 722 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |