OLD | NEW |
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 virtual MediaKeyException generateKeyRequest(const WebString& keySystem, con
st unsigned char* initData, unsigned initDataLength) { return MediaKeyExceptionK
eySystemNotSupported; } | 154 virtual MediaKeyException generateKeyRequest(const WebString& keySystem, con
st unsigned char* initData, unsigned initDataLength) { return MediaKeyExceptionK
eySystemNotSupported; } |
155 virtual MediaKeyException addKey(const WebString& keySystem, const unsigned
char* key, unsigned keyLength, const unsigned char* initData, unsigned initDataL
ength, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupport
ed; } | 155 virtual MediaKeyException addKey(const WebString& keySystem, const unsigned
char* key, unsigned keyLength, const unsigned char* initData, unsigned initDataL
ength, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupport
ed; } |
156 virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const
WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; } | 156 virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const
WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; } |
157 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { } | 157 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { } |
158 | 158 |
159 // Sets the poster image URL. | 159 // Sets the poster image URL. |
160 virtual void setPoster(const WebURL& poster) { } | 160 virtual void setPoster(const WebURL& poster) { } |
161 | 161 |
162 // Instruct WebMediaPlayer to enter/exit fullscreen. | 162 // Instruct WebMediaPlayer to enter/exit fullscreen. |
163 virtual void enterFullscreen() { } | 163 virtual void enterFullscreen() { } |
164 virtual void exitFullscreen() { } | |
165 // Returns true if the player can enter fullscreen. | 164 // Returns true if the player can enter fullscreen. |
166 virtual bool canEnterFullscreen() const { return false; } | 165 virtual bool canEnterFullscreen() const { return false; } |
167 | 166 |
168 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac
kIds) { } | 167 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac
kIds) { } |
169 // |selectedTrackId| is null if no track is selected. | 168 // |selectedTrackId| is null if no track is selected. |
170 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } | 169 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } |
171 }; | 170 }; |
172 | 171 |
173 } // namespace blink | 172 } // namespace blink |
174 | 173 |
175 #endif | 174 #endif |
OLD | NEW |