diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/media/blink/webmediaplayer_impl.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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. |