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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 protected: | 55 protected: |
56 TextTrackCueBox(Document&); | 56 TextTrackCueBox(Document&); |
57 }; | 57 }; |
58 | 58 |
59 // ---------------------------- | 59 // ---------------------------- |
60 | 60 |
61 class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInli
neData { | 61 class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInli
neData { |
62 REFCOUNTED_EVENT_TARGET(TextTrackCue); | 62 REFCOUNTED_EVENT_TARGET(TextTrackCue); |
63 public: | 63 public: |
64 static bool isInfiniteOrNonNumber(double value, const char* method, Exceptio
nState&); | 64 static bool isInfiniteOrNonNumber(double value, ExceptionState&); |
65 | 65 |
66 static const AtomicString& cueShadowPseudoId() | 66 static const AtomicString& cueShadowPseudoId() |
67 { | 67 { |
68 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); | 68 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); |
69 return cue; | 69 return cue; |
70 } | 70 } |
71 | 71 |
72 virtual ~TextTrackCue() { } | 72 virtual ~TextTrackCue() { } |
73 | 73 |
74 TextTrack* track() const; | 74 TextTrack* track() const; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 TextTrack* m_track; | 127 TextTrack* m_track; |
128 | 128 |
129 bool m_isActive; | 129 bool m_isActive; |
130 bool m_pauseOnExit; | 130 bool m_pauseOnExit; |
131 }; | 131 }; |
132 | 132 |
133 } // namespace WebCore | 133 } // namespace WebCore |
134 | 134 |
135 #endif | 135 #endif |
OLD | NEW |