| 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/paint/ObjectPainter.h" |
| 8 #include "core/rendering/RenderBoxModelObject.h" | 9 #include "core/rendering/RenderBoxModelObject.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 class LayoutPoint; | 13 class LayoutPoint; |
| 13 struct PaintInfo; | 14 struct PaintInfo; |
| 14 class RenderBox; | 15 class RenderBox; |
| 15 class RenderObject; | 16 class RenderObject; |
| 16 | 17 |
| 17 class BoxPainter { | 18 class BoxPainter { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 BoxSide, bool firstEdgeMatches, bool secondEdgeMatches); | 63 BoxSide, bool firstEdgeMatches, bool secondEdgeMatches); |
| 63 static void clipBorderSideForComplexInnerPath(GraphicsContext*, const Rounde
dRect&, const RoundedRect&, BoxSide, const BorderEdge[]); | 64 static void clipBorderSideForComplexInnerPath(GraphicsContext*, const Rounde
dRect&, const RoundedRect&, BoxSide, const BorderEdge[]); |
| 64 | 65 |
| 65 // FIXME: this should be const. | 66 // FIXME: this should be const. |
| 66 RenderBox& m_renderBox; | 67 RenderBox& m_renderBox; |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 } // namespace blink | 70 } // namespace blink |
| 70 | 71 |
| 71 #endif | 72 #endif |
| OLD | NEW |