| 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 | 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 27 matching lines...) Expand all Loading... |
| 38 class CueTimeline; | 38 class CueTimeline; |
| 39 class ExceptionState; | 39 class ExceptionState; |
| 40 class HTMLMediaElement; | 40 class HTMLMediaElement; |
| 41 class TextTrack; | 41 class TextTrack; |
| 42 class TextTrackCue; | 42 class TextTrackCue; |
| 43 class TextTrackCueList; | 43 class TextTrackCueList; |
| 44 class TextTrackList; | 44 class TextTrackList; |
| 45 class VTTRegion; | 45 class VTTRegion; |
| 46 class VTTRegionList; | 46 class VTTRegionList; |
| 47 | 47 |
| 48 class CORE_EXPORT TextTrack : public RefCountedGarbageCollectedEventTargetWithIn
lineData<TextTrack>, public TrackBase { | 48 class CORE_EXPORT TextTrack : public EventTargetWithInlineData, public TrackBase
{ |
| 49 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
| 50 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrack); | 50 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrack); |
| 51 USING_GARBAGE_COLLECTED_MIXIN(TextTrack); | 51 USING_GARBAGE_COLLECTED_MIXIN(TextTrack); |
| 52 public: | 52 public: |
| 53 static TextTrack* create(const AtomicString& kind, const AtomicString& label
, const AtomicString& language) | 53 static TextTrack* create(const AtomicString& kind, const AtomicString& label
, const AtomicString& language) |
| 54 { | 54 { |
| 55 return new TextTrack(kind, label, language, emptyAtom, AddTrack); | 55 return new TextTrack(kind, label, language, emptyAtom, AddTrack); |
| 56 } | 56 } |
| 57 ~TextTrack() override; | 57 ~TextTrack() override; |
| 58 | 58 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 int m_trackIndex; | 144 int m_trackIndex; |
| 145 int m_renderedTrackIndex; | 145 int m_renderedTrackIndex; |
| 146 bool m_hasBeenConfigured; | 146 bool m_hasBeenConfigured; |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 DEFINE_TRACK_TYPE_CASTS(TextTrack, WebMediaPlayer::TextTrack); | 149 DEFINE_TRACK_TYPE_CASTS(TextTrack, WebMediaPlayer::TextTrack); |
| 150 | 150 |
| 151 } // namespace blink | 151 } // namespace blink |
| 152 | 152 |
| 153 #endif // TextTrack_h | 153 #endif // TextTrack_h |
| OLD | NEW |