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

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

Issue 2528573002: Changed EBorderCollapse to an enum class and renamed its members (Closed)
Patch Set: Rebase 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ((1 << FirstInternalPseudoId) - 1) & ~((1 << FirstPublicPseudoId) - 1), 86 ((1 << FirstInternalPseudoId) - 1) & ~((1 << FirstPublicPseudoId) - 1),
87 ElementPseudoIdMask = (1 << (PseudoIdBefore - 1)) | 87 ElementPseudoIdMask = (1 << (PseudoIdBefore - 1)) |
88 (1 << (PseudoIdAfter - 1)) | 88 (1 << (PseudoIdAfter - 1)) |
89 (1 << (PseudoIdBackdrop - 1)) 89 (1 << (PseudoIdBackdrop - 1))
90 }; 90 };
91 91
92 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; 92 enum ColumnFill { ColumnFillBalance, ColumnFillAuto };
93 93
94 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll }; 94 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll };
95 95
96 enum EBorderCollapse { BorderCollapseSeparate = 0, BorderCollapseCollapse = 1 }; 96 enum class EBorderCollapse : unsigned { Separate = 0, Collapse = 1 };
97 97
98 // These have been defined in the order of their precedence for 98 // These have been defined in the order of their precedence for
99 // border-collapsing. Do not change this order! This order also must match the 99 // border-collapsing. Do not change this order! This order also must match the
100 // order in CSSValueKeywords.in. 100 // order in CSSValueKeywords.in.
101 enum EBorderStyle { 101 enum EBorderStyle {
102 BorderStyleNone, 102 BorderStyleNone,
103 BorderStyleHidden, 103 BorderStyleHidden,
104 BorderStyleInset, 104 BorderStyleInset,
105 BorderStyleGroove, 105 BorderStyleGroove,
106 BorderStyleOutset, 106 BorderStyleOutset,
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 ScrollSnapTypeNone, 715 ScrollSnapTypeNone,
716 ScrollSnapTypeMandatory, 716 ScrollSnapTypeMandatory,
717 ScrollSnapTypeProximity 717 ScrollSnapTypeProximity
718 }; 718 };
719 719
720 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 720 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
721 721
722 } // namespace blink 722 } // namespace blink
723 723
724 #endif // ComputedStyleConstants_h 724 #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