summaryrefslogtreecommitdiffstats
path: root/ash/popup_message.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/popup_message.cc')
-rw-r--r--ash/popup_message.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/ash/popup_message.cc b/ash/popup_message.cc
index f321789..bd1aea4 100644
--- a/ash/popup_message.cc
+++ b/ash/popup_message.cc
@@ -194,10 +194,10 @@ PopupMessage::PopupMessage(const base::string16& caption,
widget_ = view_->GetWidget();
gfx::NativeView native_view = widget_->GetNativeView();
- wm::SetWindowVisibilityAnimationType(
- native_view, wm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
- wm::SetWindowVisibilityAnimationTransition(
- native_view, wm::ANIMATE_HIDE);
+ views::corewm::SetWindowVisibilityAnimationType(
+ native_view, views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
+ views::corewm::SetWindowVisibilityAnimationTransition(
+ native_view, views::corewm::ANIMATE_HIDE);
view_->GetWidget()->Show();
}
@@ -219,8 +219,8 @@ void PopupMessage::CancelHidingAnimation() {
return;
gfx::NativeView native_view = widget_->GetNativeView();
- wm::SetWindowVisibilityAnimationTransition(
- native_view, wm::ANIMATE_NONE);
+ views::corewm::SetWindowVisibilityAnimationTransition(
+ native_view, views::corewm::ANIMATE_NONE);
}
} // namespace ash