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

Unified Diff: ash/system/tray/tray_background_view.cc

Issue 1900443002: Removes aura dependencies from WindowPositioner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke GetWorkAreaForWindowInParent and fix windows Created 4 years, 8 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/system/toast/toast_overlay.cc ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e0f2fec679aa372da34eae374f7c4a7e66dad5d0..7c6fe5582588a20f6372995846e34f53e7021acc 100644
--- a/ash/system/tray/tray_background_view.cc
+++ b/ash/system/tray/tray_background_view.cc
@@ -459,13 +459,12 @@ void TrayBackgroundView::HideTransformation() {
void TrayBackgroundView::InitializeBubbleAnimations(
views::Widget* bubble_widget) {
- wm::SetWindowVisibilityAnimationType(
+ ::wm::SetWindowVisibilityAnimationType(
bubble_widget->GetNativeWindow(),
- wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE);
- wm::SetWindowVisibilityAnimationTransition(
- bubble_widget->GetNativeWindow(),
- wm::ANIMATE_HIDE);
- wm::SetWindowVisibilityAnimationDuration(
+ ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE);
+ ::wm::SetWindowVisibilityAnimationTransition(bubble_widget->GetNativeWindow(),
+ ::wm::ANIMATE_HIDE);
+ ::wm::SetWindowVisibilityAnimationDuration(
bubble_widget->GetNativeWindow(),
base::TimeDelta::FromMilliseconds(kAnimationDurationForPopupMs));
}
« no previous file with comments | « ash/system/toast/toast_overlay.cc ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698