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

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

Issue 2775143002: Implement frames() timing function (Closed)
Patch Set: Fix behaviour outside input range [0,1] Created 3 years, 8 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 84fca530ed1730a07241eed5bf12703457d86b55..78a3beb7f36770a103f6500e54c5e81e58578545 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.h
+++ b/third_party/WebKit/Source/core/css/CSSValue.h
@@ -129,6 +129,9 @@ class CORE_EXPORT CSSValue : public GarbageCollectedFinalized<CSSValue> {
bool IsStepsTimingFunctionValue() const {
return class_type_ == kStepsTimingFunctionClass;
}
+ bool IsFramesTimingFunctionValue() const {
+ return class_type_ == kFramesTimingFunctionClass;
+ }
bool IsGridTemplateAreasValue() const {
return class_type_ == kGridTemplateAreasClass;
}
@@ -202,6 +205,7 @@ class CORE_EXPORT CSSValue : public GarbageCollectedFinalized<CSSValue> {
// Timing function classes.
kCubicBezierTimingFunctionClass,
kStepsTimingFunctionClass,
+ kFramesTimingFunctionClass,
// Other class types.
kBorderImageSliceClass,
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698