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

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

Issue 2323633002: Implement animation tainted custom property values (Closed)
Patch Set: Rebased Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CSSParser_h 5 #ifndef CSSParser_h
6 #define CSSParser_h 6 #define CSSParser_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/css/CSSValue.h" 10 #include "core/css/CSSValue.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 static bool parseValue(MutableStylePropertySet*, 50 static bool parseValue(MutableStylePropertySet*,
51 CSSPropertyID unresolvedProperty, 51 CSSPropertyID unresolvedProperty,
52 const String&, 52 const String&,
53 bool important, 53 bool important,
54 StyleSheetContents*); 54 StyleSheetContents*);
55 55
56 static bool parseValueForCustomProperty(MutableStylePropertySet*, 56 static bool parseValueForCustomProperty(MutableStylePropertySet*,
57 const AtomicString& propertyName, 57 const AtomicString& propertyName,
58 const String& value, 58 const String& value,
59 bool important, 59 bool important,
60 StyleSheetContents*); 60 StyleSheetContents*,
61 bool isAnimationTainted);
61 static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange); 62 static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange);
62 63
63 // This is for non-shorthands only 64 // This is for non-shorthands only
64 static const CSSValue* parseSingleValue( 65 static const CSSValue* parseSingleValue(
65 CSSPropertyID, 66 CSSPropertyID,
66 const String&, 67 const String&,
67 const CSSParserContext& = strictCSSParserContext()); 68 const CSSParserContext& = strictCSSParserContext());
68 69
69 static const CSSValue* parseFontFaceDescriptor(CSSPropertyID, 70 static const CSSValue* parseFontFaceDescriptor(CSSPropertyID,
70 const String&, 71 const String&,
(...skipping 25 matching lines...) Expand all
96 static bool parseValue(MutableStylePropertySet*, 97 static bool parseValue(MutableStylePropertySet*,
97 CSSPropertyID unresolvedProperty, 98 CSSPropertyID unresolvedProperty,
98 const String&, 99 const String&,
99 bool important, 100 bool important,
100 const CSSParserContext&); 101 const CSSParserContext&);
101 }; 102 };
102 103
103 } // namespace blink 104 } // namespace blink
104 105
105 #endif // CSSParser_h 106 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698