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

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

Issue 2881673003: CSS Motion Path: Support parsing of ray(<angle>) paths (Closed)
Patch Set: DCHECK_EQ Created 3 years, 7 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/CSSValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSValue.h b/third_party/WebKit/Source/core/css/CSSValue.h
index 78a3beb7f36770a103f6500e54c5e81e58578545..d345fd9efad2f4a4a6c65ff27fd7d431ae9342c1 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.h
+++ b/third_party/WebKit/Source/core/css/CSSValue.h
@@ -113,6 +113,7 @@ class CORE_EXPORT CSSValue : public GarbageCollectedFinalized<CSSValue> {
}
bool IsPathValue() const { return class_type_ == kPathClass; }
bool IsQuadValue() const { return class_type_ == kQuadClass; }
+ bool IsRayValue() const { return class_type_ == kRayClass; }
bool IsRadialGradientValue() const {
return class_type_ == kRadialGradientClass;
}
@@ -223,6 +224,7 @@ class CORE_EXPORT CSSValue : public GarbageCollectedFinalized<CSSValue> {
kUnicodeRangeClass,
kGridTemplateAreasClass,
kPathClass,
+ kRayClass,
kVariableReferenceClass,
kCustomPropertyDeclarationClass,
kPendingSubstitutionValueClass,

Powered by Google App Engine
This is Rietveld 408576698