Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: Source/core/paint/BoxPainter.h

Issue 713553002: Clean up forward declarations in core/rendering and core/painting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/paint/BlockFlowPainter.h ('k') | Source/core/paint/LayerPainter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/paint/ObjectPainter.h"
9 #include "core/rendering/RenderBoxModelObject.h" 9 #include "core/rendering/RenderBoxModelObject.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class BackgroundImageGeometry;
13 class LayoutPoint; 14 class LayoutPoint;
14 struct PaintInfo; 15 struct PaintInfo;
15 class RenderBox; 16 class RenderBox;
16 class RenderObject; 17 class RenderObject;
17 18
18 class BoxPainter { 19 class BoxPainter {
19 public: 20 public:
20 BoxPainter(RenderBox& renderBox) : m_renderBox(renderBox) { } 21 BoxPainter(RenderBox& renderBox) : m_renderBox(renderBox) { }
21 void paint(PaintInfo&, const LayoutPoint&); 22 void paint(PaintInfo&, const LayoutPoint&);
22 23
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 BoxSide, bool firstEdgeMatches, bool secondEdgeMatches); 64 BoxSide, bool firstEdgeMatches, bool secondEdgeMatches);
64 static void clipBorderSideForComplexInnerPath(GraphicsContext*, const Rounde dRect&, const RoundedRect&, BoxSide, const BorderEdge[]); 65 static void clipBorderSideForComplexInnerPath(GraphicsContext*, const Rounde dRect&, const RoundedRect&, BoxSide, const BorderEdge[]);
65 66
66 // FIXME: this should be const. 67 // FIXME: this should be const.
67 RenderBox& m_renderBox; 68 RenderBox& m_renderBox;
68 }; 69 };
69 70
70 } // namespace blink 71 } // namespace blink
71 72
72 #endif 73 #endif
OLDNEW
« no previous file with comments | « Source/core/paint/BlockFlowPainter.h ('k') | Source/core/paint/LayerPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698