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

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

Issue 2578403002: Changed EVerticalAlign to an enum class and renamed its members (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
154 Overlay, 154 Overlay,
155 PagedX, 155 PagedX,
156 PagedY 156 PagedY
157 }; 157 };
158 158
159 enum EVerticalAlign { 159 enum class EVerticalAlign : unsigned {
160 VerticalAlignBaseline, 160 Baseline,
161 VerticalAlignMiddle, 161 Middle,
162 VerticalAlignSub, 162 Sub,
163 VerticalAlignSuper, 163 Super,
164 VerticalAlignTextTop, 164 TextTop,
165 VerticalAlignTextBottom, 165 TextBottom,
166 VerticalAlignTop, 166 Top,
167 VerticalAlignBottom, 167 Bottom,
168 VerticalAlignBaselineMiddle, 168 BaselineMiddle,
169 VerticalAlignLength 169 Length
170 }; 170 };
171 171
172 enum EClear { ClearNone = 0, ClearLeft = 1, ClearRight = 2, ClearBoth = 3 }; 172 enum EClear { ClearNone = 0, ClearLeft = 1, ClearRight = 2, ClearBoth = 3 };
173 173
174 enum ETableLayout { TableLayoutAuto, TableLayoutFixed }; 174 enum ETableLayout { TableLayoutAuto, TableLayoutFixed };
175 175
176 enum TextCombine { TextCombineNone, TextCombineAll }; 176 enum TextCombine { TextCombineNone, TextCombineAll };
177 177
178 enum EFillAttachment { 178 enum EFillAttachment {
179 ScrollBackgroundAttachment, 179 ScrollBackgroundAttachment,
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 ScrollSnapTypeNone, 667 ScrollSnapTypeNone,
668 ScrollSnapTypeMandatory, 668 ScrollSnapTypeMandatory,
669 ScrollSnapTypeProximity 669 ScrollSnapTypeProximity
670 }; 670 };
671 671
672 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 672 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
673 673
674 } // namespace blink 674 } // namespace blink
675 675
676 #endif // ComputedStyleConstants_h 676 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698