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

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

Issue 2351993002: Added support for non-inherited flags in ComputedStyleBase (Closed)
Patch Set: Rebase Created 4 years, 2 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 reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 enum EPosition { 118 enum EPosition {
119 StaticPosition = 0, 119 StaticPosition = 0,
120 RelativePosition = 1, 120 RelativePosition = 1,
121 AbsolutePosition = 2, 121 AbsolutePosition = 2,
122 StickyPosition = 3, 122 StickyPosition = 3,
123 // This value is required to pack our bits efficiently in LayoutObject. 123 // This value is required to pack our bits efficiently in LayoutObject.
124 FixedPosition = 6 124 FixedPosition = 6
125 }; 125 };
126 126
127 enum class EFloat : unsigned {
128 None, Left, Right
129 };
130
131 enum EMarginCollapse { MarginCollapseCollapse, MarginCollapseSeparate, MarginCol lapseDiscard }; 127 enum EMarginCollapse { MarginCollapseCollapse, MarginCollapseSeparate, MarginCol lapseDiscard };
132 128
133 // Box decoration attributes. Not inherited. 129 // Box decoration attributes. Not inherited.
134 130
135 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone }; 131 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone };
136 132
137 // Box attributes. Not inherited. 133 // Box attributes. Not inherited.
138 134
139 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox }; 135 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox };
140 136
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 618
623 enum AutoRepeatType { 619 enum AutoRepeatType {
624 NoAutoRepeat, 620 NoAutoRepeat,
625 AutoFill, 621 AutoFill,
626 AutoFit 622 AutoFit
627 }; 623 };
628 624
629 } // namespace blink 625 } // namespace blink
630 626
631 #endif // ComputedStyleConstants_h 627 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698