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

Side by Side Diff: public/platform/WebCompositorAnimation.h

Issue 572363002: Remove WEB_ANIMATION_SUPPORTS_FULL_DIRECTION define (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebCompositorAnimation_h 5 #ifndef WebCompositorAnimation_h
6 #define WebCompositorAnimation_h 6 #define WebCompositorAnimation_h
7 7
8 #define WEB_ANIMATION_SUPPORTS_FRACTIONAL_ITERATIONS 1 8 #define WEB_ANIMATION_SUPPORTS_FRACTIONAL_ITERATIONS 1
jamesr 2014/09/16 19:06:47 can this one go too?
9 #define WEB_ANIMATION_SUPPORTS_FULL_DIRECTION 1
10 9
11 namespace blink { 10 namespace blink {
12 11
13 // A compositor driven animation. 12 // A compositor driven animation.
14 class WebCompositorAnimation { 13 class WebCompositorAnimation {
15 public: 14 public:
16 enum TargetProperty { 15 enum TargetProperty {
17 TargetPropertyTransform = 0, 16 TargetPropertyTransform = 0,
18 TargetPropertyOpacity, 17 TargetPropertyOpacity,
19 TargetPropertyFilter, 18 TargetPropertyFilter,
(...skipping 26 matching lines...) Expand all
46 virtual double timeOffset() const = 0; 45 virtual double timeOffset() const = 0;
47 virtual void setTimeOffset(double monotonicTime) = 0; 46 virtual void setTimeOffset(double monotonicTime) = 0;
48 47
49 virtual Direction direction() const = 0; 48 virtual Direction direction() const = 0;
50 virtual void setDirection(Direction) = 0; 49 virtual void setDirection(Direction) = 0;
51 }; 50 };
52 51
53 } // namespace blink 52 } // namespace blink
54 53
55 #endif // WebCompositorAnimation_h 54 #endif // WebCompositorAnimation_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698