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

Unified Diff: ui/views/controls/scrollbar/overlay_scroll_bar.cc

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 years, 3 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 | « ui/views/controls/scrollbar/overlay_scroll_bar.h ('k') | ui/views/controls/slider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/overlay_scroll_bar.cc
diff --git a/ui/views/controls/scrollbar/overlay_scroll_bar.cc b/ui/views/controls/scrollbar/overlay_scroll_bar.cc
index 25228e45a4d7ff57bc55ba6bf3f84fd2bedca06e..176f7b9554e0adcf697be1989368c1aba17fdc33 100644
--- a/ui/views/controls/scrollbar/overlay_scroll_bar.cc
+++ b/ui/views/controls/scrollbar/overlay_scroll_bar.cc
@@ -23,7 +23,7 @@ const int kThumbHoverAlpha = 128;
const int kThumbDefaultAlpha = 64;
class OverlayScrollBarThumb : public BaseScrollBarThumb,
- public ui::AnimationDelegate {
+ public gfx::AnimationDelegate {
public:
explicit OverlayScrollBarThumb(BaseScrollBar* scroll_bar);
virtual ~OverlayScrollBarThumb();
@@ -33,8 +33,8 @@ class OverlayScrollBarThumb : public BaseScrollBarThumb,
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
- // ui::AnimationDelegate overrides:
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
+ // gfx::AnimationDelegate overrides:
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
private:
double animation_opacity_;
@@ -77,7 +77,7 @@ void OverlayScrollBarThumb::OnPaint(gfx::Canvas* canvas) {
}
void OverlayScrollBarThumb::AnimationProgressed(
- const ui::Animation* animation) {
+ const gfx::Animation* animation) {
animation_opacity_ = animation->GetCurrentValue();
SchedulePaint();
}
« no previous file with comments | « ui/views/controls/scrollbar/overlay_scroll_bar.h ('k') | ui/views/controls/slider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698