OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CSSVariableData_h | 5 #ifndef CSSVariableData_h |
6 #define CSSVariableData_h | 6 #define CSSVariableData_h |
7 | 7 |
8 #include "core/css/StylePropertySet.h" | 8 #include "core/css/StylePropertySet.h" |
9 #include "core/css/parser/CSSParserToken.h" | 9 #include "core/css/parser/CSSParserToken.h" |
10 #include "core/css/parser/CSSParserTokenRange.h" | 10 #include "core/css/parser/CSSParserTokenRange.h" |
11 #include "wtf/RefCounted.h" | 11 #include "wtf/Forward.h" |
| 12 #include "wtf/PassRefPtr.h" |
12 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
13 | 14 |
14 namespace blink { | 15 namespace blink { |
15 | 16 |
16 class CSSParserTokenRange; | 17 class CSSParserTokenRange; |
17 | 18 |
18 class CSSVariableData : public RefCounted<CSSVariableData> { | 19 class CSSVariableData : public RefCounted<CSSVariableData> { |
19 WTF_MAKE_NONCOPYABLE(CSSVariableData); | 20 WTF_MAKE_NONCOPYABLE(CSSVariableData); |
20 USING_FAST_MALLOC(CSSVariableData); | 21 USING_FAST_MALLOC(CSSVariableData); |
21 public: | 22 public: |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const bool m_needsVariableResolution; | 62 const bool m_needsVariableResolution; |
62 | 63 |
63 // Parsed representation for @apply | 64 // Parsed representation for @apply |
64 bool m_cachedPropertySet; | 65 bool m_cachedPropertySet; |
65 Persistent<StylePropertySet> m_propertySet; | 66 Persistent<StylePropertySet> m_propertySet; |
66 }; | 67 }; |
67 | 68 |
68 } // namespace blink | 69 } // namespace blink |
69 | 70 |
70 #endif // CSSVariableData_h | 71 #endif // CSSVariableData_h |
OLD | NEW |