| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 TextTrack* m_track; | 125 TextTrack* m_track; |
| 126 | 126 |
| 127 bool m_isActive; | 127 bool m_isActive; |
| 128 bool m_pauseOnExit; | 128 bool m_pauseOnExit; |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace WebCore | 131 } // namespace WebCore |
| 132 | 132 |
| 133 #endif | 133 #endif |
| OLD | NEW |