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

Unified Diff: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h

Issue 2564793002: Add smooth interpolation support for <color> custom properties (Closed)
Patch Set: <color> Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
index 63e9e14d5a5ae6dd8e9cbd121e5cf2a958594c92..a66a09ac06133993af26d26b1eb338f44e0246b4 100644
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
@@ -5,6 +5,7 @@
#ifndef CSSSyntaxDescriptor_h
#define CSSSyntaxDescriptor_h
+#include "core/animation/InterpolationTypesMap.h"
#include "core/css/parser/CSSParserTokenRange.h"
namespace blink {
@@ -49,6 +50,9 @@ class CSSSyntaxDescriptor {
m_syntaxComponents[0].m_type == CSSSyntaxType::TokenStream;
}
+ InterpolationTypes createInterpolationTypes(
+ const AtomicString& propertyName) const;
+
private:
Vector<CSSSyntaxComponent> m_syntaxComponents;
};

Powered by Google App Engine
This is Rietveld 408576698