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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserImpl.h

Issue 2524303002: Emit console warning when element.animate() keyframe value fails to parse (Closed)
Patch Set: Review changes Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
index fca5ec2a94cf27f419101aa9cb619e6bbbee3650..6786f776b9f0ae185fcfcc02162d4b37f926d9bc 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
@@ -8,6 +8,7 @@
#include "core/CSSPropertyNames.h"
#include "core/css/CSSProperty.h"
#include "core/css/CSSPropertySourceData.h"
+#include "core/css/StylePropertySet.h"
#include "core/css/parser/CSSParserMode.h"
#include "core/css/parser/CSSParserTokenRange.h"
#include "platform/heap/Handle.h"
@@ -33,9 +34,7 @@ class StyleRulePage;
class StyleRuleSupports;
class StyleRuleViewport;
class StyleSheetContents;
-class ImmutableStylePropertySet;
class Element;
-class MutableStylePropertySet;
class CSSParserImpl {
STACK_ALLOCATED();
@@ -59,17 +58,18 @@ class CSSParserImpl {
NoRules, // For parsing at-rules inside declaration lists
};
- static bool parseValue(MutableStylePropertySet*,
- CSSPropertyID,
- const String&,
- bool important,
- const CSSParserContext&);
- static bool parseVariableValue(MutableStylePropertySet*,
- const AtomicString& propertyName,
- const String&,
- bool important,
- const CSSParserContext&,
- bool isAnimationTainted);
+ static MutableStylePropertySet::SetResult parseValue(MutableStylePropertySet*,
+ CSSPropertyID,
+ const String&,
+ bool important,
+ const CSSParserContext&);
+ static MutableStylePropertySet::SetResult parseVariableValue(
+ MutableStylePropertySet*,
+ const AtomicString& propertyName,
+ const String&,
+ bool important,
+ const CSSParserContext&,
+ bool isAnimationTainted);
static ImmutableStylePropertySet* parseInlineStyleDeclaration(const String&,
Element*);
static bool parseDeclarationList(MutableStylePropertySet*,
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParser.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698