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