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

Side by Side Diff: third_party/WebKit/Source/core/paint/BoxDecorationData.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 BoxDecorationData_h 5 #ifndef BoxDecorationData_h
6 #define BoxDecorationData_h 6 #define BoxDecorationData_h
7 7
8 #include "core/layout/BackgroundBleedAvoidance.h" 8 #include "core/layout/BackgroundBleedAvoidance.h"
9 #include "platform/graphics/Color.h" 9 #include "platform/graphics/Color.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class GraphicsContext;
14 class LayoutBox; 13 class LayoutBox;
15 14
16 // Information extracted from ComputedStyle for box painting. 15 // Information extracted from ComputedStyle for box painting.
17 struct BoxDecorationData { 16 struct BoxDecorationData {
18 STACK_ALLOCATED(); 17 STACK_ALLOCATED();
19 18
20 public: 19 public:
21 BoxDecorationData(const LayoutBox&); 20 BoxDecorationData(const LayoutBox&);
22 21
23 Color backgroundColor; 22 Color backgroundColor;
24 BackgroundBleedAvoidance bleedAvoidance; 23 BackgroundBleedAvoidance bleedAvoidance;
25 bool hasBackground; 24 bool hasBackground;
26 bool hasBorderDecoration; 25 bool hasBorderDecoration;
27 bool hasAppearance; 26 bool hasAppearance;
28 27
29 private: 28 private:
30 BackgroundBleedAvoidance determineBackgroundBleedAvoidance(const LayoutBox&); 29 BackgroundBleedAvoidance determineBackgroundBleedAvoidance(const LayoutBox&);
31 }; 30 };
32 31
33 } // namespace blink 32 } // namespace blink
34 33
35 #endif 34 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxBorderPainter.h ('k') | third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698