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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 void selectMediaResource(); | 368 void selectMediaResource(); |
369 void loadResource(const KURL&, ContentType&); | 369 void loadResource(const KURL&, ContentType&); |
370 void startPlayerLoad(); | 370 void startPlayerLoad(); |
371 void setPlayerPreload(); | 371 void setPlayerPreload(); |
372 WebMediaPlayer::LoadType loadType() const; | 372 WebMediaPlayer::LoadType loadType() const; |
373 void scheduleNextSourceChild(); | 373 void scheduleNextSourceChild(); |
374 void loadNextSourceChild(); | 374 void loadNextSourceChild(); |
375 void clearMediaPlayer(); | 375 void clearMediaPlayer(); |
376 void clearMediaPlayerAndAudioSourceProviderClientWithoutLocking(); | 376 void clearMediaPlayerAndAudioSourceProviderClientWithoutLocking(); |
377 bool havePotentialSourceChild(); | 377 bool havePotentialSourceChild(); |
| 378 void reportPlayerErrorToDevToolsConsole(); |
378 void noneSupported(); | 379 void noneSupported(); |
379 void mediaEngineError(MediaError*); | 380 void mediaEngineError(MediaError*); |
380 void cancelPendingEventsAndCallbacks(); | 381 void cancelPendingEventsAndCallbacks(); |
381 void waitForSourceChange(); | 382 void waitForSourceChange(); |
382 void setIgnorePreloadNone(); | 383 void setIgnorePreloadNone(); |
383 | 384 |
384 KURL selectNextSourceChild(ContentType*, InvalidURLAction); | 385 KURL selectNextSourceChild(ContentType*, InvalidURLAction); |
385 | 386 |
386 void mediaLoadingFailed(WebMediaPlayer::NetworkState); | 387 void mediaLoadingFailed(WebMediaPlayer::NetworkState); |
387 | 388 |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 inline bool isHTMLMediaElement(const HTMLElement& element) | 661 inline bool isHTMLMediaElement(const HTMLElement& element) |
661 { | 662 { |
662 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 663 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
663 } | 664 } |
664 | 665 |
665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 666 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
666 | 667 |
667 } // namespace blink | 668 } // namespace blink |
668 | 669 |
669 #endif // HTMLMediaElement_h | 670 #endif // HTMLMediaElement_h |
OLD | NEW |