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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 void stopPeriodicTimers(); | 340 void stopPeriodicTimers(); |
341 | 341 |
342 void seek(double time); | 342 void seek(double time); |
343 void finishSeek(); | 343 void finishSeek(); |
344 void checkIfSeekNeeded(); | 344 void checkIfSeekNeeded(); |
345 void addPlayedRange(double start, double end); | 345 void addPlayedRange(double start, double end); |
346 | 346 |
347 void scheduleEvent(const AtomicString& eventName); // FIXME: Rename to sched
uleNamedEvent for clarity. | 347 void scheduleEvent(const AtomicString& eventName); // FIXME: Rename to sched
uleNamedEvent for clarity. |
348 | 348 |
349 // loading | 349 // loading |
350 void prepareForLoad(); | 350 void invokeLoadAlgorith(); |
351 void loadInternal(); | 351 void loadInternal(); |
352 void selectMediaResource(); | 352 void selectMediaResource(); |
353 void loadResource(const KURL&, ContentType&, const String& keySystem); | 353 void loadResource(const KURL&, ContentType&, const String& keySystem); |
354 void startPlayerLoad(); | 354 void startPlayerLoad(); |
355 void setPlayerPreload(); | 355 void setPlayerPreload(); |
356 WebMediaPlayer::LoadType loadType() const; | 356 WebMediaPlayer::LoadType loadType() const; |
357 void scheduleNextSourceChild(); | 357 void scheduleNextSourceChild(); |
358 void loadNextSourceChild(); | 358 void loadNextSourceChild(); |
359 void clearMediaPlayer(int flags); | 359 void resetMediaElement(int flags); |
360 void clearMediaPlayerAndAudioSourceProviderClientWithoutLocking(); | 360 void clearMediaPlayerAndAudioSourceProviderClientWithoutLocking(); |
361 bool havePotentialSourceChild(); | 361 bool havePotentialSourceChild(); |
362 void noneSupported(); | 362 void noneSupported(); |
363 void mediaEngineError(MediaError*); | 363 void mediaEngineError(MediaError*); |
364 void cancelPendingEventsAndCallbacks(); | 364 void cancelPendingEventsAndCallbacks(); |
365 void waitForSourceChange(); | 365 void waitForSourceChange(); |
366 void prepareToPlay(); | 366 void prepareToPlay(); |
367 | 367 |
368 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction
); | 368 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction
); |
369 | 369 |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 inline bool isHTMLMediaElement(const HTMLElement& element) | 631 inline bool isHTMLMediaElement(const HTMLElement& element) |
632 { | 632 { |
633 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 633 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
634 } | 634 } |
635 | 635 |
636 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 636 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
637 | 637 |
638 } // namespace blink | 638 } // namespace blink |
639 | 639 |
640 #endif // HTMLMediaElement_h | 640 #endif // HTMLMediaElement_h |
OLD | NEW |