Chromium Code Reviews| Index: Source/core/animation/TimedItemTiming.h |
| diff --git a/Source/core/animation/TimedItemTiming.h b/Source/core/animation/TimedItemTiming.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bee042372c842b7629eedb2859fda0a0dd2c8804 |
| --- /dev/null |
| +++ b/Source/core/animation/TimedItemTiming.h |
| @@ -0,0 +1,34 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef TimedItemTiming_h |
| +#define TimedItemTiming_h |
| + |
| +#include "wtf/RefCounted.h" |
| +#include "wtf/text/WTFString.h" |
| + |
| +namespace WebCore { |
| + |
| +class TimedItem; |
| + |
| +class TimedItemTiming : public RefCounted<TimedItemTiming> { |
| +public: |
| + static PassRefPtr<TimedItemTiming> create(TimedItem* parent); |
|
dstockwell
2014/02/13 01:34:50
The param and member are never null, can be a refe
rjwright
2014/02/13 02:03:06
Done.
|
| + double delay(); |
| + double endDelay(); |
| + String fill(); |
| + double iterationStart(); |
| + double iterations(); |
| + void duration(String propertyName, bool& element0Enabled, double& element0, bool& element1Enambled, String& element1); |
| + double playbackRate(); |
| + String direction(); |
| + String easing(); |
| +private: |
| + TimedItem* m_parent; |
| + TimedItemTiming(TimedItem* parent); |
| +}; |
| + |
| +} // namespace WebCore |
| + |
| +#endif |