| 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 "wtf/Allocator.h" | 
| 11 | 11 | 
| 12 namespace blink { | 12 namespace blink { | 
| 13 | 13 | 
| 14 struct PaintInfo; | 14 struct PaintInfo; | 
| 15 | 15 | 
| 16 class Color; | 16 class Color; | 
| 17 class CompositionUnderline; | 17 class CompositionUnderline; | 
| 18 class ComputedStyle; | 18 class ComputedStyle; | 
| 19 class DocumentMarker; | 19 class DocumentMarker; | 
| 20 class FloatPoint; |  | 
| 21 class FloatRect; |  | 
| 22 class Font; | 20 class Font; | 
| 23 class GraphicsContext; | 21 class GraphicsContext; | 
| 24 class InlineTextBox; | 22 class InlineTextBox; | 
| 25 class LayoutObject; | 23 class LayoutObject; | 
| 26 class LayoutPoint; | 24 class LayoutPoint; | 
| 27 class LayoutTextCombine; | 25 class LayoutTextCombine; | 
| 28 | 26 | 
| 29 enum class DocumentMarkerPaintPhase { Foreground, Background }; | 27 enum class DocumentMarkerPaintPhase { Foreground, Background }; | 
| 30 | 28 | 
| 31 class InlineTextBoxPainter { | 29 class InlineTextBoxPainter { | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 94   bool shouldPaintTextBox(const PaintInfo&); | 92   bool shouldPaintTextBox(const PaintInfo&); | 
| 95   void expandToIncludeNewlineForSelection(LayoutRect&); | 93   void expandToIncludeNewlineForSelection(LayoutRect&); | 
| 96   LayoutObject& inlineLayoutObject() const; | 94   LayoutObject& inlineLayoutObject() const; | 
| 97 | 95 | 
| 98   const InlineTextBox& m_inlineTextBox; | 96   const InlineTextBox& m_inlineTextBox; | 
| 99 }; | 97 }; | 
| 100 | 98 | 
| 101 }  // namespace blink | 99 }  // namespace blink | 
| 102 | 100 | 
| 103 #endif  // InlineTextBoxPainter_h | 101 #endif  // InlineTextBoxPainter_h | 
| OLD | NEW | 
|---|