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

Unified Diff: cc/scrollbar_animation_controller.h

Issue 12822004: Part 3 of cc/ directory shuffles: animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/scrollbar_animation_controller_linear_fade.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scrollbar_animation_controller.h
diff --git a/cc/scrollbar_animation_controller.h b/cc/scrollbar_animation_controller.h
deleted file mode 100644
index e660e8f9452035c2e99b4d2f195d3d6437807419..0000000000000000000000000000000000000000
--- a/cc/scrollbar_animation_controller.h
+++ /dev/null
@@ -1,32 +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_SCROLLBAR_ANIMATION_CONTROLLER_H_
-#define CC_SCROLLBAR_ANIMATION_CONTROLLER_H_
-
-#include "base/time.h"
-#include "cc/base/cc_export.h"
-#include "ui/gfx/vector2d_f.h"
-
-namespace cc {
-
-// This abstract class represents the compositor-side analogy of ScrollbarAnimator.
-// Individual platforms should subclass it to provide specialized implementation.
-class CC_EXPORT ScrollbarAnimationController {
-public:
- virtual ~ScrollbarAnimationController() {}
-
- virtual bool isScrollGestureInProgress() const = 0;
- virtual bool isAnimating() const = 0;
- virtual base::TimeDelta delayBeforeStart(base::TimeTicks now) const = 0;
-
- virtual bool animate(base::TimeTicks) = 0;
- virtual void didScrollGestureBegin() = 0;
- virtual void didScrollGestureEnd(base::TimeTicks now) = 0;
- virtual void didProgrammaticallyUpdateScroll(base::TimeTicks now) = 0;
-};
-
-} // namespace cc
-
-#endif // CC_SCROLLBAR_ANIMATION_CONTROLLER_H_
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/scrollbar_animation_controller_linear_fade.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698