Index: webkit/compositor_bindings/web_transform_animation_curve_impl.h |
diff --git a/webkit/compositor_bindings/web_transform_animation_curve_impl.h b/webkit/compositor_bindings/web_transform_animation_curve_impl.h |
index abf1f3479e18b466fdfc9dacac94aec10fb5297b..00c8136e7c3790b91d3cfcd94c814d14f290d383 100644 |
--- a/webkit/compositor_bindings/web_transform_animation_curve_impl.h |
+++ b/webkit/compositor_bindings/web_transform_animation_curve_impl.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WebTransformAnimationCurveImpl_h |
-#define WebTransformAnimationCurveImpl_h |
+#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_TRANSFORM_ANIMATION_CURVE_IMPL_H_ |
+#define WEBKIT_COMPOSITOR_BINDINGS_WEB_TRANSFORM_ANIMATION_CURVE_IMPL_H_ |
#include "base/memory/scoped_ptr.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebTransformAnimationCurve.h" |
@@ -14,33 +14,37 @@ class AnimationCurve; |
class KeyframedTransformAnimationCurve; |
} |
-namespace WebKit { |
+namespace WebKit { class WebTransformKeyframe; } |
-class WebTransformKeyframe; |
+namespace webkit { |
-class WebTransformAnimationCurveImpl : public WebTransformAnimationCurve { |
+class WebTransformAnimationCurveImpl |
+ : public WebKit::WebTransformAnimationCurve { |
public: |
WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebTransformAnimationCurveImpl(); |
virtual ~WebTransformAnimationCurveImpl(); |
- // WebAnimationCurve implementation. |
+ // WebKit::WebAnimationCurve implementation. |
virtual AnimationCurveType type() const; |
- // WebTransformAnimationCurve implementation. |
- virtual void add(const WebTransformKeyframe&); |
- virtual void add(const WebTransformKeyframe&, TimingFunctionType); |
- virtual void add(const WebTransformKeyframe&, |
+ // WebKit::WebTransformAnimationCurve implementation. |
+ virtual void add(const WebKit::WebTransformKeyframe& keyframe); |
+ virtual void add(const WebKit::WebTransformKeyframe& keyframe, |
+ TimingFunctionType type); |
+ virtual void add(const WebKit::WebTransformKeyframe& keyframe, |
double x1, |
double y1, |
double x2, |
double y2); |
- scoped_ptr<cc::AnimationCurve> cloneToAnimationCurve() const; |
+ scoped_ptr<cc::AnimationCurve> CloneToAnimationCurve() const; |
private: |
scoped_ptr<cc::KeyframedTransformAnimationCurve> curve_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(WebTransformAnimationCurveImpl); |
}; |
-} |
+} // namespace webkit |
-#endif // WebTransformAnimationCurveImpl_h |
+#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_TRANSFORM_ANIMATION_CURVE_IMPL_H_ |