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

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

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 years, 6 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: webkit/renderer/compositor_bindings/web_animation_impl.h
diff --git a/webkit/renderer/compositor_bindings/web_animation_impl.h b/webkit/renderer/compositor_bindings/web_animation_impl.h
deleted file mode 100644
index 07d72c7860c342c90356de5b4e959812eab8efd9..0000000000000000000000000000000000000000
--- a/webkit/renderer/compositor_bindings/web_animation_impl.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2012 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 WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "third_party/WebKit/public/platform/WebAnimation.h"
-#include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.h"
-
-namespace cc { class Animation; }
-
-namespace blink { class WebAnimationCurve; }
-
-namespace webkit {
-
-class WebAnimationImpl : public blink::WebAnimation {
- public:
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebAnimationImpl(
- const blink::WebAnimationCurve& curve,
- TargetProperty target,
- int animation_id,
- int group_id);
- virtual ~WebAnimationImpl();
-
- // blink::WebAnimation implementation
- virtual int id();
- virtual TargetProperty targetProperty() const;
- virtual int iterations() const;
- virtual void setIterations(int iterations);
- 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(WebAnimationImpl);
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698