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

Side by Side Diff: cc/CCActiveGestureAnimation.h

Issue 10917153: Update cc snapshot to r127918 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/CCActiveGestureAnimation.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CCActiveGestureAnimation_h
6 #define CCActiveGestureAnimation_h
7
8 #include <wtf/Noncopyable.h>
9 #include <wtf/OwnPtr.h>
10 #include <wtf/PassOwnPtr.h>
11
12 namespace WebCore {
13
14 class CCGestureCurve;
15 class CCGestureCurveTarget;
16
17 class CCActiveGestureAnimation {
18 WTF_MAKE_NONCOPYABLE(CCActiveGestureAnimation);
19 public:
20 static PassOwnPtr<CCActiveGestureAnimation> create(PassOwnPtr<CCGestureCurve >, CCGestureCurveTarget*);
21 ~CCActiveGestureAnimation();
22
23 bool animate(double monotonicTime);
24
25 private:
26 CCActiveGestureAnimation(PassOwnPtr<CCGestureCurve>, CCGestureCurveTarget*);
27
28 double m_startTime;
29 double m_waitingForFirstTick;
30 OwnPtr<CCGestureCurve> m_gestureCurve;
31 CCGestureCurveTarget* m_gestureCurveTarget;
32 };
33
34 } // namespace WebCore
35
36 #endif
OLDNEW
« no previous file with comments | « no previous file | cc/CCActiveGestureAnimation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698