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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSVariableData.h

Issue 2661323002: Implement CSSPaintValue and add a layout test. (Closed)
Patch Set: rebase Created 3 years, 9 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
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 #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/Forward.h" 11 #include "wtf/Forward.h"
12 #include "wtf/PassRefPtr.h" 12 #include "wtf/PassRefPtr.h"
13 #include "wtf/text/WTFString.h" 13 #include "wtf/text/WTFString.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class CSSParserTokenRange; 17 class CSSParserTokenRange;
18 class CSSSyntaxDescriptor; 18 class CSSSyntaxDescriptor;
19 19
20 class CSSVariableData : public RefCounted<CSSVariableData> { 20 class CORE_EXPORT CSSVariableData : public RefCounted<CSSVariableData> {
21 WTF_MAKE_NONCOPYABLE(CSSVariableData); 21 WTF_MAKE_NONCOPYABLE(CSSVariableData);
22 USING_FAST_MALLOC(CSSVariableData); 22 USING_FAST_MALLOC(CSSVariableData);
23 23
24 public: 24 public:
25 static PassRefPtr<CSSVariableData> create(const CSSParserTokenRange& range, 25 static PassRefPtr<CSSVariableData> create(const CSSParserTokenRange& range,
26 bool isAnimationTainted, 26 bool isAnimationTainted,
27 bool needsVariableResolution) { 27 bool needsVariableResolution) {
28 return adoptRef(new CSSVariableData(range, isAnimationTainted, 28 return adoptRef(new CSSVariableData(range, isAnimationTainted,
29 needsVariableResolution)); 29 needsVariableResolution));
30 } 30 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const bool m_needsVariableResolution; 80 const bool m_needsVariableResolution;
81 81
82 // Parsed representation for @apply 82 // Parsed representation for @apply
83 bool m_cachedPropertySet; 83 bool m_cachedPropertySet;
84 Persistent<StylePropertySet> m_propertySet; 84 Persistent<StylePropertySet> m_propertySet;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // CSSVariableData_h 89 #endif // CSSVariableData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPaintValue.cpp ('k') | third_party/WebKit/Source/core/css/cssom/StyleValueFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698