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

Side by Side Diff: public/platform/WebMediaPlayer.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: Addressed IDL comments. Created 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { } 155 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { }
156 156
157 // Sets the poster image URL. 157 // Sets the poster image URL.
158 virtual void setPoster(const WebURL& poster) { } 158 virtual void setPoster(const WebURL& poster) { }
159 159
160 // Instruct WebMediaPlayer to enter/exit fullscreen. 160 // Instruct WebMediaPlayer to enter/exit fullscreen.
161 virtual void enterFullscreen() { } 161 virtual void enterFullscreen() { }
162 virtual void exitFullscreen() { } 162 virtual void exitFullscreen() { }
163 // Returns true if the player can enter fullscreen. 163 // Returns true if the player can enter fullscreen.
164 virtual bool canEnterFullscreen() const { return false; } 164 virtual bool canEnterFullscreen() const { return false; }
165
166 virtual void enabledAudioTracksChanged(const WebVector<WebString>& enabledTr ackIDs) { }
167 virtual void selectedVideoTrackChanged(const WebString& selectedTrackID) { }
165 }; 168 };
166 169
167 } // namespace blink 170 } // namespace blink
168 171
169 #endif 172 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698