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

Side by Side Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h

Issue 2798393005: Rewrite references to "wtf/" to "platform/wtf/" in core/animation. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef AnimatableValue_h 31 #ifndef AnimatableValue_h
32 #define AnimatableValue_h 32 #define AnimatableValue_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/css/CSSValue.h" 35 #include "core/css/CSSValue.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "wtf/RefCounted.h" 37 #include "platform/wtf/RefCounted.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class CORE_EXPORT AnimatableValue : public RefCounted<AnimatableValue> { 41 class CORE_EXPORT AnimatableValue : public RefCounted<AnimatableValue> {
42 public: 42 public:
43 virtual ~AnimatableValue() {} 43 virtual ~AnimatableValue() {}
44 44
45 static PassRefPtr<AnimatableValue> interpolate(const AnimatableValue*, 45 static PassRefPtr<AnimatableValue> interpolate(const AnimatableValue*,
46 const AnimatableValue*, 46 const AnimatableValue*,
47 double fraction); 47 double fraction);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 friend class KeyframeEffectModel; 143 friend class KeyframeEffectModel;
144 }; 144 };
145 145
146 #define DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(thisType, predicate) \ 146 #define DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(thisType, predicate) \
147 DEFINE_TYPE_CASTS(thisType, AnimatableValue, value, value->predicate, \ 147 DEFINE_TYPE_CASTS(thisType, AnimatableValue, value, value->predicate, \
148 value.predicate) 148 value.predicate)
149 149
150 } // namespace blink 150 } // namespace blink
151 151
152 #endif // AnimatableValue_h 152 #endif // AnimatableValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698