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/InlineTextBoxPainter.h" | 6 #include "core/paint/InlineTextBoxPainter.h" |
7 | 7 |
8 #include "core/dom/DocumentMarkerController.h" | |
9 #include "core/dom/RenderedDocumentMarker.h" | |
10 #include "core/editing/CompositionUnderline.h" | 8 #include "core/editing/CompositionUnderline.h" |
11 #include "core/editing/CompositionUnderlineRangeFilter.h" | 9 #include "core/editing/CompositionUnderlineRangeFilter.h" |
12 #include "core/editing/Editor.h" | 10 #include "core/editing/Editor.h" |
13 #include "core/editing/InputMethodController.h" | 11 #include "core/editing/InputMethodController.h" |
| 12 #include "core/editing/markers/DocumentMarkerController.h" |
| 13 #include "core/editing/markers/RenderedDocumentMarker.h" |
14 #include "core/frame/LocalFrame.h" | 14 #include "core/frame/LocalFrame.h" |
15 #include "core/layout/LayoutBlock.h" | 15 #include "core/layout/LayoutBlock.h" |
16 #include "core/layout/LayoutTextCombine.h" | 16 #include "core/layout/LayoutTextCombine.h" |
17 #include "core/layout/LayoutTheme.h" | 17 #include "core/layout/LayoutTheme.h" |
18 #include "core/layout/line/InlineTextBox.h" | 18 #include "core/layout/line/InlineTextBox.h" |
19 #include "core/paint/BoxPainter.h" | 19 #include "core/paint/BoxPainter.h" |
20 #include "core/paint/PaintInfo.h" | 20 #include "core/paint/PaintInfo.h" |
21 #include "core/paint/TextPainter.h" | 21 #include "core/paint/TextPainter.h" |
22 #include "platform/graphics/GraphicsContextStateSaver.h" | 22 #include "platform/graphics/GraphicsContextStateSaver.h" |
23 #include "platform/graphics/paint/DrawingRecorder.h" | 23 #include "platform/graphics/paint/DrawingRecorder.h" |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 LayoutPoint textOrigin(boxOrigin.x(), boxOrigin.y() + font.fontMetri
cs().ascent()); | 829 LayoutPoint textOrigin(boxOrigin.x(), boxOrigin.y() + font.fontMetri
cs().ascent()); |
830 TextPainter textPainter(pt, font, run, textOrigin, boxRect, m_inline
TextBox.isHorizontal()); | 830 TextPainter textPainter(pt, font, run, textOrigin, boxRect, m_inline
TextBox.isHorizontal()); |
831 | 831 |
832 textPainter.paint(sPos, ePos, length, textStyle, 0); | 832 textPainter.paint(sPos, ePos, length, textStyle, 0); |
833 } | 833 } |
834 } | 834 } |
835 } | 835 } |
836 | 836 |
837 | 837 |
838 } // namespace blink | 838 } // namespace blink |
OLD | NEW |