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 21 matching lines...) Expand all Loading... |
32 #include "core/html/track/vtt/VTTRegion.h" | 32 #include "core/html/track/vtt/VTTRegion.h" |
33 | 33 |
34 #include "bindings/core/v8/ExceptionMessages.h" | 34 #include "bindings/core/v8/ExceptionMessages.h" |
35 #include "bindings/core/v8/ExceptionState.h" | 35 #include "bindings/core/v8/ExceptionState.h" |
36 #include "core/dom/ClientRect.h" | 36 #include "core/dom/ClientRect.h" |
37 #include "core/dom/DOMTokenList.h" | 37 #include "core/dom/DOMTokenList.h" |
38 #include "core/dom/ElementTraversal.h" | 38 #include "core/dom/ElementTraversal.h" |
39 #include "core/html/HTMLDivElement.h" | 39 #include "core/html/HTMLDivElement.h" |
40 #include "core/html/track/vtt/VTTParser.h" | 40 #include "core/html/track/vtt/VTTParser.h" |
41 #include "core/html/track/vtt/VTTScanner.h" | 41 #include "core/html/track/vtt/VTTScanner.h" |
| 42 #include "core/layout/LayoutObject.h" |
42 #include "core/rendering/RenderInline.h" | 43 #include "core/rendering/RenderInline.h" |
43 #include "core/rendering/RenderObject.h" | |
44 #include "platform/Logging.h" | 44 #include "platform/Logging.h" |
45 #include "wtf/MathExtras.h" | 45 #include "wtf/MathExtras.h" |
46 #include "wtf/text/StringBuilder.h" | 46 #include "wtf/text/StringBuilder.h" |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 // 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. |
51 // 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 |
52 | 52 |
53 // The region occupies by default 100% of the width of the video viewport. | 53 // The region occupies by default 100% of the width of the video viewport. |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 } | 470 } |
471 | 471 |
472 void VTTRegion::trace(Visitor* visitor) | 472 void VTTRegion::trace(Visitor* visitor) |
473 { | 473 { |
474 visitor->trace(m_cueContainer); | 474 visitor->trace(m_cueContainer); |
475 visitor->trace(m_regionDisplayTree); | 475 visitor->trace(m_regionDisplayTree); |
476 visitor->trace(m_track); | 476 visitor->trace(m_track); |
477 } | 477 } |
478 | 478 |
479 } // namespace blink | 479 } // namespace blink |
OLD | NEW |