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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 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; } | 190 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; } |
191 virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const
WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; } | 191 virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const
WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; } |
192 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, Web
ContentDecryptionModuleResult result) { result.completeWithError(WebContentDecry
ptionModuleExceptionNotSupportedError, 0, "ERROR"); } | 192 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, Web
ContentDecryptionModuleResult result) { result.completeWithError(WebContentDecry
ptionModuleExceptionNotSupportedError, 0, "ERROR"); } |
193 | 193 |
194 // Sets the poster image URL. | 194 // Sets the poster image URL. |
195 virtual void setPoster(const WebURL& poster) { } | 195 virtual void setPoster(const WebURL& poster) { } |
196 | 196 |
197 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When | 197 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When |
198 // this is true, the video layer will be removed from the layer tree when | 198 // this is true, the video layer will be removed from the layer tree when |
199 // entering fullscreen, and the WebMediaPlayer is responsible for displaying | 199 // entering fullscreen, and the WebMediaPlayer is responsible for displaying |
200 // the video in enterFullscreen(). | 200 // the video in enteredFullscreen(). |
201 virtual bool supportsOverlayFullscreenVideo() { return false; } | 201 virtual bool supportsOverlayFullscreenVideo() { return false; } |
202 // Instruct WebMediaPlayer to enter/exit fullscreen. | 202 // Inform WebMediaPlayer when the element has entered/exited fullscreen. |
203 virtual void enterFullscreen() { } | 203 virtual void enteredFullscreen() { } |
| 204 virtual void exitedFullscreen() { } |
204 | 205 |
205 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac
kIds) { } | 206 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac
kIds) { } |
206 // |selectedTrackId| is null if no track is selected. | 207 // |selectedTrackId| is null if no track is selected. |
207 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } | 208 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } |
208 }; | 209 }; |
209 | 210 |
210 } // namespace blink | 211 } // namespace blink |
211 | 212 |
212 #endif | 213 #endif |
OLD | NEW |