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

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

Issue 2508743002: Changed EWhiteSpace to an enum class and renamed its members to keywords (Closed)
Patch Set: Small mac fix 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 Katakana, 326 Katakana,
327 HiraganaIroha, 327 HiraganaIroha,
328 KatakanaIroha, 328 KatakanaIroha,
329 NoneListStyle 329 NoneListStyle
330 }; 330 };
331 331
332 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; 332 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE };
333 333
334 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused }; 334 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused };
335 335
336 enum EWhiteSpace { NORMAL, PRE, PRE_WRAP, PRE_LINE, NOWRAP, KHTML_NOWRAP }; 336 enum class EWhiteSpace : unsigned {
337 Normal,
338 Pre,
339 PreWrap,
340 PreLine,
341 Nowrap,
342 KhtmlNowrap
343 };
337 344
338 // The order of this enum must match the order of the text align values in 345 // The order of this enum must match the order of the text align values in
339 // CSSValueKeywords.in. 346 // CSSValueKeywords.in.
340 enum class ETextAlign : unsigned { 347 enum class ETextAlign : unsigned {
341 Left, 348 Left,
342 Right, 349 Right,
343 Center, 350 Center,
344 Justify, 351 Justify,
345 WebkitLeft, 352 WebkitLeft,
346 WebkitRight, 353 WebkitRight,
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 ScrollSnapTypeNone, 723 ScrollSnapTypeNone,
717 ScrollSnapTypeMandatory, 724 ScrollSnapTypeMandatory,
718 ScrollSnapTypeProximity 725 ScrollSnapTypeProximity
719 }; 726 };
720 727
721 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 728 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
722 729
723 } // namespace blink 730 } // namespace blink
724 731
725 #endif // ComputedStyleConstants_h 732 #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