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

Unified Diff: ui/views/controls/glow_hover_controller.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/glow_hover_controller.h ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/glow_hover_controller.cc
diff --git a/ui/views/controls/glow_hover_controller.cc b/ui/views/controls/glow_hover_controller.cc
index f2e3bf26f30a51a49c456cf109087d8732da5c20..f7fcd3fdd0323a735ddcedb3980b4a12fadcdc72 100644
--- a/ui/views/controls/glow_hover_controller.cc
+++ b/ui/views/controls/glow_hover_controller.cc
@@ -30,7 +30,7 @@ GlowHoverController::~GlowHoverController() {
}
void GlowHoverController::SetAnimationContainer(
- ui::AnimationContainer* container) {
+ gfx::AnimationContainer* container) {
animation_.SetContainer(container);
}
@@ -45,7 +45,7 @@ void GlowHoverController::Show(Style style) {
case SUBTLE:
opacity_scale_ = kTrackOpacityScale;
animation_.SetSlideDuration(kTrackHoverDurationMs);
- animation_.SetTweenType(ui::Tween::EASE_OUT);
+ animation_.SetTweenType(gfx::Tween::EASE_OUT);
animation_.Show();
break;
case PRONOUNCED:
@@ -58,7 +58,7 @@ void GlowHoverController::Show(Style style) {
}
void GlowHoverController::Hide() {
- animation_.SetTweenType(ui::Tween::EASE_IN);
+ animation_.SetTweenType(gfx::Tween::EASE_IN);
animation_.Hide();
}
@@ -117,11 +117,11 @@ void GlowHoverController::Draw(gfx::Canvas* canvas,
(view_->height() - mask_image.height()) / 2);
}
-void GlowHoverController::AnimationEnded(const ui::Animation* animation) {
+void GlowHoverController::AnimationEnded(const gfx::Animation* animation) {
view_->SchedulePaint();
}
-void GlowHoverController::AnimationProgressed(const ui::Animation* animation) {
+void GlowHoverController::AnimationProgressed(const gfx::Animation* animation) {
view_->SchedulePaint();
}
« no previous file with comments | « ui/views/controls/glow_hover_controller.h ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698