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

Side by Side Diff: Source/core/animation/TimedItemTiming.h

Issue 293893003: Web Animations: Rename TimedItem to AnimationSource (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/animation/TimedItemTest.cpp ('k') | Source/core/animation/TimedItemTiming.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 "core/animation/TimedItem.h"
9 #include "wtf/RefCounted.h"
10 #include "wtf/text/WTFString.h"
11
12 namespace WebCore {
13
14 class TimedItemTiming : public RefCountedWillBeGarbageCollectedFinalized<TimedIt emTiming> {
15 public:
16 static PassRefPtrWillBeRawPtr<TimedItemTiming> create(TimedItem* parent);
17 double delay();
18 double endDelay();
19 String fill();
20 double iterationStart();
21 double iterations();
22 void getDuration(String propertyName, bool& element0Enabled, double& element 0, bool& element1Enabled, String& element1);
23 double playbackRate();
24 String direction();
25 String easing();
26
27 void setDelay(double);
28 void setEndDelay(double);
29 void setFill(String);
30 void setIterationStart(double);
31 void setIterations(double);
32 bool setDuration(String name, double duration);
33 void setPlaybackRate(double);
34 void setDirection(String);
35 void setEasing(String);
36
37 void trace(Visitor*);
38
39 private:
40 RefPtrWillBeMember<TimedItem> m_parent;
41 explicit TimedItemTiming(TimedItem*);
42 };
43
44 } // namespace WebCore
45
46 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/TimedItemTest.cpp ('k') | Source/core/animation/TimedItemTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698