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

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

Issue 2577973002: Moved text-align to be generated in ComputedStyleBase. (Closed)
Patch Set: Removed unneeded comment about text-align keyword ordering. 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.cpp ('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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 Katakana, 320 Katakana,
321 HiraganaIroha, 321 HiraganaIroha,
322 KatakanaIroha, 322 KatakanaIroha,
323 NoneListStyle 323 NoneListStyle
324 }; 324 };
325 325
326 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; 326 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE };
327 327
328 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused }; 328 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused };
329 329
330 // The order of this enum must match the order of the text align values in
331 // CSSValueKeywords.in.
332 enum class ETextAlign : unsigned {
333 Left,
334 Right,
335 Center,
336 Justify,
337 WebkitLeft,
338 WebkitRight,
339 WebkitCenter,
340 Start,
341 End,
342 };
343
344 static const size_t TextDecorationBits = 4; 330 static const size_t TextDecorationBits = 4;
345 enum TextDecoration { 331 enum TextDecoration {
346 TextDecorationNone = 0x0, 332 TextDecorationNone = 0x0,
347 TextDecorationUnderline = 0x1, 333 TextDecorationUnderline = 0x1,
348 TextDecorationOverline = 0x2, 334 TextDecorationOverline = 0x2,
349 TextDecorationLineThrough = 0x4, 335 TextDecorationLineThrough = 0x4,
350 TextDecorationBlink = 0x8 336 TextDecorationBlink = 0x8
351 }; 337 };
352 inline TextDecoration operator|(TextDecoration a, TextDecoration b) { 338 inline TextDecoration operator|(TextDecoration a, TextDecoration b) {
353 return TextDecoration(int(a) | int(b)); 339 return TextDecoration(int(a) | int(b));
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 ScrollSnapTypeNone, 669 ScrollSnapTypeNone,
684 ScrollSnapTypeMandatory, 670 ScrollSnapTypeMandatory,
685 ScrollSnapTypeProximity 671 ScrollSnapTypeProximity
686 }; 672 };
687 673
688 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 674 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
689 675
690 } // namespace blink 676 } // namespace blink
691 677
692 #endif // ComputedStyleConstants_h 678 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698