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

Side by Side Diff: third_party/WebKit/Source/core/animation/NonInterpolableValue.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 NonInterpolableValue_h 5 #ifndef NonInterpolableValue_h
6 #define NonInterpolableValue_h 6 #define NonInterpolableValue_h
7 7
8 #include "wtf/RefCounted.h" 8 #include "platform/wtf/RefCounted.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // Represents components of a PropertySpecificKeyframe's value that either do 12 // Represents components of a PropertySpecificKeyframe's value that either do
13 // not change or 50% flip when interpolating with an adjacent value. 13 // not change or 50% flip when interpolating with an adjacent value.
14 class NonInterpolableValue : public RefCounted<NonInterpolableValue> { 14 class NonInterpolableValue : public RefCounted<NonInterpolableValue> {
15 public: 15 public:
16 virtual ~NonInterpolableValue() {} 16 virtual ~NonInterpolableValue() {}
17 17
18 typedef const void* Type; 18 typedef const void* Type;
(...skipping 13 matching lines...) Expand all
32 #define DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(T) \ 32 #define DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(T) \
33 inline bool is##T(const NonInterpolableValue* value) { \ 33 inline bool is##T(const NonInterpolableValue* value) { \
34 return !value || value->getType() == T::staticType; \ 34 return !value || value->getType() == T::staticType; \
35 } \ 35 } \
36 DEFINE_TYPE_CASTS(T, NonInterpolableValue, value, is##T(value), \ 36 DEFINE_TYPE_CASTS(T, NonInterpolableValue, value, is##T(value), \
37 is##T(&value)); 37 is##T(&value));
38 38
39 } // namespace blink 39 } // namespace blink
40 40
41 #endif // NonInterpolableValue_h 41 #endif // NonInterpolableValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698