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

Side by Side Diff: third_party/WebKit/Source/core/paint/InlinePainter.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 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
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 InlinePainter_h 5 #ifndef InlinePainter_h
6 #define InlinePainter_h 6 #define InlinePainter_h
7 7
8 #include "core/style/ComputedStyleConstants.h" 8 #include "core/style/ComputedStyleConstants.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class Color;
15 class GraphicsContext;
16 class LayoutPoint; 14 class LayoutPoint;
17 class LayoutRect;
18 struct PaintInfo; 15 struct PaintInfo;
19 class LayoutInline; 16 class LayoutInline;
20 17
21 class InlinePainter { 18 class InlinePainter {
22 STACK_ALLOCATED(); 19 STACK_ALLOCATED();
23 20
24 public: 21 public:
25 InlinePainter(const LayoutInline& layoutInline) 22 InlinePainter(const LayoutInline& layoutInline)
26 : m_layoutInline(layoutInline) {} 23 : m_layoutInline(layoutInline) {}
27 24
28 void paint(const PaintInfo&, const LayoutPoint& paintOffset); 25 void paint(const PaintInfo&, const LayoutPoint& paintOffset);
29 26
30 private: 27 private:
31 const LayoutInline& m_layoutInline; 28 const LayoutInline& m_layoutInline;
32 }; 29 };
33 30
34 } // namespace blink 31 } // namespace blink
35 32
36 #endif // InlinePainter_h 33 #endif // InlinePainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/GridPainter.h ('k') | third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698