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) 2011, 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 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 17 matching lines...) Expand all Loading... |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 #include "core/html/track/TextTrackCue.h" | 33 #include "core/html/track/TextTrackCue.h" |
34 | 34 |
35 #include "bindings/v8/ExceptionMessages.h" | 35 #include "bindings/v8/ExceptionMessages.h" |
36 #include "bindings/v8/ExceptionStatePlaceholder.h" | 36 #include "bindings/v8/ExceptionStatePlaceholder.h" |
37 #include "core/events/Event.h" | 37 #include "core/events/Event.h" |
38 #include "core/html/HTMLDivElement.h" | |
39 #include "core/html/track/TextTrack.h" | 38 #include "core/html/track/TextTrack.h" |
40 #include "core/html/track/TextTrackCueList.h" | 39 #include "core/html/track/TextTrackCueList.h" |
41 | 40 |
42 namespace WebCore { | 41 namespace WebCore { |
43 | 42 |
44 static const int invalidCueIndex = -1; | 43 static const int invalidCueIndex = -1; |
45 | 44 |
46 // ---------------------------- | 45 // ---------------------------- |
47 | 46 |
48 TextTrackCueBox::TextTrackCueBox(Document& document) | 47 TextTrackCueBox::TextTrackCueBox(Document& document) |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 if (!active) | 182 if (!active) |
184 removeDisplayTree(); | 183 removeDisplayTree(); |
185 } | 184 } |
186 | 185 |
187 const AtomicString& TextTrackCue::interfaceName() const | 186 const AtomicString& TextTrackCue::interfaceName() const |
188 { | 187 { |
189 return EventTargetNames::TextTrackCue; | 188 return EventTargetNames::TextTrackCue; |
190 } | 189 } |
191 | 190 |
192 } // namespace WebCore | 191 } // namespace WebCore |
OLD | NEW |