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

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

Issue 2569013006: Changed EOverflow 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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone }; 141 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone };
142 142
143 // Box attributes. Not inherited. 143 // Box attributes. Not inherited.
144 144
145 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox }; 145 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox };
146 146
147 // Random visual rendering model attributes. Not inherited. 147 // Random visual rendering model attributes. Not inherited.
148 148
149 enum class EOverflowAnchor : unsigned { Visible, None, Auto }; 149 enum class EOverflowAnchor : unsigned { Visible, None, Auto };
150 150
151 enum EOverflow { 151 enum class EOverflow : unsigned {
152 OverflowVisible, 152 Visible,
153 OverflowHidden, 153 Hidden,
154 OverflowScroll, 154 Scroll,
155 OverflowAuto, 155 Auto,
156 OverflowOverlay, 156 Overlay,
157 OverflowPagedX, 157 PagedX,
158 OverflowPagedY 158 PagedY
159 }; 159 };
160 160
161 enum EVerticalAlign { 161 enum EVerticalAlign {
162 VerticalAlignBaseline, 162 VerticalAlignBaseline,
163 VerticalAlignMiddle, 163 VerticalAlignMiddle,
164 VerticalAlignSub, 164 VerticalAlignSub,
165 VerticalAlignSuper, 165 VerticalAlignSuper,
166 VerticalAlignTextTop, 166 VerticalAlignTextTop,
167 VerticalAlignTextBottom, 167 VerticalAlignTextBottom,
168 VerticalAlignTop, 168 VerticalAlignTop,
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 ScrollSnapTypeNone, 697 ScrollSnapTypeNone,
698 ScrollSnapTypeMandatory, 698 ScrollSnapTypeMandatory,
699 ScrollSnapTypeProximity 699 ScrollSnapTypeProximity
700 }; 700 };
701 701
702 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 702 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
703 703
704 } // namespace blink 704 } // namespace blink
705 705
706 #endif // ComputedStyleConstants_h 706 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/ComputedStyleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698