Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 1812543003: Allow muting/unmuting audio through media track API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-sb-tracks6
Patch Set: Don't call DemuxStream::type from the wrong thread Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 027841bd0b266ca91796660d398bcbcfd83c477d..e81e248f28335a63bb68fa12c8aa759b5dc8b499 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -127,6 +127,13 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
bool hasVideo() const override;
bool hasAudio() const override;
+ void enabledAudioTracksChanged(
+ const blink::WebVector<blink::WebMediaPlayer::TrackId>& enabledTrackIds)
+ override;
+ // |selectedTrackId| is null if no track is selected.
+ void selectedVideoTrackChanged(
+ blink::WebMediaPlayer::TrackId* selectedTrackId) override;
+
// Dimensions of the video.
blink::WebSize naturalSize() const override;

Powered by Google App Engine
This is Rietveld 408576698