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 25 matching lines...) Expand all Loading... |
36 #include "core/html/HTMLDivElement.h" | 36 #include "core/html/HTMLDivElement.h" |
37 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace WebCore { |
40 | 40 |
41 class ExceptionState; | 41 class ExceptionState; |
42 | 42 |
43 class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInli
neData { | 43 class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInli
neData { |
44 REFCOUNTED_EVENT_TARGET(TextTrackCue); | 44 REFCOUNTED_EVENT_TARGET(TextTrackCue); |
45 public: | 45 public: |
46 static bool isInfiniteOrNonNumber(double value, const char* method, Exceptio
nState&); | 46 static bool isInfiniteOrNonNumber(double value, ExceptionState&); |
47 | 47 |
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", AtomicString::Const
ructFromLiteral)); |
51 return cue; | 51 return cue; |
52 } | 52 } |
53 | 53 |
54 virtual ~TextTrackCue() { } | 54 virtual ~TextTrackCue() { } |
55 | 55 |
56 TextTrack* track() const; | 56 TextTrack* track() const; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 TextTrack* m_track; | 107 TextTrack* m_track; |
108 | 108 |
109 bool m_isActive; | 109 bool m_isActive; |
110 bool m_pauseOnExit; | 110 bool m_pauseOnExit; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace WebCore | 113 } // namespace WebCore |
114 | 114 |
115 #endif | 115 #endif |
OLD | NEW |