| Index: third_party/WebKit/Source/core/css/CSSTimingFunctionValue.h
|
| diff --git a/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.h b/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.h
|
| index 3eaa55aa5feae35884bc777d50277c237f7389fa..155dbe0c7c54b3439fab1abe80eb7fde29c39f0d 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.h
|
| @@ -106,6 +106,32 @@ class CSSStepsTimingFunctionValue : public CSSValue {
|
| DEFINE_CSS_VALUE_TYPE_CASTS(CSSStepsTimingFunctionValue,
|
| IsStepsTimingFunctionValue());
|
|
|
| +class CSSFramesTimingFunctionValue : public CSSValue {
|
| + public:
|
| + static CSSFramesTimingFunctionValue* Create(int frames) {
|
| + return new CSSFramesTimingFunctionValue(frames);
|
| + }
|
| +
|
| + int NumberOfFrames() const { return frames_; }
|
| +
|
| + String CustomCSSText() const;
|
| +
|
| + bool Equals(const CSSFramesTimingFunctionValue&) const;
|
| +
|
| + DEFINE_INLINE_TRACE_AFTER_DISPATCH() {
|
| + CSSValue::TraceAfterDispatch(visitor);
|
| + }
|
| +
|
| + private:
|
| + CSSFramesTimingFunctionValue(int frames)
|
| + : CSSValue(kFramesTimingFunctionClass), frames_(frames) {}
|
| +
|
| + int frames_;
|
| +};
|
| +
|
| +DEFINE_CSS_VALUE_TYPE_CASTS(CSSFramesTimingFunctionValue,
|
| + IsFramesTimingFunctionValue());
|
| +
|
| } // namespace blink
|
|
|
| #endif
|
|
|