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

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

Issue 2949453002: Make EFlexDirection an enum class. (Closed)
Patch Set: Fix Created 3 years, 6 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
« 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 // Deprecated Flexible Box Properties 151 // Deprecated Flexible Box Properties
152 152
153 enum EBoxPack { kBoxPackStart, kBoxPackCenter, kBoxPackEnd, kBoxPackJustify }; 153 enum EBoxPack { kBoxPackStart, kBoxPackCenter, kBoxPackEnd, kBoxPackJustify };
154 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE }; 154 enum EBoxAlignment { BSTRETCH, BSTART, BCENTER, BEND, BBASELINE };
155 enum EBoxOrient { HORIZONTAL, VERTICAL }; 155 enum EBoxOrient { HORIZONTAL, VERTICAL };
156 enum EBoxLines { SINGLE, MULTIPLE }; 156 enum EBoxLines { SINGLE, MULTIPLE };
157 157
158 // CSS3 Flexbox Properties 158 // CSS3 Flexbox Properties
159 159
160 enum EFlexDirection { 160 enum class EFlexDirection { kRow, kRowReverse, kColumn, kColumnReverse };
161 kFlowRow,
162 kFlowRowReverse,
163 kFlowColumn,
164 kFlowColumnReverse
165 };
166 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; 161 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse };
167 162
168 // CSS3 Image Values 163 // CSS3 Image Values
169 enum class EResize { kNone, kBoth, kHorizontal, kVertical }; 164 enum class EResize { kNone, kBoth, kHorizontal, kVertical };
170 165
171 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; 166 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE };
172 167
173 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; 168 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused };
174 169
175 static const size_t kTextDecorationBits = 4; 170 static const size_t kTextDecorationBits = 4;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 enum class PageSizeType { 354 enum class PageSizeType {
360 kAuto, // size: auto 355 kAuto, // size: auto
361 kLandscape, // size: landscape 356 kLandscape, // size: landscape
362 kPortrait, // size: portrait 357 kPortrait, // size: portrait
363 kResolved // Size is fully resolved. 358 kResolved // Size is fully resolved.
364 }; 359 };
365 360
366 } // namespace blink 361 } // namespace blink
367 362
368 #endif // ComputedStyleConstants_h 363 #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