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

Unified Diff: third_party/WebKit/public/platform/WebCompositorAnimationPlayer.h

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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: third_party/WebKit/public/platform/WebCompositorAnimationPlayer.h
diff --git a/third_party/WebKit/public/platform/WebCompositorAnimationPlayer.h b/third_party/WebKit/public/platform/WebCompositorAnimationPlayer.h
deleted file mode 100644
index 92abb1ebfa4732f096abe48da4d0285d328a8a2c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/WebCompositorAnimationPlayer.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 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 WebCompositorAnimationPlayer_h
-#define WebCompositorAnimationPlayer_h
-
-namespace blink {
-
-class WebCompositorAnimation;
-class WebCompositorAnimationDelegate;
-class WebLayer;
-
-// A compositor representation for AnimationPlayer.
-class WebCompositorAnimationPlayer {
-public:
- virtual ~WebCompositorAnimationPlayer() { }
-
- // An animation delegate is notified when animations are started and
- // stopped. The WebCompositorAnimationPlayer does not take ownership of the delegate, and it is
- // the responsibility of the client to reset the layer's delegate before
- // deleting the delegate.
- virtual void setAnimationDelegate(WebCompositorAnimationDelegate*) = 0;
-
- virtual void attachLayer(WebLayer*) = 0;
- virtual void detachLayer() = 0;
- virtual bool isLayerAttached() const = 0;
-
- virtual void addAnimation(WebCompositorAnimation*) = 0;
- virtual void removeAnimation(int animationId) = 0;
- virtual void pauseAnimation(int animationId, double timeOffset) = 0;
- virtual void abortAnimation(int animationId) = 0;
-};
-
-} // namespace blink
-
-#endif // WebCompositorAnimationPlayer_h

Powered by Google App Engine
This is Rietveld 408576698