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 29 matching lines...) Expand all Loading... |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class TextTrack; | 42 class TextTrack; |
43 | 43 |
44 class TextTrackCue : public RefCountedGarbageCollectedEventTargetWithInlineData<
TextTrackCue> { | 44 class TextTrackCue : public RefCountedGarbageCollectedEventTargetWithInlineData<
TextTrackCue> { |
45 DEFINE_WRAPPERTYPEINFO(); | 45 DEFINE_WRAPPERTYPEINFO(); |
46 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrackCue); | 46 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(TextTrackCue); |
47 public: | 47 public: |
48 static const AtomicString& cueShadowPseudoId() | 48 static const AtomicString& cueShadowPseudoId() |
49 { | 49 { |
50 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); | 50 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue")); |
51 return cue; | 51 return cue; |
52 } | 52 } |
53 | 53 |
54 ~TextTrackCue() override { } | 54 ~TextTrackCue() override { } |
55 | 55 |
56 TextTrack* track() const; | 56 TextTrack* track() const; |
57 void setTrack(TextTrack*); | 57 void setTrack(TextTrack*); |
58 | 58 |
59 Node* owner() const; | 59 Node* owner() const; |
60 | 60 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 unsigned m_cueIndex; | 121 unsigned m_cueIndex; |
122 | 122 |
123 bool m_isActive : 1; | 123 bool m_isActive : 1; |
124 bool m_pauseOnExit : 1; | 124 bool m_pauseOnExit : 1; |
125 }; | 125 }; |
126 | 126 |
127 } // namespace blink | 127 } // namespace blink |
128 | 128 |
129 #endif // TextTrackCue_h | 129 #endif // TextTrackCue_h |
OLD | NEW |