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

Unified Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 170233009: Initial implementation of AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Created 6 years, 10 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: Source/web/WebMediaPlayerClientImpl.h
diff --git a/Source/web/WebMediaPlayerClientImpl.h b/Source/web/WebMediaPlayerClientImpl.h
index 91cd9d734feed7ede44fdbf9f56597e2f2b5e971..1dd06d530648513f9c35e65f7cc2f0dfd864882b 100644
--- a/Source/web/WebMediaPlayerClientImpl.h
+++ b/Source/web/WebMediaPlayerClientImpl.h
@@ -68,7 +68,7 @@ public:
virtual ~WebMediaPlayerClientImpl();
// Returns the encapsulated blink::WebMediaPlayer.
- WebMediaPlayer* mediaPlayer() const;
+ virtual WebMediaPlayer* webMediaPlayer() const;
// WebMediaPlayerClient methods:
virtual void networkStateChanged() OVERRIDE;
@@ -89,6 +89,10 @@ public:
virtual void closeHelperPluginSoon(WebFrame*) OVERRIDE;
virtual bool needsWebLayerForVideo() const OVERRIDE;
virtual void setWebLayer(WebLayer*) OVERRIDE;
+ virtual void addVideoTrack(const WebString& id, VideoTrackKind, const WebString& label, const WebString& language, bool selected) OVERRIDE;
+ virtual void removeVideoTrack(const WebString& id) OVERRIDE;
+ virtual void addAudioTrack(const WebString& id, AudioTrackKind, const WebString& label, const WebString& language, bool enabled) OVERRIDE;
+ virtual void removeAudioTrack(const WebString& id) OVERRIDE;
virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE;
virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE;
virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698