OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BoxBorderPainter_h | 5 #ifndef BoxBorderPainter_h |
6 #define BoxBorderPainter_h | 6 #define BoxBorderPainter_h |
7 | 7 |
8 #include "core/layout/BackgroundBleedAvoidance.h" | 8 #include "core/layout/BackgroundBleedAvoidance.h" |
9 #include "core/style/BorderEdge.h" | 9 #include "core/style/BorderEdge.h" |
10 #include "platform/geometry/FloatRoundedRect.h" | 10 #include "platform/geometry/FloatRoundedRect.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class ComputedStyle; | 14 class ComputedStyle; |
15 class GraphicsContext; | 15 class GraphicsContext; |
16 class IntRect; | |
17 class LayoutBox; | |
18 class LayoutRect; | 16 class LayoutRect; |
19 struct PaintInfo; | 17 struct PaintInfo; |
20 class Path; | 18 class Path; |
21 | 19 |
22 typedef unsigned BorderEdgeFlags; | 20 typedef unsigned BorderEdgeFlags; |
23 | 21 |
24 class BoxBorderPainter { | 22 class BoxBorderPainter { |
25 STACK_ALLOCATED(); | 23 STACK_ALLOCATED(); |
26 | 24 |
27 public: | 25 public: |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool m_isUniformStyle; | 114 bool m_isUniformStyle; |
117 bool m_isUniformWidth; | 115 bool m_isUniformWidth; |
118 bool m_isUniformColor; | 116 bool m_isUniformColor; |
119 bool m_isRounded; | 117 bool m_isRounded; |
120 bool m_hasAlpha; | 118 bool m_hasAlpha; |
121 }; | 119 }; |
122 | 120 |
123 } // namespace blink | 121 } // namespace blink |
124 | 122 |
125 #endif | 123 #endif |
OLD | NEW |