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