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 BoxPainter_h | 5 #ifndef BoxPainter_h |
6 #define BoxPainter_h | 6 #define BoxPainter_h |
7 | 7 |
8 #include "core/layout/LayoutBoxModelObject.h" | 8 #include "core/layout/LayoutBoxModelObject.h" |
9 #include "core/paint/ObjectPainter.h" | 9 #include "core/paint/ObjectPainter.h" |
| 10 #include "core/style/ShadowData.h" |
10 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
11 | 12 |
12 namespace blink { | 13 namespace blink { |
13 | 14 |
14 class BackgroundImageGeometry; | 15 class BackgroundImageGeometry; |
15 class FloatRoundedRect; | 16 class FloatRoundedRect; |
16 class LayoutPoint; | 17 class LayoutPoint; |
17 struct PaintInfo; | 18 struct PaintInfo; |
18 class LayoutBox; | 19 class LayoutBox; |
19 class LayoutObject; | 20 class LayoutObject; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 52 |
52 private: | 53 private: |
53 void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backg
roundColor, BackgroundBleedAvoidance = BackgroundBleedNone); | 54 void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backg
roundColor, BackgroundBleedAvoidance = BackgroundBleedNone); |
54 | 55 |
55 const LayoutBox& m_layoutBox; | 56 const LayoutBox& m_layoutBox; |
56 }; | 57 }; |
57 | 58 |
58 } // namespace blink | 59 } // namespace blink |
59 | 60 |
60 #endif | 61 #endif |
OLD | NEW |