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

Side by Side Diff: Source/core/animation/AnimationSourceTiming.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TimedItemTiming_h 5 #ifndef AnimationSourceTiming_h
6 #define TimedItemTiming_h 6 #define AnimationSourceTiming_h
7 7
8 #include "core/animation/TimedItem.h" 8 #include "core/animation/AnimationSource.h"
9 #include "wtf/RefCounted.h" 9 #include "wtf/RefCounted.h"
10 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
11 11
12 namespace WebCore { 12 namespace WebCore {
13 13
14 class TimedItemTiming : public RefCountedWillBeGarbageCollectedFinalized<TimedIt emTiming> { 14 class AnimationSourceTiming : public RefCountedWillBeGarbageCollectedFinalized<A nimationSourceTiming> {
15 public: 15 public:
16 static PassRefPtrWillBeRawPtr<TimedItemTiming> create(TimedItem* parent); 16 static PassRefPtrWillBeRawPtr<AnimationSourceTiming> create(AnimationSource* parent);
17 double delay(); 17 double delay();
18 double endDelay(); 18 double endDelay();
19 String fill(); 19 String fill();
20 double iterationStart(); 20 double iterationStart();
21 double iterations(); 21 double iterations();
22 void getDuration(String propertyName, bool& element0Enabled, double& element 0, bool& element1Enabled, String& element1); 22 void getDuration(String propertyName, bool& element0Enabled, double& element 0, bool& element1Enabled, String& element1);
23 double playbackRate(); 23 double playbackRate();
24 String direction(); 24 String direction();
25 String easing(); 25 String easing();
26 26
27 void setDelay(double); 27 void setDelay(double);
28 void setEndDelay(double); 28 void setEndDelay(double);
29 void setFill(String); 29 void setFill(String);
30 void setIterationStart(double); 30 void setIterationStart(double);
31 void setIterations(double); 31 void setIterations(double);
32 bool setDuration(String name, double duration); 32 bool setDuration(String name, double duration);
33 void setPlaybackRate(double); 33 void setPlaybackRate(double);
34 void setDirection(String); 34 void setDirection(String);
35 void setEasing(String); 35 void setEasing(String);
36 36
37 void trace(Visitor*); 37 void trace(Visitor*);
38 38
39 private: 39 private:
40 RefPtrWillBeMember<TimedItem> m_parent; 40 RefPtrWillBeMember<AnimationSource> m_parent;
41 explicit TimedItemTiming(TimedItem*); 41 explicit AnimationSourceTiming(AnimationSource*);
42 }; 42 };
43 43
44 } // namespace WebCore 44 } // namespace WebCore
45 45
46 #endif 46 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationSourceTest.cpp ('k') | Source/core/animation/AnimationSourceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698