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 24 matching lines...) Expand all Loading... |
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 ExceptionState; | 42 class ExceptionState; |
43 | 43 |
44 class TextTrackCue : public RefCountedWillBeGarbageCollectedFinalized<TextTrackC
ue>, public EventTargetWithInlineData { | 44 class TextTrackCue : public RefCountedWillBeGarbageCollectedFinalized<TextTrackC
ue>, public EventTargetWithInlineData { |
| 45 DEFINE_WRAPPERTYPEINFO(); |
45 REFCOUNTED_EVENT_TARGET(TextTrackCue); | 46 REFCOUNTED_EVENT_TARGET(TextTrackCue); |
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrackCue); | 47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrackCue); |
47 public: | 48 public: |
48 static const AtomicString& cueShadowPseudoId() | 49 static const AtomicString& cueShadowPseudoId() |
49 { | 50 { |
50 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); | 51 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); |
51 return cue; | 52 return cue; |
52 } | 53 } |
53 | 54 |
54 virtual ~TextTrackCue() { } | 55 virtual ~TextTrackCue() { } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 int m_cueIndex; | 112 int m_cueIndex; |
112 | 113 |
113 RawPtrWillBeMember<TextTrack> m_track; | 114 RawPtrWillBeMember<TextTrack> m_track; |
114 | 115 |
115 bool m_isActive : 1; | 116 bool m_isActive : 1; |
116 bool m_pauseOnExit : 1; | 117 bool m_pauseOnExit : 1; |
117 }; | 118 }; |
118 | 119 |
119 } // namespace blink | 120 } // namespace blink |
120 | 121 |
121 #endif | 122 #endif // TextTrackCue_h |
OLD | NEW |