Index: public/platform/WebMediaPlayer.h |
diff --git a/public/platform/WebMediaPlayer.h b/public/platform/WebMediaPlayer.h |
index 734f7c2b37b1d73aef0465933101235c9cc60a91..edff006aa209347b51dce68800dfbb9c639ddf0a 100644 |
--- a/public/platform/WebMediaPlayer.h |
+++ b/public/platform/WebMediaPlayer.h |
@@ -95,6 +95,8 @@ public: |
LoadTypeMediaStream, |
}; |
+ typedef unsigned TrackId; |
+ |
virtual ~WebMediaPlayer() { } |
virtual void load(LoadType, const WebURL&, CORSMode) = 0; |
@@ -162,6 +164,10 @@ public: |
virtual void exitFullscreen() { } |
// Returns true if the player can enter fullscreen. |
virtual bool canEnterFullscreen() const { return false; } |
+ |
+ virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrackIds) { } |
+ // |selectedTrackId| is null if no track is selected. |
+ virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } |
}; |
} // namespace blink |