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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp

Issue 1883983003: Remove CSSParserValues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "core/css/resolver/CSSVariableResolver.h" 5 #include "core/css/resolver/CSSVariableResolver.h"
6 6
7 #include "core/CSSPropertyNames.h" 7 #include "core/CSSPropertyNames.h"
8 #include "core/CSSValueKeywords.h" 8 #include "core/CSSValueKeywords.h"
9 #include "core/StyleBuilderFunctions.h" 9 #include "core/StyleBuilderFunctions.h"
10 #include "core/StylePropertyShorthand.h" 10 #include "core/StylePropertyShorthand.h"
11 #include "core/css/CSSValuePool.h" 11 #include "core/css/CSSValuePool.h"
12 #include "core/css/CSSVariableData.h" 12 #include "core/css/CSSVariableData.h"
13 #include "core/css/CSSVariableReferenceValue.h" 13 #include "core/css/CSSVariableReferenceValue.h"
14 #include "core/css/parser/CSSParserToken.h" 14 #include "core/css/parser/CSSParserToken.h"
15 #include "core/css/parser/CSSParserTokenRange.h" 15 #include "core/css/parser/CSSParserTokenRange.h"
16 #include "core/css/parser/CSSParserValues.h"
17 #include "core/css/parser/CSSPropertyParser.h" 16 #include "core/css/parser/CSSPropertyParser.h"
18 #include "core/css/resolver/StyleBuilder.h" 17 #include "core/css/resolver/StyleBuilder.h"
19 #include "core/css/resolver/StyleResolverState.h" 18 #include "core/css/resolver/StyleResolverState.h"
20 #include "core/style/StyleVariableData.h" 19 #include "core/style/StyleVariableData.h"
21 #include "wtf/Vector.h" 20 #include "wtf/Vector.h"
22 21
23 namespace blink { 22 namespace blink {
24 23
25 bool CSSVariableResolver::resolveFallback(CSSParserTokenRange range, Vector<CSSP arserToken>& result) 24 bool CSSVariableResolver::resolveFallback(CSSParserTokenRange range, Vector<CSSP arserToken>& result)
26 { 25 {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 variable.value = resolver.resolveCustomProperty(variable.key, *varia ble.value); 184 variable.value = resolver.resolveCustomProperty(variable.key, *varia ble.value);
186 } 185 }
187 } 186 }
188 187
189 CSSVariableResolver::CSSVariableResolver(StyleVariableData* styleVariableData) 188 CSSVariableResolver::CSSVariableResolver(StyleVariableData* styleVariableData)
190 : m_styleVariableData(styleVariableData) 189 : m_styleVariableData(styleVariableData)
191 { 190 {
192 } 191 }
193 192
194 } // namespace blink 193 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698