| 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 408b5fb3b3c567558fd37a64f3d559f678721186..a0af8021595a8ad1380f765791140f4ac575b63a 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 m_frames; }
|
| +
|
| + String customCSSText() const;
|
| +
|
| + bool equals(const CSSFramesTimingFunctionValue&) const;
|
| +
|
| + DEFINE_INLINE_TRACE_AFTER_DISPATCH() {
|
| + CSSValue::traceAfterDispatch(visitor);
|
| + }
|
| +
|
| + private:
|
| + CSSFramesTimingFunctionValue(int frames)
|
| + : CSSValue(FramesTimingFunctionClass), m_frames(frames) {}
|
| +
|
| + int m_frames;
|
| +};
|
| +
|
| +DEFINE_CSS_VALUE_TYPE_CASTS(CSSFramesTimingFunctionValue,
|
| + isFramesTimingFunctionValue());
|
| +
|
| } // namespace blink
|
|
|
| #endif
|
|
|