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

Unified Diff: cc/animation/scrollbar_animation_controller_linear_fade.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
Index: cc/animation/scrollbar_animation_controller_linear_fade.h
diff --git a/cc/animation/scrollbar_animation_controller_linear_fade.h b/cc/animation/scrollbar_animation_controller_linear_fade.h
deleted file mode 100644
index 05940a07ffc4f9d66b08191a4de5d2bba32cf5cd..0000000000000000000000000000000000000000
--- a/cc/animation/scrollbar_animation_controller_linear_fade.h
+++ /dev/null
@@ -1,48 +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_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
-#define CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/animation/scrollbar_animation_controller.h"
-#include "cc/base/cc_export.h"
-
-namespace cc {
-class LayerImpl;
-
-class CC_EXPORT ScrollbarAnimationControllerLinearFade
- : public ScrollbarAnimationController {
- public:
- static scoped_ptr<ScrollbarAnimationControllerLinearFade> Create(
- LayerImpl* scroll_layer,
- ScrollbarAnimationControllerClient* client,
- base::TimeDelta delay_before_starting,
- base::TimeDelta resize_delay_before_starting,
- base::TimeDelta duration);
-
- ~ScrollbarAnimationControllerLinearFade() override;
-
- void DidScrollUpdate(bool on_resize) override;
-
- protected:
- ScrollbarAnimationControllerLinearFade(
- LayerImpl* scroll_layer,
- ScrollbarAnimationControllerClient* client,
- base::TimeDelta delay_before_starting,
- base::TimeDelta resize_delay_before_starting,
- base::TimeDelta duration);
-
- void RunAnimationFrame(float progress) override;
-
- private:
- float OpacityAtTime(base::TimeTicks now) const;
- void ApplyOpacityToScrollbars(float opacity);
-
- DISALLOW_COPY_AND_ASSIGN(ScrollbarAnimationControllerLinearFade);
-};
-
-} // namespace cc
-
-#endif // CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
« no previous file with comments | « cc/animation/scrollbar_animation_controller.cc ('k') | cc/animation/scrollbar_animation_controller_linear_fade.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698