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

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

Issue 591613003: Move painting code from RenderObject into a new ObjectPainter class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge again. Created 6 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/BoxPainter.cpp » ('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/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
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
OLDNEW
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698