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

Side by Side Diff: webkit/compositor/WebAnimationImpl.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/WebAnimationCurveCommon.cpp ('k') | webkit/compositor/WebAnimationImpl.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 WebAnimationImpl_h
6 #define WebAnimationImpl_h
7
8 #include <public/WebAnimation.h>
9 #include <wtf/OwnPtr.h>
10 #include <wtf/PassOwnPtr.h>
11
12 namespace WebCore {
13 class CCActiveAnimation;
14 }
15
16 namespace WebKit {
17
18 class WebAnimationImpl : public WebAnimation {
19 public:
20 WebAnimationImpl(const WebAnimationCurve&, TargetProperty, int animationId, int groupId = 0);
21 virtual ~WebAnimationImpl();
22
23 // WebAnimation implementation
24 virtual int id() OVERRIDE;
25 virtual TargetProperty targetProperty() const OVERRIDE;
26 virtual int iterations() const OVERRIDE;
27 virtual void setIterations(int) OVERRIDE;
28 virtual double startTime() const OVERRIDE;
29 virtual void setStartTime(double monotonicTime) OVERRIDE;
30 virtual double timeOffset() const OVERRIDE;
31 virtual void setTimeOffset(double monotonicTime) OVERRIDE;
32 virtual bool alternatesDirection() const OVERRIDE;
33 virtual void setAlternatesDirection(bool) OVERRIDE;
34
35 PassOwnPtr<WebCore::CCActiveAnimation> cloneToCCAnimation();
36 private:
37 OwnPtr<WebCore::CCActiveAnimation> m_animation;
38 };
39
40 }
41
42 #endif // WebAnimationImpl_h
43
OLDNEW
« no previous file with comments | « webkit/compositor/WebAnimationCurveCommon.cpp ('k') | webkit/compositor/WebAnimationImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698