| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 void StartPlayerLoad(const KURL& player_provided_url = KURL()); | 444 void StartPlayerLoad(const KURL& player_provided_url = KURL()); |
| 445 void SetPlayerPreload(); | 445 void SetPlayerPreload(); |
| 446 WebMediaPlayer::LoadType GetLoadType() const; | 446 WebMediaPlayer::LoadType GetLoadType() const; |
| 447 void ScheduleNextSourceChild(); | 447 void ScheduleNextSourceChild(); |
| 448 void LoadSourceFromObject(); | 448 void LoadSourceFromObject(); |
| 449 void LoadSourceFromAttribute(); | 449 void LoadSourceFromAttribute(); |
| 450 void LoadNextSourceChild(); | 450 void LoadNextSourceChild(); |
| 451 void ClearMediaPlayer(); | 451 void ClearMediaPlayer(); |
| 452 void ClearMediaPlayerAndAudioSourceProviderClientWithoutLocking(); | 452 void ClearMediaPlayerAndAudioSourceProviderClientWithoutLocking(); |
| 453 bool HavePotentialSourceChild(); | 453 bool HavePotentialSourceChild(); |
| 454 void NoneSupported(); | 454 void NoneSupported(const String&); |
| 455 void MediaEngineError(MediaError*); | 455 void MediaEngineError(MediaError*); |
| 456 void CancelPendingEventsAndCallbacks(); | 456 void CancelPendingEventsAndCallbacks(); |
| 457 void WaitForSourceChange(); | 457 void WaitForSourceChange(); |
| 458 void SetIgnorePreloadNone(); | 458 void SetIgnorePreloadNone(); |
| 459 | 459 |
| 460 KURL SelectNextSourceChild(String* content_type, InvalidURLAction); | 460 KURL SelectNextSourceChild(String* content_type, InvalidURLAction); |
| 461 | 461 |
| 462 void MediaLoadingFailed(WebMediaPlayer::NetworkState); | 462 void MediaLoadingFailed(WebMediaPlayer::NetworkState, const String&); |
| 463 | 463 |
| 464 // deferred loading (preload=none) | 464 // deferred loading (preload=none) |
| 465 bool LoadIsDeferred() const; | 465 bool LoadIsDeferred() const; |
| 466 void DeferLoad(); | 466 void DeferLoad(); |
| 467 void CancelDeferredLoad(); | 467 void CancelDeferredLoad(); |
| 468 void StartDeferredLoad(); | 468 void StartDeferredLoad(); |
| 469 void ExecuteDeferredLoad(); | 469 void ExecuteDeferredLoad(); |
| 470 void DeferredLoadTimerFired(TimerBase*); | 470 void DeferredLoadTimerFired(TimerBase*); |
| 471 | 471 |
| 472 void MarkCaptionAndSubtitleTracksAsUnconfigured(); | 472 void MarkCaptionAndSubtitleTracksAsUnconfigured(); |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 | 772 |
| 773 inline bool IsHTMLMediaElement(const HTMLElement& element) { | 773 inline bool IsHTMLMediaElement(const HTMLElement& element) { |
| 774 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 774 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 775 } | 775 } |
| 776 | 776 |
| 777 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 777 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 778 | 778 |
| 779 } // namespace blink | 779 } // namespace blink |
| 780 | 780 |
| 781 #endif // HTMLMediaElement_h | 781 #endif // HTMLMediaElement_h |
| OLD | NEW |