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

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

Issue 2667493002: Changed EPosition to an enum class and renamed its members (Closed)
Patch Set: Rebase 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 BorderPrecedenceTable, 114 BorderPrecedenceTable,
115 BorderPrecedenceColumnGroup, 115 BorderPrecedenceColumnGroup,
116 BorderPrecedenceColumn, 116 BorderPrecedenceColumn,
117 BorderPrecedenceRowGroup, 117 BorderPrecedenceRowGroup,
118 BorderPrecedenceRow, 118 BorderPrecedenceRow,
119 BorderPrecedenceCell 119 BorderPrecedenceCell
120 }; 120 };
121 121
122 enum OutlineIsAuto { OutlineIsAutoOff = 0, OutlineIsAutoOn }; 122 enum OutlineIsAuto { OutlineIsAutoOff = 0, OutlineIsAutoOn };
123 123
124 enum EPosition { 124 enum class EPosition : unsigned {
125 StaticPosition, 125 kStatic,
126 RelativePosition, 126 kRelative,
127 AbsolutePosition, 127 kAbsolute,
128 StickyPosition, 128 kSticky,
129 FixedPosition 129 kFixed
130 }; 130 };
131 131
132 enum EMarginCollapse { 132 enum EMarginCollapse {
133 MarginCollapseCollapse, 133 MarginCollapseCollapse,
134 MarginCollapseSeparate, 134 MarginCollapseSeparate,
135 MarginCollapseDiscard 135 MarginCollapseDiscard
136 }; 136 };
137 137
138 // Box decoration attributes. Not inherited. 138 // Box decoration attributes. Not inherited.
139 139
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 ScrollSnapTypeNone, 576 ScrollSnapTypeNone,
577 ScrollSnapTypeMandatory, 577 ScrollSnapTypeMandatory,
578 ScrollSnapTypeProximity 578 ScrollSnapTypeProximity
579 }; 579 };
580 580
581 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 581 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
582 582
583 } // namespace blink 583 } // namespace blink
584 584
585 #endif // ComputedStyleConstants_h 585 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698