OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "core/html/track/vtt/VTTRegion.h" | 31 #include "core/html/track/vtt/VTTRegion.h" |
32 | 32 |
33 #include "bindings/core/v8/ExceptionMessages.h" | 33 #include "bindings/core/v8/ExceptionMessages.h" |
34 #include "bindings/core/v8/ExceptionState.h" | 34 #include "bindings/core/v8/ExceptionState.h" |
35 #include "core/dom/ClientRect.h" | 35 #include "core/dom/ClientRect.h" |
36 #include "core/dom/DOMTokenList.h" | 36 #include "core/dom/DOMTokenList.h" |
37 #include "core/dom/ElementTraversal.h" | 37 #include "core/dom/ElementTraversal.h" |
| 38 #include "core/dom/ExceptionCode.h" |
38 #include "core/html/HTMLDivElement.h" | 39 #include "core/html/HTMLDivElement.h" |
39 #include "core/html/track/vtt/VTTParser.h" | 40 #include "core/html/track/vtt/VTTParser.h" |
40 #include "core/html/track/vtt/VTTScanner.h" | 41 #include "core/html/track/vtt/VTTScanner.h" |
41 #include "core/layout/LayoutInline.h" | |
42 #include "core/layout/LayoutObject.h" | |
43 #include "platform/Logging.h" | 42 #include "platform/Logging.h" |
44 #include "wtf/MathExtras.h" | 43 #include "wtf/MathExtras.h" |
45 #include "wtf/text/StringBuilder.h" | 44 #include "wtf/text/StringBuilder.h" |
46 | 45 |
47 #define VTT_LOG_LEVEL 3 | 46 #define VTT_LOG_LEVEL 3 |
48 | 47 |
49 namespace blink { | 48 namespace blink { |
50 | 49 |
51 // The following values default values are defined within the WebVTT Regions Spe
c. | 50 // The following values default values are defined within the WebVTT Regions Spe
c. |
52 // https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html | 51 // https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 } | 470 } |
472 | 471 |
473 DEFINE_TRACE(VTTRegion) | 472 DEFINE_TRACE(VTTRegion) |
474 { | 473 { |
475 visitor->trace(m_cueContainer); | 474 visitor->trace(m_cueContainer); |
476 visitor->trace(m_regionDisplayTree); | 475 visitor->trace(m_regionDisplayTree); |
477 visitor->trace(m_track); | 476 visitor->trace(m_track); |
478 } | 477 } |
479 | 478 |
480 } // namespace blink | 479 } // namespace blink |
OLD | NEW |