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

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

Issue 2010823002: Remove assorted unnecessary includes in core/paint/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing includes. Created 4 years, 6 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
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/layout/LayoutBoxModelObject.h" 8 #include "core/layout/BackgroundBleedAvoidance.h"
9 #include "core/paint/ObjectPainter.h"
10 #include "core/style/ShadowData.h" 9 #include "core/style/ShadowData.h"
10 #include "platform/geometry/LayoutSize.h"
11 #include "platform/graphics/GraphicsTypes.h"
12 #include "third_party/skia/include/core/SkXfermode.h"
11 #include "wtf/Allocator.h" 13 #include "wtf/Allocator.h"
12 14
13 namespace blink { 15 namespace blink {
14 16
15 class BackgroundImageGeometry; 17 class BackgroundImageGeometry;
18 class ComputedStyle;
19 class FillLayer;
16 class FloatRoundedRect; 20 class FloatRoundedRect;
21 class GraphicsContext;
22 class Image;
23 class InlineFlowBox;
17 class LayoutPoint; 24 class LayoutPoint;
25 class LayoutRect;
26 class LayoutBoxModelObject;
27 class NinePieceImage;
18 struct PaintInfo; 28 struct PaintInfo;
19 class LayoutBox; 29 class LayoutBox;
20 class LayoutObject; 30 class LayoutObject;
21 31
22 class BoxPainter { 32 class BoxPainter {
23 STACK_ALLOCATED(); 33 STACK_ALLOCATED();
24 public: 34 public:
25 BoxPainter(const LayoutBox& layoutBox) : m_layoutBox(layoutBox) { } 35 BoxPainter(const LayoutBox& layoutBox) : m_layoutBox(layoutBox) { }
26 void paint(const PaintInfo&, const LayoutPoint&); 36 void paint(const PaintInfo&, const LayoutPoint&);
27 37
(...skipping 24 matching lines...) Expand all
52 62
53 private: 63 private:
54 void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backg roundColor, BackgroundBleedAvoidance = BackgroundBleedNone); 64 void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backg roundColor, BackgroundBleedAvoidance = BackgroundBleedNone);
55 65
56 const LayoutBox& m_layoutBox; 66 const LayoutBox& m_layoutBox;
57 }; 67 };
58 68
59 } // namespace blink 69 } // namespace blink
60 70
61 #endif 71 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698