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

Unified Diff: ash/popup_message.cc

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
« no previous file with comments | « ash/ime/mode_indicator_view.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/popup_message.cc
diff --git a/ash/popup_message.cc b/ash/popup_message.cc
index bd1aea45eb95b47d70d8707e29fde5d2f3191bae..f3217890a9e7b3e935d22e4bbaaf243b1a895ef6 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();
- views::corewm::SetWindowVisibilityAnimationType(
- native_view, views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
- views::corewm::SetWindowVisibilityAnimationTransition(
- native_view, views::corewm::ANIMATE_HIDE);
+ wm::SetWindowVisibilityAnimationType(
+ native_view, wm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
+ wm::SetWindowVisibilityAnimationTransition(
+ native_view, wm::ANIMATE_HIDE);
view_->GetWidget()->Show();
}
@@ -219,8 +219,8 @@ void PopupMessage::CancelHidingAnimation() {
return;
gfx::NativeView native_view = widget_->GetNativeView();
- views::corewm::SetWindowVisibilityAnimationTransition(
- native_view, views::corewm::ANIMATE_NONE);
+ wm::SetWindowVisibilityAnimationTransition(
+ native_view, wm::ANIMATE_NONE);
}
} // namespace ash
« no previous file with comments | « ash/ime/mode_indicator_view.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698