| 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 CSSVariableResolver_h | 5 #ifndef CSSVariableResolver_h |
| 6 #define CSSVariableResolver_h | 6 #define CSSVariableResolver_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/css/parser/CSSParserToken.h" | 9 #include "core/css/parser/CSSParserToken.h" |
| 10 #include "wtf/HashSet.h" | 10 #include "platform/wtf/HashSet.h" |
| 11 #include "wtf/text/AtomicString.h" | 11 #include "platform/wtf/text/AtomicString.h" |
| 12 #include "wtf/text/AtomicStringHash.h" | 12 #include "platform/wtf/text/AtomicStringHash.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class CSSParserTokenRange; | 16 class CSSParserTokenRange; |
| 17 class CSSPendingSubstitutionValue; | 17 class CSSPendingSubstitutionValue; |
| 18 class CSSVariableData; | 18 class CSSVariableData; |
| 19 class CSSVariableReferenceValue; | 19 class CSSVariableReferenceValue; |
| 20 class PropertyRegistry; | 20 class PropertyRegistry; |
| 21 class StyleResolverState; | 21 class StyleResolverState; |
| 22 class StyleInheritedVariables; | 22 class StyleInheritedVariables; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 HashSet<AtomicString> variables_seen_; | 88 HashSet<AtomicString> variables_seen_; |
| 89 // Resolution doesn't finish when a cycle is detected. Fallbacks still | 89 // Resolution doesn't finish when a cycle is detected. Fallbacks still |
| 90 // need to be tracked for additional cycles, and invalidation only | 90 // need to be tracked for additional cycles, and invalidation only |
| 91 // applies back to cycle starts. | 91 // applies back to cycle starts. |
| 92 HashSet<AtomicString> cycle_start_points_; | 92 HashSet<AtomicString> cycle_start_points_; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif // CSSVariableResolver | 97 #endif // CSSVariableResolver |
| OLD | NEW |