Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Side by Side Diff: Source/core/html/HTMLMediaElement.h

Issue 1304183003: Drop unused showingTrackWithSameKind declaration from HTMLMediaElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 void mediaLoadingFailed(WebMediaPlayer::NetworkState); 374 void mediaLoadingFailed(WebMediaPlayer::NetworkState);
375 375
376 // deferred loading (preload=none) 376 // deferred loading (preload=none)
377 bool loadIsDeferred() const; 377 bool loadIsDeferred() const;
378 void deferLoad(); 378 void deferLoad();
379 void cancelDeferredLoad(); 379 void cancelDeferredLoad();
380 void startDeferredLoad(); 380 void startDeferredLoad();
381 void executeDeferredLoad(); 381 void executeDeferredLoad();
382 void deferredLoadTimerFired(Timer<HTMLMediaElement>*); 382 void deferredLoadTimerFired(Timer<HTMLMediaElement>*);
383 383
384 HTMLTrackElement* showingTrackWithSameKind(HTMLTrackElement*) const;
385
386 void markCaptionAndSubtitleTracksAsUnconfigured(); 384 void markCaptionAndSubtitleTracksAsUnconfigured();
387 385
388 // This does not check user gesture restrictions. 386 // This does not check user gesture restrictions.
389 void playInternal(); 387 void playInternal();
390 388
391 void gesturelessInitialPlayHalted(); 389 void gesturelessInitialPlayHalted();
392 void autoplayMediaEncountered(); 390 void autoplayMediaEncountered();
393 void allowVideoRendering(); 391 void allowVideoRendering();
394 392
395 void updateVolume(); 393 void updateVolume();
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 inline bool isHTMLMediaElement(const HTMLElement& element) 624 inline bool isHTMLMediaElement(const HTMLElement& element)
627 { 625 {
628 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 626 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
629 } 627 }
630 628
631 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 629 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
632 630
633 } // namespace blink 631 } // namespace blink
634 632
635 #endif // HTMLMediaElement_h 633 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698