diff options
Diffstat (limited to 'chromium/media/blink/webmediaplayer_impl.h')
-rw-r--r-- | chromium/media/blink/webmediaplayer_impl.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/chromium/media/blink/webmediaplayer_impl.h b/chromium/media/blink/webmediaplayer_impl.h index b62f8cf93b9..f4e48c46f62 100644 --- a/chromium/media/blink/webmediaplayer_impl.h +++ b/chromium/media/blink/webmediaplayer_impl.h @@ -130,7 +130,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl void SetRate(double rate) override; void SetVolume(double volume) override; void SetLatencyHint(double seconds) override; + void SetPreservesPitch(bool preserves_pitch) override; void OnRequestPictureInPicture() override; + void OnTimeUpdate() override; void SetSinkId( const blink::WebString& sink_id, blink::WebSetSinkIdCompleteCallback completion_callback) override; @@ -448,21 +450,6 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl // - enter_pip_callback_, void UpdatePlayState(); - // Calculates the current position state for the media element and notifies - // |delegate_| if it has changed. - // - // Spec: https://wicg.github.io/mediasession/#position-state - // - // This method should be called any time its dependent values change. These - // are: - // - pipeline_controller_->GetMediaDuration() - // - pipeline_media_duration_for_test_ - // - pipeline_controller_->GetMediaTime() - // - playback_rate_ - // - Seeking() / seek_time_ - // - paused_, paused_time_ - void UpdateMediaPositionState(); - // Methods internal to UpdatePlayState(). PlayState UpdatePlayState_ComputePlayState(bool is_flinging, bool can_auto_suspend, @@ -1036,15 +1023,6 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl // Whether background video optimization is supported on current platform. bool is_background_video_track_optimization_supported_ = true; - // Whether the media in this frame is a remoting media. - // - // Remoting media is a special media that has the media streams are delivered - // to the browser directly from somewhere without any URL request - // (http, file, ...) - // When setting to true, a remoting renderer will be created as the remoting - // target in the client. - bool is_remoting_renderer_enabled_ = false; - base::CancelableOnceClosure have_enough_after_lazy_load_cb_; // State for simplified watch time reporting. |