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

Side by Side Diff: Source/core/layout/style/BorderEdge.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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/layout/style/BorderData.h ('k') | Source/core/layout/style/BorderValue.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 BorderEdge_h 5 #ifndef BorderEdge_h
6 #define BorderEdge_h 6 #define BorderEdge_h
7 7
8 #include "core/layout/style/LayoutStyleConstants.h" 8 #include "core/layout/style/ComputedStyleConstants.h"
9 #include "platform/graphics/Color.h" 9 #include "platform/graphics/Color.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 struct BorderEdge { 13 struct BorderEdge {
14 BorderEdge(int edgeWidth, const Color& edgeColor, EBorderStyle edgeStyle, bo ol edgeIsTransparent, bool edgeIsPresent = true); 14 BorderEdge(int edgeWidth, const Color& edgeColor, EBorderStyle edgeStyle, bo ol edgeIsTransparent, bool edgeIsPresent = true);
15 BorderEdge(); 15 BorderEdge();
16 16
17 bool hasVisibleColorAndStyle() const; 17 bool hasVisibleColorAndStyle() const;
18 bool shouldRender() const; 18 bool shouldRender() const;
(...skipping 13 matching lines...) Expand all
32 bool isTransparent; 32 bool isTransparent;
33 bool isPresent; 33 bool isPresent;
34 34
35 private: 35 private:
36 unsigned style: 4; // EBorderStyle 36 unsigned style: 4; // EBorderStyle
37 }; 37 };
38 38
39 } // namespace blink 39 } // namespace blink
40 40
41 #endif // BorderEdge_h 41 #endif // BorderEdge_h
OLDNEW
« no previous file with comments | « Source/core/layout/style/BorderData.h ('k') | Source/core/layout/style/BorderValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698