OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CSSCalcLength_h | 5 #ifndef CSSCalcLength_h |
6 #define CSSCalcLength_h | 6 #define CSSCalcLength_h |
7 | 7 |
| 8 #include <array> |
| 9 #include <bitset> |
8 #include "core/css/cssom/CSSLengthValue.h" | 10 #include "core/css/cssom/CSSLengthValue.h" |
9 #include "wtf/BitVector.h" | 11 #include "wtf/BitVector.h" |
10 #include <array> | |
11 #include <bitset> | |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class CSSCalcExpressionNode; | 15 class CSSCalcExpressionNode; |
16 class CSSSimpleLength; | 16 class CSSSimpleLength; |
17 | 17 |
18 class CORE_EXPORT CSSCalcLength final : public CSSLengthValue { | 18 class CORE_EXPORT CSSCalcLength final : public CSSLengthValue { |
19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
20 | 20 |
21 public: | 21 public: |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 DEFINE_TYPE_CASTS( \ | 106 DEFINE_TYPE_CASTS( \ |
107 CSSCalcLength, argumentType, value, \ | 107 CSSCalcLength, argumentType, value, \ |
108 value->type() == CSSLengthValue::StyleValueType::CalcLengthType, \ | 108 value->type() == CSSLengthValue::StyleValueType::CalcLengthType, \ |
109 value.type() == CSSLengthValue::StyleValueType::CalcLengthType) | 109 value.type() == CSSLengthValue::StyleValueType::CalcLengthType) |
110 | 110 |
111 DEFINE_CALC_LENGTH_TYPE_CASTS(CSSStyleValue); | 111 DEFINE_CALC_LENGTH_TYPE_CASTS(CSSStyleValue); |
112 | 112 |
113 } // namespace blink | 113 } // namespace blink |
114 | 114 |
115 #endif | 115 #endif |
OLD | NEW |