OLD | NEW |
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 10 matching lines...) Expand all Loading... |
21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
25 * | 25 * |
26 */ | 26 */ |
27 | 27 |
28 #ifndef ComputedStyleConstants_h | 28 #ifndef ComputedStyleConstants_h |
29 #define ComputedStyleConstants_h | 29 #define ComputedStyleConstants_h |
30 | 30 |
| 31 #include <cstddef> |
31 #include "core/ComputedStyleBaseConstants.h" | 32 #include "core/ComputedStyleBaseConstants.h" |
32 #include <cstddef> | |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 // Some enums are automatically generated in ComputedStyleBaseConstants | 36 // Some enums are automatically generated in ComputedStyleBaseConstants |
37 | 37 |
38 // TODO(sashab): Change these enums to enum classes with an unsigned underlying | 38 // TODO(sashab): Change these enums to enum classes with an unsigned underlying |
39 // type. Enum classes provide better type safety, and forcing an unsigned | 39 // type. Enum classes provide better type safety, and forcing an unsigned |
40 // underlying type prevents msvc from interpreting enums as negative numbers. | 40 // underlying type prevents msvc from interpreting enums as negative numbers. |
41 // See: crbug.com/628043 | 41 // See: crbug.com/628043 |
42 | 42 |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 ScrollSnapTypeNone, | 568 ScrollSnapTypeNone, |
569 ScrollSnapTypeMandatory, | 569 ScrollSnapTypeMandatory, |
570 ScrollSnapTypeProximity | 570 ScrollSnapTypeProximity |
571 }; | 571 }; |
572 | 572 |
573 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; | 573 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; |
574 | 574 |
575 } // namespace blink | 575 } // namespace blink |
576 | 576 |
577 #endif // ComputedStyleConstants_h | 577 #endif // ComputedStyleConstants_h |
OLD | NEW |