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

Unified Diff: content/renderer/compositor_bindings/web_animation_impl.h

Issue 470983004: Move blink<->cc bindings to cc/blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/compositor_bindings/web_animation_impl.h
diff --git a/content/renderer/compositor_bindings/web_animation_impl.h b/content/renderer/compositor_bindings/web_animation_impl.h
deleted file mode 100644
index 460b6f531c23e3dd0f183a28dbd633497defd2ce..0000000000000000000000000000000000000000
--- a/content/renderer/compositor_bindings/web_animation_impl.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_
-#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebCompositorAnimation.h"
-#include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h"
-
-namespace cc {
-class Animation;
-}
-
-namespace content {
-
-class WebCompositorAnimationImpl : public blink::WebCompositorAnimation {
- public:
- CONTENT_EXPORT WebCompositorAnimationImpl(
- const blink::WebCompositorAnimationCurve& curve,
- TargetProperty target,
- int animation_id,
- int group_id);
- virtual ~WebCompositorAnimationImpl();
-
- // blink::WebCompositorAnimation implementation
- virtual int id();
- virtual TargetProperty targetProperty() const;
-#if WEB_ANIMATION_SUPPORTS_FRACTIONAL_ITERATIONS
- virtual double iterations() const;
- virtual void setIterations(double iterations);
-#else
- virtual int iterations() const;
- virtual void setIterations(int iterations);
-#endif
- virtual double startTime() const;
- virtual void setStartTime(double monotonic_time);
- virtual double timeOffset() const;
- virtual void setTimeOffset(double monotonic_time);
-#if WEB_ANIMATION_SUPPORTS_FULL_DIRECTION
- virtual Direction direction() const;
- virtual void setDirection(Direction);
-#else
- virtual bool alternatesDirection() const;
- virtual void setAlternatesDirection(bool alternates);
-#endif
-
- scoped_ptr<cc::Animation> PassAnimation();
-
- private:
- scoped_ptr<cc::Animation> animation_;
-
- DISALLOW_COPY_AND_ASSIGN(WebCompositorAnimationImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_
-

Powered by Google App Engine
This is Rietveld 408576698