OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 22 matching lines...) Expand all Loading... |
33 #include "platform/heap/Handle.h" | 33 #include "platform/heap/Handle.h" |
34 #include "wtf/PassRefPtr.h" | 34 #include "wtf/PassRefPtr.h" |
35 #include "wtf/RefCounted.h" | 35 #include "wtf/RefCounted.h" |
36 #include "wtf/Vector.h" | 36 #include "wtf/Vector.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class GenericEventQueue; | 40 class GenericEventQueue; |
41 class TextTrack; | 41 class TextTrack; |
42 | 42 |
43 class TextTrackList final : public RefCountedGarbageCollectedEventTargetWithInli
neData<TextTrackList> { | 43 class CORE_EXPORT TextTrackList final : public RefCountedGarbageCollectedEventTa
rgetWithInlineData<TextTrackList> { |
44 DEFINE_WRAPPERTYPEINFO(); | 44 DEFINE_WRAPPERTYPEINFO(); |
45 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrackList); | 45 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrackList); |
46 public: | 46 public: |
47 static TextTrackList* create(HTMLMediaElement* owner) | 47 static TextTrackList* create(HTMLMediaElement* owner) |
48 { | 48 { |
49 return new TextTrackList(owner); | 49 return new TextTrackList(owner); |
50 } | 50 } |
51 ~TextTrackList() override; | 51 ~TextTrackList() override; |
52 | 52 |
53 unsigned length() const; | 53 unsigned length() const; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue; | 95 OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue; |
96 | 96 |
97 HeapVector<Member<TextTrack>> m_addTrackTracks; | 97 HeapVector<Member<TextTrack>> m_addTrackTracks; |
98 HeapVector<Member<TextTrack>> m_elementTracks; | 98 HeapVector<Member<TextTrack>> m_elementTracks; |
99 HeapVector<Member<TextTrack>> m_inbandTracks; | 99 HeapVector<Member<TextTrack>> m_inbandTracks; |
100 }; | 100 }; |
101 | 101 |
102 } // namespace blink | 102 } // namespace blink |
103 | 103 |
104 #endif // TextTrackList_h | 104 #endif // TextTrackList_h |
OLD | NEW |