| 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 ObjectPainter_h | 5 #ifndef ObjectPainter_h |
| 6 #define ObjectPainter_h | 6 #define ObjectPainter_h |
| 7 | 7 |
| 8 #include "core/style/ComputedStyleConstants.h" | 8 #include "core/style/ComputedStyleConstants.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
| 10 #include "wtf/Vector.h" | 10 #include "wtf/Vector.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class Color; | 14 class Color; |
| 15 class GraphicsContext; | 15 class GraphicsContext; |
| 16 class LayoutPoint; | 16 class LayoutPoint; |
| 17 class LayoutRect; | |
| 18 class LayoutSize; | |
| 19 struct PaintInfo; | 17 struct PaintInfo; |
| 20 class LayoutObject; | 18 class LayoutObject; |
| 21 class ComputedStyle; | 19 class ComputedStyle; |
| 22 | 20 |
| 23 class ObjectPainter { | 21 class ObjectPainter { |
| 24 STACK_ALLOCATED(); | 22 STACK_ALLOCATED(); |
| 25 | 23 |
| 26 public: | 24 public: |
| 27 ObjectPainter(const LayoutObject& layoutObject) | 25 ObjectPainter(const LayoutObject& layoutObject) |
| 28 : m_layoutObject(layoutObject) {} | 26 : m_layoutObject(layoutObject) {} |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 int adjacentWidth1, | 104 int adjacentWidth1, |
| 107 int adjacentWidth2, | 105 int adjacentWidth2, |
| 108 bool antialias); | 106 bool antialias); |
| 109 | 107 |
| 110 const LayoutObject& m_layoutObject; | 108 const LayoutObject& m_layoutObject; |
| 111 }; | 109 }; |
| 112 | 110 |
| 113 } // namespace blink | 111 } // namespace blink |
| 114 | 112 |
| 115 #endif | 113 #endif |
| OLD | NEW |