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

Side by Side Diff: webkit/compositor_bindings/web_transform_animation_curve_impl.h

Issue 12481008: Remove cross-repo OVERRIDE annotations and IWYU-ify comp bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix forward decl in web_float_animation_curve_impl.h Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 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 WebTransformAnimationCurveImpl_h 5 #ifndef WebTransformAnimationCurveImpl_h
6 #define WebTransformAnimationCurveImpl_h 6 #define WebTransformAnimationCurveImpl_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformAnimati onCurve.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformAnimati onCurve.h"
10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" 10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
11 11
12 namespace cc { 12 namespace cc {
13 class AnimationCurve; 13 class AnimationCurve;
14 class KeyframedTransformAnimationCurve; 14 class KeyframedTransformAnimationCurve;
15 } 15 }
16 16
17 namespace WebKit { 17 namespace WebKit {
18 18
19 class WebTransformKeyframe;
20
19 class WebTransformAnimationCurveImpl : public WebTransformAnimationCurve { 21 class WebTransformAnimationCurveImpl : public WebTransformAnimationCurve {
20 public: 22 public:
21 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebTransformAnimationCurveImpl(); 23 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebTransformAnimationCurveImpl();
22 virtual ~WebTransformAnimationCurveImpl(); 24 virtual ~WebTransformAnimationCurveImpl();
23 25
24 // WebAnimationCurve implementation. 26 // WebAnimationCurve implementation.
25 virtual AnimationCurveType type() const OVERRIDE; 27 virtual AnimationCurveType type() const;
26 28
27 // WebTransformAnimationCurve implementation. 29 // WebTransformAnimationCurve implementation.
28 virtual void add(const WebTransformKeyframe&) OVERRIDE; 30 virtual void add(const WebTransformKeyframe&);
29 virtual void add(const WebTransformKeyframe&, TimingFunctionType) OVERRIDE; 31 virtual void add(const WebTransformKeyframe&, TimingFunctionType);
30 virtual void add(const WebTransformKeyframe&, 32 virtual void add(const WebTransformKeyframe&,
31 double x1, 33 double x1,
32 double y1, 34 double y1,
33 double x2, 35 double x2,
34 double y2) OVERRIDE; 36 double y2);
35 37
36 virtual WebTransformationMatrix getValue(double time) const OVERRIDE; 38 virtual WebTransformationMatrix getValue(double time) const;
37 39
38 scoped_ptr<cc::AnimationCurve> cloneToAnimationCurve() const; 40 scoped_ptr<cc::AnimationCurve> cloneToAnimationCurve() const;
39 41
40 private: 42 private:
41 scoped_ptr<cc::KeyframedTransformAnimationCurve> curve_; 43 scoped_ptr<cc::KeyframedTransformAnimationCurve> curve_;
42 }; 44 };
43 45
44 } 46 }
45 47
46 #endif // WebTransformAnimationCurveImpl_h 48 #endif // WebTransformAnimationCurveImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698