OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "core/paint/SVGInlineTextBoxPainter.h" | 6 #include "core/paint/SVGInlineTextBoxPainter.h" |
7 | 7 |
8 #include "core/dom/DocumentMarkerController.h" | 8 #include "core/dom/DocumentMarkerController.h" |
9 #include "core/dom/RenderedDocumentMarker.h" | 9 #include "core/dom/RenderedDocumentMarker.h" |
10 #include "core/editing/Editor.h" | 10 #include "core/editing/Editor.h" |
11 #include "core/frame/LocalFrame.h" | 11 #include "core/frame/LocalFrame.h" |
12 #include "core/layout/LayoutInline.h" | 12 #include "core/layout/LayoutInline.h" |
13 #include "core/layout/LayoutTheme.h" | 13 #include "core/layout/LayoutTheme.h" |
14 #include "core/layout/PaintInfo.h" | 14 #include "core/layout/PaintInfo.h" |
15 #include "core/layout/style/ShadowList.h" | 15 #include "core/style/ShadowList.h" |
16 #include "core/layout/svg/LayoutSVGInlineText.h" | 16 #include "core/layout/svg/LayoutSVGInlineText.h" |
17 #include "core/layout/svg/SVGLayoutSupport.h" | 17 #include "core/layout/svg/SVGLayoutSupport.h" |
18 #include "core/layout/svg/SVGResourcesCache.h" | 18 #include "core/layout/svg/SVGResourcesCache.h" |
19 #include "core/layout/svg/line/SVGInlineTextBox.h" | 19 #include "core/layout/svg/line/SVGInlineTextBox.h" |
20 #include "core/paint/InlinePainter.h" | 20 #include "core/paint/InlinePainter.h" |
21 #include "core/paint/InlineTextBoxPainter.h" | 21 #include "core/paint/InlineTextBoxPainter.h" |
22 #include "core/paint/LayoutObjectDrawingRecorder.h" | 22 #include "core/paint/LayoutObjectDrawingRecorder.h" |
23 | 23 |
24 namespace blink { | 24 namespace blink { |
25 | 25 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 | 441 |
442 fragmentRect = fragmentTransform.mapRect(fragmentRect); | 442 fragmentRect = fragmentTransform.mapRect(fragmentRect); |
443 markerRect.unite(fragmentRect); | 443 markerRect.unite(fragmentRect); |
444 } | 444 } |
445 } | 445 } |
446 | 446 |
447 toRenderedDocumentMarker(marker)->setRenderedRect(LayoutRect(textRenderer.lo
calToAbsoluteQuad(markerRect).enclosingBoundingBox())); | 447 toRenderedDocumentMarker(marker)->setRenderedRect(LayoutRect(textRenderer.lo
calToAbsoluteQuad(markerRect).enclosingBoundingBox())); |
448 } | 448 } |
449 | 449 |
450 } // namespace blink | 450 } // namespace blink |
OLD | NEW |