Index: ash/system/tray/tray_background_view.cc |
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc |
index 9eb80c1d1fae6d06f19e3af23461b011620ad353..80cac07e364527d1f6e5e3ff1347b7511c9a63b6 100644 |
--- a/ash/system/tray/tray_background_view.cc |
+++ b/ash/system/tray/tray_background_view.cc |
@@ -333,10 +333,10 @@ TrayBackgroundView::TrayBackgroundView( |
set_notify_enter_exit_on_child(true); |
// Initially we want to paint the background, but without the hover effect. |
- hide_background_animator_.SetPaintsBackground(true, |
- internal::BackgroundAnimator::CHANGE_IMMEDIATE); |
- hover_background_animator_.SetPaintsBackground(false, |
- internal::BackgroundAnimator::CHANGE_IMMEDIATE); |
+ hide_background_animator_.SetPaintsBackground( |
+ true, BACKGROUND_CHANGE_IMMEDIATE); |
+ hover_background_animator_.SetPaintsBackground( |
+ false, BACKGROUND_CHANGE_IMMEDIATE); |
tray_container_ = new TrayContainer(shelf_alignment_); |
SetContents(tray_container_); |
@@ -362,8 +362,8 @@ void TrayBackgroundView::OnMouseEntered(const ui::MouseEvent& event) { |
if (!background_ || draw_background_as_active_ || |
ash::switches::UseAlternateShelfLayout()) |
return; |
- hover_background_animator_.SetPaintsBackground(true, |
- internal::BackgroundAnimator::CHANGE_ANIMATE); |
+ hover_background_animator_.SetPaintsBackground( |
+ true, BACKGROUND_CHANGE_ANIMATE); |
} |
void TrayBackgroundView::OnMouseExited(const ui::MouseEvent& event) { |
@@ -371,8 +371,8 @@ void TrayBackgroundView::OnMouseExited(const ui::MouseEvent& event) { |
if (!background_ || draw_background_as_active_ || |
ash::switches::UseAlternateShelfLayout()) |
return; |
- hover_background_animator_.SetPaintsBackground(false, |
- internal::BackgroundAnimator::CHANGE_ANIMATE); |
+ hover_background_animator_.SetPaintsBackground( |
+ false, BACKGROUND_CHANGE_ANIMATE); |
} |
void TrayBackgroundView::ChildPreferredSizeChanged(views::View* child) { |
@@ -418,8 +418,7 @@ void TrayBackgroundView::SetContents(views::View* contents) { |
} |
void TrayBackgroundView::SetPaintsBackground( |
- bool value, |
- internal::BackgroundAnimator::ChangeType change_type) { |
+ bool value, BackgroundAnimatorChangeType change_type) { |
DCHECK(!ash::switches::UseAlternateShelfLayout()); |
hide_background_animator_.SetPaintsBackground(value, change_type); |
} |