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

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

Issue 2944793002: Make EFlexWrap an enum class. (Closed)
Patch Set: Rebase 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 // CSS3 Background Position 145 // CSS3 Background Position
146 enum BackgroundEdgeOrigin { kTopEdge, kRightEdge, kBottomEdge, kLeftEdge }; 146 enum BackgroundEdgeOrigin { kTopEdge, kRightEdge, kBottomEdge, kLeftEdge };
147 147
148 // CSS Mask Source Types 148 // CSS Mask Source Types
149 enum EMaskSourceType { kMaskAlpha, kMaskLuminance }; 149 enum EMaskSourceType { kMaskAlpha, kMaskLuminance };
150 150
151 // CSS3 Flexbox Properties 151 // CSS3 Flexbox Properties
152 152
153 enum class EFlexDirection { kRow, kRowReverse, kColumn, kColumnReverse }; 153 enum class EFlexDirection { kRow, kRowReverse, kColumn, kColumnReverse };
154 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; 154 enum class EFlexWrap { kNowrap, kWrap, kWrapReverse };
155 155
156 // CSS3 Image Values 156 // CSS3 Image Values
157 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; 157 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE };
158 158
159 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; 159 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused };
160 160
161 static const size_t kTextDecorationBits = 4; 161 static const size_t kTextDecorationBits = 4;
162 enum class TextDecoration : unsigned { 162 enum class TextDecoration : unsigned {
163 kNone = 0x0, 163 kNone = 0x0,
164 kUnderline = 0x1, 164 kUnderline = 0x1,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 kSnapAlignmentNone, 328 kSnapAlignmentNone,
329 kSnapAlignmentStart, 329 kSnapAlignmentStart,
330 kSnapAlignmentEnd, 330 kSnapAlignmentEnd,
331 kSnapAlignmentCenter 331 kSnapAlignmentCenter
332 }; 332 };
333 333
334 enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit }; 334 enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit };
335 } // namespace blink 335 } // namespace blink
336 336
337 #endif // ComputedStyleConstants_h 337 #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