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) 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 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 21 matching lines...) Expand all Loading... |
32 #ifndef TextTrackCue_h | 32 #ifndef TextTrackCue_h |
33 #define TextTrackCue_h | 33 #define TextTrackCue_h |
34 | 34 |
35 #include "core/events/EventTarget.h" | 35 #include "core/events/EventTarget.h" |
36 #include "core/html/HTMLDivElement.h" | 36 #include "core/html/HTMLDivElement.h" |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
| 42 class TextTrack; |
| 43 |
42 class TextTrackCue : public RefCountedWillBeGarbageCollectedFinalized<TextTrackC
ue>, public EventTargetWithInlineData { | 44 class TextTrackCue : public RefCountedWillBeGarbageCollectedFinalized<TextTrackC
ue>, public EventTargetWithInlineData { |
43 DEFINE_WRAPPERTYPEINFO(); | 45 DEFINE_WRAPPERTYPEINFO(); |
44 REFCOUNTED_EVENT_TARGET(TextTrackCue); | 46 REFCOUNTED_EVENT_TARGET(TextTrackCue); |
45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrackCue); | 47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrackCue); |
46 public: | 48 public: |
47 static const AtomicString& cueShadowPseudoId() | 49 static const AtomicString& cueShadowPseudoId() |
48 { | 50 { |
49 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); | 51 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); |
50 return cue; | 52 return cue; |
51 } | 53 } |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 113 |
112 RawPtrWillBeMember<TextTrack> m_track; | 114 RawPtrWillBeMember<TextTrack> m_track; |
113 | 115 |
114 bool m_isActive : 1; | 116 bool m_isActive : 1; |
115 bool m_pauseOnExit : 1; | 117 bool m_pauseOnExit : 1; |
116 }; | 118 }; |
117 | 119 |
118 } // namespace blink | 120 } // namespace blink |
119 | 121 |
120 #endif // TextTrackCue_h | 122 #endif // TextTrackCue_h |
OLD | NEW |