| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 return closed; | 88 return closed; |
| 89 } | 89 } |
| 90 | 90 |
| 91 const AtomicString& TextTrack::showingKeyword() | 91 const AtomicString& TextTrack::showingKeyword() |
| 92 { | 92 { |
| 93 DEFINE_STATIC_LOCAL(const AtomicString, ended, ("showing", AtomicString::Con
structFromLiteral)); | 93 DEFINE_STATIC_LOCAL(const AtomicString, ended, ("showing", AtomicString::Con
structFromLiteral)); |
| 94 return ended; | 94 return ended; |
| 95 } | 95 } |
| 96 | 96 |
| 97 TextTrack::TextTrack(const AtomicString& kind, const AtomicString& label, const
AtomicString& language, const AtomicString& id, TextTrackType type) | 97 TextTrack::TextTrack(const AtomicString& kind, const AtomicString& label, const
AtomicString& language, const AtomicString& id, TextTrackType type) |
| 98 : TrackBase(TrackBase::TextTrack, label, language, id) | 98 : TrackBase(WebMediaPlayer::TextTrack, label, language, id) |
| 99 , m_cues(nullptr) | 99 , m_cues(nullptr) |
| 100 , m_regions(nullptr) | 100 , m_regions(nullptr) |
| 101 , m_trackList(nullptr) | 101 , m_trackList(nullptr) |
| 102 , m_mode(disabledKeyword()) | 102 , m_mode(disabledKeyword()) |
| 103 , m_trackType(type) | 103 , m_trackType(type) |
| 104 , m_readinessState(NotLoaded) | 104 , m_readinessState(NotLoaded) |
| 105 , m_trackIndex(invalidTrackIndex) | 105 , m_trackIndex(invalidTrackIndex) |
| 106 , m_renderedTrackIndex(invalidTrackIndex) | 106 , m_renderedTrackIndex(invalidTrackIndex) |
| 107 , m_hasBeenConfigured(false) | 107 , m_hasBeenConfigured(false) |
| 108 { | 108 { |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 { | 473 { |
| 474 visitor->trace(m_cues); | 474 visitor->trace(m_cues); |
| 475 visitor->trace(m_activeCues); | 475 visitor->trace(m_activeCues); |
| 476 visitor->trace(m_regions); | 476 visitor->trace(m_regions); |
| 477 visitor->trace(m_trackList); | 477 visitor->trace(m_trackList); |
| 478 TrackBase::trace(visitor); | 478 TrackBase::trace(visitor); |
| 479 RefCountedGarbageCollectedEventTargetWithInlineData<TextTrack>::trace(visito
r); | 479 RefCountedGarbageCollectedEventTargetWithInlineData<TextTrack>::trace(visito
r); |
| 480 } | 480 } |
| 481 | 481 |
| 482 } // namespace blink | 482 } // namespace blink |
| OLD | NEW |