OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef TimedItemTiming_h |
| 6 #define TimedItemTiming_h |
| 7 |
| 8 #include "wtf/RefCounted.h" |
| 9 #include "wtf/text/WTFString.h" |
| 10 |
| 11 namespace WebCore { |
| 12 |
| 13 class TimedItem; |
| 14 |
| 15 class TimedItemTiming : public RefCounted<TimedItemTiming> { |
| 16 public: |
| 17 static PassRefPtr<TimedItemTiming> create(TimedItem* parent); |
| 18 double delay(); |
| 19 double endDelay(); |
| 20 String fill(); |
| 21 double iterationStart(); |
| 22 double iterations(); |
| 23 void duration(String propertyName, bool& element0Enabled, double& element0,
bool& element1Enambled, String& element1); |
| 24 double playbackRate(); |
| 25 String direction(); |
| 26 String easing(); |
| 27 private: |
| 28 RefPtr<TimedItem> m_parent; |
| 29 TimedItemTiming(TimedItem* parent); |
| 30 }; |
| 31 |
| 32 } // namespace WebCore |
| 33 |
| 34 #endif |
OLD | NEW |