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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2635143002: Changed EBoxSizing to an enum class and renamed its members (Closed)
Patch Set: Aded k prefix Created 3 years, 11 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 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 MarginCollapseSeparate, 133 MarginCollapseSeparate,
134 MarginCollapseDiscard 134 MarginCollapseDiscard
135 }; 135 };
136 136
137 // Box decoration attributes. Not inherited. 137 // Box decoration attributes. Not inherited.
138 138
139 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone }; 139 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone };
140 140
141 // Box attributes. Not inherited. 141 // Box attributes. Not inherited.
142 142
143 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox }; 143 enum class EBoxSizing : unsigned { kContentBox, kBorderBox };
144 144
145 // Random visual rendering model attributes. Not inherited. 145 // Random visual rendering model attributes. Not inherited.
146 146
147 enum class EOverflowAnchor : unsigned { Visible, None, Auto }; 147 enum class EOverflowAnchor : unsigned { Visible, None, Auto };
148 148
149 enum class EOverflow : unsigned { 149 enum class EOverflow : unsigned {
150 Visible, 150 Visible,
151 Hidden, 151 Hidden,
152 Scroll, 152 Scroll,
153 Auto, 153 Auto,
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 ScrollSnapTypeNone, 606 ScrollSnapTypeNone,
607 ScrollSnapTypeMandatory, 607 ScrollSnapTypeMandatory,
608 ScrollSnapTypeProximity 608 ScrollSnapTypeProximity
609 }; 609 };
610 610
611 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 611 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
612 612
613 } // namespace blink 613 } // namespace blink
614 614
615 #endif // ComputedStyleConstants_h 615 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698