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

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

Issue 2516263002: Changed ETextTransform to an enum class and renamed its members (Closed)
Patch Set: 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
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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 Right, 342 Right,
343 Center, 343 Center,
344 Justify, 344 Justify,
345 WebkitLeft, 345 WebkitLeft,
346 WebkitRight, 346 WebkitRight,
347 WebkitCenter, 347 WebkitCenter,
348 Start, 348 Start,
349 End, 349 End,
350 }; 350 };
351 351
352 enum ETextTransform { CAPITALIZE, UPPERCASE, LOWERCASE, TTNONE }; 352 enum class ETextTransform : unsigned { Capitalize, Uppercase, Lowercase, None };
353 353
354 static const size_t TextDecorationBits = 4; 354 static const size_t TextDecorationBits = 4;
355 enum TextDecoration { 355 enum TextDecoration {
356 TextDecorationNone = 0x0, 356 TextDecorationNone = 0x0,
357 TextDecorationUnderline = 0x1, 357 TextDecorationUnderline = 0x1,
358 TextDecorationOverline = 0x2, 358 TextDecorationOverline = 0x2,
359 TextDecorationLineThrough = 0x4, 359 TextDecorationLineThrough = 0x4,
360 TextDecorationBlink = 0x8 360 TextDecorationBlink = 0x8
361 }; 361 };
362 inline TextDecoration operator|(TextDecoration a, TextDecoration b) { 362 inline TextDecoration operator|(TextDecoration a, TextDecoration b) {
(...skipping 353 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') | third_party/WebKit/Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698