OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. | 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 12 matching lines...) Expand all Loading... |
23 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 23 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
27 * OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "core/html/track/vtt/VTTCue.h" | 31 #include "core/html/track/vtt/VTTCue.h" |
32 | 32 |
33 #include "CSSPropertyNames.h" | |
34 #include "CSSValueKeywords.h" | |
35 #include "RuntimeEnabledFeatures.h" | |
36 #include "bindings/v8/ExceptionMessages.h" | 33 #include "bindings/v8/ExceptionMessages.h" |
37 #include "bindings/v8/ExceptionStatePlaceholder.h" | 34 #include "bindings/v8/ExceptionStatePlaceholder.h" |
| 35 #include "core/CSSPropertyNames.h" |
| 36 #include "core/CSSValueKeywords.h" |
38 #include "core/dom/DocumentFragment.h" | 37 #include "core/dom/DocumentFragment.h" |
39 #include "core/dom/NodeTraversal.h" | 38 #include "core/dom/NodeTraversal.h" |
40 #include "core/events/Event.h" | 39 #include "core/events/Event.h" |
41 #include "core/frame/UseCounter.h" | 40 #include "core/frame/UseCounter.h" |
42 #include "core/html/HTMLDivElement.h" | 41 #include "core/html/HTMLDivElement.h" |
43 #include "core/html/track/TextTrack.h" | 42 #include "core/html/track/TextTrack.h" |
44 #include "core/html/track/TextTrackCueList.h" | 43 #include "core/html/track/TextTrackCueList.h" |
45 #include "core/html/track/vtt/VTTElement.h" | 44 #include "core/html/track/vtt/VTTElement.h" |
46 #include "core/html/track/vtt/VTTParser.h" | 45 #include "core/html/track/vtt/VTTParser.h" |
47 #include "core/html/track/vtt/VTTRegionList.h" | 46 #include "core/html/track/vtt/VTTRegionList.h" |
48 #include "core/html/track/vtt/VTTScanner.h" | 47 #include "core/html/track/vtt/VTTScanner.h" |
49 #include "core/rendering/RenderVTTCue.h" | 48 #include "core/rendering/RenderVTTCue.h" |
| 49 #include "platform/RuntimeEnabledFeatures.h" |
50 #include "platform/text/BidiResolver.h" | 50 #include "platform/text/BidiResolver.h" |
51 #include "platform/text/TextRunIterator.h" | 51 #include "platform/text/TextRunIterator.h" |
52 #include "wtf/MathExtras.h" | 52 #include "wtf/MathExtras.h" |
53 #include "wtf/text/StringBuilder.h" | 53 #include "wtf/text/StringBuilder.h" |
54 | 54 |
55 namespace WebCore { | 55 namespace WebCore { |
56 | 56 |
57 static const int undefinedPosition = -1; | 57 static const int undefinedPosition = -1; |
58 static const int undefinedSize = -1; | 58 static const int undefinedSize = -1; |
59 | 59 |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 | 1098 |
1099 void VTTCue::trace(Visitor* visitor) | 1099 void VTTCue::trace(Visitor* visitor) |
1100 { | 1100 { |
1101 visitor->trace(m_vttNodeTree); | 1101 visitor->trace(m_vttNodeTree); |
1102 visitor->trace(m_cueBackgroundBox); | 1102 visitor->trace(m_cueBackgroundBox); |
1103 visitor->trace(m_displayTree); | 1103 visitor->trace(m_displayTree); |
1104 TextTrackCue::trace(visitor); | 1104 TextTrackCue::trace(visitor); |
1105 } | 1105 } |
1106 | 1106 |
1107 } // namespace WebCore | 1107 } // namespace WebCore |
OLD | NEW |