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

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

Issue 2367293002: Changed EListStyleType to an enum class and renamed its members to keywords (Closed)
Patch Set: Final patch + formatting Created 4 years, 1 month 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 LineBreakLoose, 263 LineBreakLoose,
264 LineBreakNormal, 264 LineBreakNormal,
265 LineBreakStrict, 265 LineBreakStrict,
266 LineBreakAfterWhiteSpace 266 LineBreakAfterWhiteSpace
267 }; 267 };
268 268
269 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; 269 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL };
270 270
271 // The order of this enum must match the order of the list style types in 271 // The order of this enum must match the order of the list style types in
272 // CSSValueKeywords.in. 272 // CSSValueKeywords.in.
273 enum EListStyleType { 273 enum class EListStyleType : unsigned {
274 Disc, 274 Disc,
275 Circle, 275 Circle,
276 Square, 276 Square,
277 DecimalListStyle, 277 DecimalListStyle,
278 DecimalLeadingZero, 278 DecimalLeadingZero,
279 ArabicIndic, 279 ArabicIndic,
280 Bengali, 280 Bengali,
281 Cambodian, 281 Cambodian,
282 Khmer, 282 Khmer,
283 Devanagari, 283 Devanagari,
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 ScrollSnapTypeNone, 716 ScrollSnapTypeNone,
717 ScrollSnapTypeMandatory, 717 ScrollSnapTypeMandatory,
718 ScrollSnapTypeProximity 718 ScrollSnapTypeProximity
719 }; 719 };
720 720
721 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 721 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
722 722
723 } // namespace blink 723 } // namespace blink
724 724
725 #endif // ComputedStyleConstants_h 725 #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