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

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

Issue 2521463002: Changed EBoxDirection to an enum class and renamed its members to keywords (Closed)
Patch Set: Rebase 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 // CSS Mask Source Types 210 // CSS Mask Source Types
211 enum EMaskSourceType { MaskAlpha, MaskLuminance }; 211 enum EMaskSourceType { MaskAlpha, MaskLuminance };
212 212
213 // Deprecated Flexible Box Properties 213 // Deprecated Flexible Box Properties
214 214
215 enum EBoxPack { BoxPackStart, BoxPackCenter, BoxPackEnd, BoxPackJustify }; 215 enum EBoxPack { BoxPackStart, BoxPackCenter, BoxPackEnd, BoxPackJustify };
216 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE }; 216 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE };
217 enum EBoxOrient { HORIZONTAL, VERTICAL }; 217 enum EBoxOrient { HORIZONTAL, VERTICAL };
218 enum EBoxLines { SINGLE, MULTIPLE }; 218 enum EBoxLines { SINGLE, MULTIPLE };
219 enum EBoxDirection { BNORMAL, BREVERSE }; 219 enum class EBoxDirection : unsigned { Normal, Reverse };
220 220
221 // CSS3 Flexbox Properties 221 // CSS3 Flexbox Properties
222 222
223 enum EFlexDirection { FlowRow, FlowRowReverse, FlowColumn, FlowColumnReverse }; 223 enum EFlexDirection { FlowRow, FlowRowReverse, FlowColumn, FlowColumnReverse };
224 enum EFlexWrap { FlexNoWrap, FlexWrap, FlexWrapReverse }; 224 enum EFlexWrap { FlexNoWrap, FlexWrap, FlexWrapReverse };
225 225
226 enum ETextSecurity { TSNONE, TSDISC, TSCIRCLE, TSSQUARE }; 226 enum ETextSecurity { TSNONE, TSDISC, TSCIRCLE, TSSQUARE };
227 227
228 // CSS3 User Modify Properties 228 // CSS3 User Modify Properties
229 229
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 ScrollSnapTypeNone, 717 ScrollSnapTypeNone,
718 ScrollSnapTypeMandatory, 718 ScrollSnapTypeMandatory,
719 ScrollSnapTypeProximity 719 ScrollSnapTypeProximity
720 }; 720 };
721 721
722 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 722 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
723 723
724 } // namespace blink 724 } // namespace blink
725 725
726 #endif // ComputedStyleConstants_h 726 #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