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

Side by Side Diff: third_party/WebKit/Source/platform/animation/CompositorAnimation.h

Issue 1739743003: Blink Compositor Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude histograms.xml Created 4 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CompositorAnimation_h 5 #ifndef CompositorAnimation_h
6 #define CompositorAnimation_h 6 #define CompositorAnimation_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "platform/PlatformExport.h" 9 #include "platform/PlatformExport.h"
10 #include "platform/animation/CompositorTargetProperty.h" 10 #include "platform/animation/CompositorTargetProperty.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void setPlaybackRate(double); 64 virtual void setPlaybackRate(double);
65 65
66 virtual FillMode fillMode() const; 66 virtual FillMode fillMode() const;
67 virtual void setFillMode(FillMode); 67 virtual void setFillMode(FillMode);
68 68
69 virtual double iterationStart() const; 69 virtual double iterationStart() const;
70 virtual void setIterationStart(double); 70 virtual void setIterationStart(double);
71 71
72 scoped_ptr<cc::Animation> passAnimation(); 72 scoped_ptr<cc::Animation> passAnimation();
73 73
74 // Removes ownership over cc animation. Identical to PassAnimation.
75 // TODO(loyso): Erase this method. crbug.com/575041
76 cc::Animation* releaseCCAnimation();
77
78 protected: 74 protected:
79 CompositorAnimation(); 75 CompositorAnimation();
80 76
81 private: 77 private:
82 scoped_ptr<cc::Animation> m_animation; 78 scoped_ptr<cc::Animation> m_animation;
83 }; 79 };
84 80
85 } // namespace blink 81 } // namespace blink
86 82
87 #endif // CompositorAnimation_h 83 #endif // CompositorAnimation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698