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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 // time has not changed since sending an "ended" event | 532 // time has not changed since sending an "ended" event |
533 bool m_sentEndEvent : 1; | 533 bool m_sentEndEvent : 1; |
534 | 534 |
535 bool m_closedCaptionsVisible : 1; | 535 bool m_closedCaptionsVisible : 1; |
536 | 536 |
537 bool m_completelyLoaded : 1; | 537 bool m_completelyLoaded : 1; |
538 bool m_havePreparedToPlay : 1; | 538 bool m_havePreparedToPlay : 1; |
539 bool m_delayingLoadForPreloadNone : 1; | 539 bool m_delayingLoadForPreloadNone : 1; |
540 | 540 |
541 bool m_tracksAreReady : 1; | 541 bool m_tracksAreReady : 1; |
542 bool m_haveVisibleTextTrack : 1; | |
543 bool m_processingPreferenceChange : 1; | 542 bool m_processingPreferenceChange : 1; |
544 bool m_remoteRoutesAvailable : 1; | 543 bool m_remoteRoutesAvailable : 1; |
545 bool m_playingRemotely : 1; | 544 bool m_playingRemotely : 1; |
546 bool m_isFinalizing : 1; | 545 bool m_isFinalizing : 1; |
547 bool m_initialPlayWithoutUserGesture : 1; | 546 bool m_initialPlayWithoutUserGesture : 1; |
548 bool m_autoplayMediaCounted : 1; | 547 bool m_autoplayMediaCounted : 1; |
549 // Whether this element is in overlay fullscreen mode. | 548 // Whether this element is in overlay fullscreen mode. |
550 bool m_inOverlayFullscreenVideo : 1; | 549 bool m_inOverlayFullscreenVideo : 1; |
551 | 550 |
552 PersistentWillBeMember<AudioTrackList> m_audioTracks; | 551 PersistentWillBeMember<AudioTrackList> m_audioTracks; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 inline bool isHTMLMediaElement(const HTMLElement& element) | 622 inline bool isHTMLMediaElement(const HTMLElement& element) |
624 { | 623 { |
625 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 624 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
626 } | 625 } |
627 | 626 |
628 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 627 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
629 | 628 |
630 } // namespace blink | 629 } // namespace blink |
631 | 630 |
632 #endif // HTMLMediaElement_h | 631 #endif // HTMLMediaElement_h |
OLD | NEW |