OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. |
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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 | 414 |
415 #if ENABLE(ENCRYPTED_MEDIA) | 415 #if ENABLE(ENCRYPTED_MEDIA) |
416 virtual void mediaPlayerKeyAdded(MediaPlayer*, const String& keySystem, cons
t String& sessionId) OVERRIDE; | 416 virtual void mediaPlayerKeyAdded(MediaPlayer*, const String& keySystem, cons
t String& sessionId) OVERRIDE; |
417 virtual void mediaPlayerKeyError(MediaPlayer*, const String& keySystem, cons
t String& sessionId, MediaPlayerClient::MediaKeyErrorCode, unsigned short system
Code) OVERRIDE; | 417 virtual void mediaPlayerKeyError(MediaPlayer*, const String& keySystem, cons
t String& sessionId, MediaPlayerClient::MediaKeyErrorCode, unsigned short system
Code) OVERRIDE; |
418 virtual void mediaPlayerKeyMessage(MediaPlayer*, const String& keySystem, co
nst String& sessionId, const unsigned char* message, unsigned messageLength) OVE
RRIDE; | 418 virtual void mediaPlayerKeyMessage(MediaPlayer*, const String& keySystem, co
nst String& sessionId, const unsigned char* message, unsigned messageLength) OVE
RRIDE; |
419 virtual void mediaPlayerKeyNeeded(MediaPlayer*, const String& keySystem, con
st String& sessionId, const unsigned char* initData, unsigned initDataLength) OV
ERRIDE; | 419 virtual void mediaPlayerKeyNeeded(MediaPlayer*, const String& keySystem, con
st String& sessionId, const unsigned char* initData, unsigned initDataLength) OV
ERRIDE; |
420 #endif | 420 #endif |
421 | 421 |
422 virtual String mediaPlayerReferrer() const OVERRIDE; | 422 virtual String mediaPlayerReferrer() const OVERRIDE; |
423 virtual String mediaPlayerUserAgent() const OVERRIDE; | 423 virtual String mediaPlayerUserAgent() const OVERRIDE; |
| 424 virtual CORSMode mediaPlayerCORSMode() const OVERRIDE; |
424 | 425 |
425 void loadTimerFired(Timer<HTMLMediaElement>*); | 426 void loadTimerFired(Timer<HTMLMediaElement>*); |
426 void progressEventTimerFired(Timer<HTMLMediaElement>*); | 427 void progressEventTimerFired(Timer<HTMLMediaElement>*); |
427 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); | 428 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); |
428 void startPlaybackProgressTimer(); | 429 void startPlaybackProgressTimer(); |
429 void startProgressEventTimer(); | 430 void startProgressEventTimer(); |
430 void stopPeriodicTimers(); | 431 void stopPeriodicTimers(); |
431 | 432 |
432 void seek(float time, ExceptionCode&); | 433 void seek(float time, ExceptionCode&); |
433 void finishSeek(); | 434 void finishSeek(); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id(
).utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); | 677 return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id(
).utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); |
677 } | 678 } |
678 }; | 679 }; |
679 #endif | 680 #endif |
680 #endif | 681 #endif |
681 | 682 |
682 } //namespace | 683 } //namespace |
683 | 684 |
684 #endif | 685 #endif |
685 #endif | 686 #endif |
OLD | NEW |