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

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

Issue 2667533002: Remove explicit enum values in EPosition. (Closed)
Patch Set: Created 3 years, 10 months 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 | « no previous file | 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 BorderPrecedenceColumnGroup, 113 BorderPrecedenceColumnGroup,
114 BorderPrecedenceColumn, 114 BorderPrecedenceColumn,
115 BorderPrecedenceRowGroup, 115 BorderPrecedenceRowGroup,
116 BorderPrecedenceRow, 116 BorderPrecedenceRow,
117 BorderPrecedenceCell 117 BorderPrecedenceCell
118 }; 118 };
119 119
120 enum OutlineIsAuto { OutlineIsAutoOff = 0, OutlineIsAutoOn }; 120 enum OutlineIsAuto { OutlineIsAutoOff = 0, OutlineIsAutoOn };
121 121
122 enum EPosition { 122 enum EPosition {
123 StaticPosition = 0, 123 StaticPosition,
124 RelativePosition = 1, 124 RelativePosition,
125 AbsolutePosition = 2, 125 AbsolutePosition,
126 StickyPosition = 3, 126 StickyPosition,
127 // This value is required to pack our bits efficiently in LayoutObject. 127 FixedPosition
128 FixedPosition = 6
129 }; 128 };
130 129
131 enum EMarginCollapse { 130 enum EMarginCollapse {
132 MarginCollapseCollapse, 131 MarginCollapseCollapse,
133 MarginCollapseSeparate, 132 MarginCollapseSeparate,
134 MarginCollapseDiscard 133 MarginCollapseDiscard
135 }; 134 };
136 135
137 // Box decoration attributes. Not inherited. 136 // Box decoration attributes. Not inherited.
138 137
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 ScrollSnapTypeNone, 610 ScrollSnapTypeNone,
612 ScrollSnapTypeMandatory, 611 ScrollSnapTypeMandatory,
613 ScrollSnapTypeProximity 612 ScrollSnapTypeProximity
614 }; 613 };
615 614
616 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 615 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
617 616
618 } // namespace blink 617 } // namespace blink
619 618
620 #endif // ComputedStyleConstants_h 619 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698