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

Side by Side Diff: webkit/compositor/PlatformGestureCurve.h

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings 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 | « webkit/compositor/LayerChromiumTest.cpp ('k') | webkit/compositor/PlatformGestureCurveTarget.h » ('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 PlatformGestureCurve_h
6 #define PlatformGestureCurve_h
7
8 namespace WebCore {
9
10 class PlatformGestureCurveTarget;
11
12 // Abstract interface for curves used by ActivePlatformGestureAnimation. A
13 // PlatformGestureCurve defines the animation parameters as a function of time
14 // (zero-based), and applies the parameters directly to the target of the
15 // animation.
16 class PlatformGestureCurve {
17 public:
18 virtual ~PlatformGestureCurve() { }
19
20 // Returns a name of the curve for use in debugging.
21 virtual const char* debugName() const = 0;
22
23 // Returns false if curve has finished and can no longer be applied.
24 virtual bool apply(double time, PlatformGestureCurveTarget*) = 0;
25 };
26
27 } // namespace WebCore
28
29 #endif
OLDNEW
« no previous file with comments | « webkit/compositor/LayerChromiumTest.cpp ('k') | webkit/compositor/PlatformGestureCurveTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698