| 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 #ifndef InlineTextBoxPainter_h | 5 #ifndef InlineTextBoxPainter_h |
| 6 #define InlineTextBoxPainter_h | 6 #define InlineTextBoxPainter_h |
| 7 | 7 |
| 8 #include "core/style/ComputedStyleConstants.h" | 8 #include "core/style/ComputedStyleConstants.h" |
| 9 #include "platform/geometry/LayoutRect.h" | 9 #include "platform/geometry/LayoutRect.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 struct PaintInfo; | 14 struct PaintInfo; |
| 15 | 15 |
| 16 class AppliedTextDecoration; | 16 class AppliedTextDecoration; |
| 17 class Color; | 17 class Color; |
| 18 class CompositionUnderline; | 18 class CompositionUnderline; |
| 19 class ComputedStyle; | 19 class ComputedStyle; |
| 20 class DocumentMarker; | 20 class DocumentMarker; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 bool ShouldPaintTextBox(const PaintInfo&); | 94 bool ShouldPaintTextBox(const PaintInfo&); |
| 95 void ExpandToIncludeNewlineForSelection(LayoutRect&); | 95 void ExpandToIncludeNewlineForSelection(LayoutRect&); |
| 96 LayoutObject& InlineLayoutObject() const; | 96 LayoutObject& InlineLayoutObject() const; |
| 97 | 97 |
| 98 const InlineTextBox& inline_text_box_; | 98 const InlineTextBox& inline_text_box_; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace blink | 101 } // namespace blink |
| 102 | 102 |
| 103 #endif // InlineTextBoxPainter_h | 103 #endif // InlineTextBoxPainter_h |
| OLD | NEW |