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

Unified Diff: cc/animation_registrar.h

Issue 11491003: Revert 171714 - Use an auxiliary list of animation controllers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation_registrar.h
diff --git a/cc/animation_registrar.h b/cc/animation_registrar.h
deleted file mode 100644
index 5cce4e93312a0c15745208260668e431a093027f..0000000000000000000000000000000000000000
--- a/cc/animation_registrar.h
+++ /dev/null
@@ -1,35 +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 CC_ANIMATION_REGISTRAR_H_
-#define CC_ANIMATION_REGISTRAR_H_
-
-namespace cc {
-
-class LayerAnimationController;
-
-// TODO(vollick): we need to rename:
-// AnimationRegistrar -> AnimationController
-// LayerAnimationController -> LayerAnimator
-class CC_EXPORT AnimationRegistrar {
- public:
- // Registers the given animation controller as active. An active animation
- // controller is one that has a running animation that needs to be ticked.
- virtual void DidActivateAnimationController(LayerAnimationController*) = 0;
-
- // Unregisters the given animation controller. When this happens, the
- // animation controller will no longer be ticked (since it's not active). It
- // is not an error to call this function with a deactivated controller.
- virtual void DidDeactivateAnimationController(LayerAnimationController*) = 0;
-
- // Registers the given controller as alive.
- virtual void RegisterAnimationController(LayerAnimationController*) = 0;
-
- // Unregisters the given controller as alive.
- virtual void UnregisterAnimationController(LayerAnimationController*) = 0;
-};
-
-} // namespace cc
-
-#endif // CC_ANIMATION_REGISTRAR_H_
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698