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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 | 33 |
34 #include "core/html/track/TextTrackCue.h" | 34 #include "core/html/track/TextTrackCue.h" |
35 | 35 |
36 #include "CSSPropertyNames.h" | 36 #include "CSSPropertyNames.h" |
37 #include "CSSValueKeywords.h" | 37 #include "CSSValueKeywords.h" |
38 #include "core/dom/DocumentFragment.h" | 38 #include "core/dom/DocumentFragment.h" |
39 #include "core/dom/Event.h" | 39 #include "core/dom/Event.h" |
40 #include "core/dom/NodeTraversal.h" | 40 #include "core/dom/NodeTraversal.h" |
41 #include "core/dom/Text.h" | |
42 #include "core/html/HTMLDivElement.h" | 41 #include "core/html/HTMLDivElement.h" |
43 #include "core/html/HTMLMediaElement.h" | |
44 #include "core/html/HTMLSpanElement.h" | |
45 #include "core/html/track/TextTrack.h" | 42 #include "core/html/track/TextTrack.h" |
46 #include "core/html/track/TextTrackCueList.h" | 43 #include "core/html/track/TextTrackCueList.h" |
47 #include "core/html/track/WebVTTElement.h" | 44 #include "core/html/track/WebVTTElement.h" |
48 #include "core/html/track/WebVTTParser.h" | 45 #include "core/html/track/WebVTTParser.h" |
49 #include "core/rendering/RenderTextTrackCue.h" | 46 #include "core/rendering/RenderTextTrackCue.h" |
50 #include <wtf/MathExtras.h> | 47 #include <wtf/MathExtras.h> |
51 #include <wtf/text/StringBuilder.h> | 48 #include <wtf/text/StringBuilder.h> |
52 | 49 |
53 namespace WebCore { | 50 namespace WebCore { |
54 | 51 |
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 if (m_cueSize != cue.size()) | 1169 if (m_cueSize != cue.size()) |
1173 return false; | 1170 return false; |
1174 if (align() != cue.align()) | 1171 if (align() != cue.align()) |
1175 return false; | 1172 return false; |
1176 | 1173 |
1177 return true; | 1174 return true; |
1178 } | 1175 } |
1179 | 1176 |
1180 } // namespace WebCore | 1177 } // namespace WebCore |
1181 | 1178 |
OLD | NEW |