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

Unified Diff: ash/system/toast/toast_overlay.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/shell/window_type_launcher.cc ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/toast/toast_overlay.cc
diff --git a/ash/system/toast/toast_overlay.cc b/ash/system/toast/toast_overlay.cc
index 3a59e81cd257b1115202502664757a8b5980f1bc..deaba0eb817eb5476a12da69a8a07c252b1643a1 100644
--- a/ash/system/toast/toast_overlay.cc
+++ b/ash/system/toast/toast_overlay.cc
@@ -189,9 +189,9 @@ ToastOverlay::ToastOverlay(Delegate* delegate, const std::string& text)
overlay_widget_->GetNativeView()->SetName("ToastOverlay");
gfx::NativeWindow native_view = overlay_widget_->GetNativeView();
- wm::SetWindowVisibilityAnimationType(
- native_view, wm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
- wm::SetWindowVisibilityAnimationDuration(
+ ::wm::SetWindowVisibilityAnimationType(
+ native_view, ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
+ ::wm::SetWindowVisibilityAnimationDuration(
native_view,
base::TimeDelta::FromMilliseconds(kSlideAnimationDurationMs));
}
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698