OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple 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 | 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 virtual void mediaPlayerSetWebLayer(blink::WebLayer*) OVERRIDE FINAL; | 369 virtual void mediaPlayerSetWebLayer(blink::WebLayer*) OVERRIDE FINAL; |
370 virtual void mediaPlayerMediaSourceOpened(blink::WebMediaSource*) OVERRIDE F
INAL; | 370 virtual void mediaPlayerMediaSourceOpened(blink::WebMediaSource*) OVERRIDE F
INAL; |
371 | 371 |
372 void loadTimerFired(Timer<HTMLMediaElement>*); | 372 void loadTimerFired(Timer<HTMLMediaElement>*); |
373 void progressEventTimerFired(Timer<HTMLMediaElement>*); | 373 void progressEventTimerFired(Timer<HTMLMediaElement>*); |
374 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); | 374 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); |
375 void startPlaybackProgressTimer(); | 375 void startPlaybackProgressTimer(); |
376 void startProgressEventTimer(); | 376 void startProgressEventTimer(); |
377 void stopPeriodicTimers(); | 377 void stopPeriodicTimers(); |
378 | 378 |
379 void seek(double time, ExceptionState&); | 379 void seek(double time); |
380 void finishSeek(); | 380 void finishSeek(); |
381 void checkIfSeekNeeded(); | 381 void checkIfSeekNeeded(); |
382 void addPlayedRange(double start, double end); | 382 void addPlayedRange(double start, double end); |
383 | 383 |
384 void scheduleTimeupdateEvent(bool periodicEvent); | 384 void scheduleTimeupdateEvent(bool periodicEvent); |
385 void scheduleEvent(const AtomicString& eventName); // FIXME: Rename to sched
uleNamedEvent for clarity. | 385 void scheduleEvent(const AtomicString& eventName); // FIXME: Rename to sched
uleNamedEvent for clarity. |
386 | 386 |
387 // loading | 387 // loading |
388 void prepareForLoad(); | 388 void prepareForLoad(); |
389 void loadInternal(); | 389 void loadInternal(); |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 inline bool isHTMLMediaElement(const HTMLElement& element) | 635 inline bool isHTMLMediaElement(const HTMLElement& element) |
636 { | 636 { |
637 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 637 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
638 } | 638 } |
639 | 639 |
640 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 640 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
641 | 641 |
642 } // namespace blink | 642 } // namespace blink |
643 | 643 |
644 #endif // HTMLMediaElement_h | 644 #endif // HTMLMediaElement_h |
OLD | NEW |