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

Unified Diff: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h

Issue 448493002: Avoiding double resize of maximized windows upon user switch due to showing and hiding of the shelf (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
Index: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
index 1ea403087b644f5453a4e9bca5717b772c4ff8f5..c54397c56b866c8e805dafb30a61e75d5a5e4b4e 100644
--- a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
+++ b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
@@ -84,8 +84,9 @@ class UserSwichAnimatorChromeOS {
void TransitionWindows(AnimationStep animation_step);
// Check if a window is maximized / fullscreen / covering the entire screen.
- // TODO(skuhne): We might want to do this on a per screen basis.
- TransitioningScreenCover GetScreenCover();
+ // If a |root_window| is given, the screen coverage of that root_window is
+ // tested, otherwise all screens.
+ TransitioningScreenCover GetScreenCover(aura::Window* root_window);
// The owning window manager.
MultiUserWindowManagerChromeOS* owner_;

Powered by Google App Engine
This is Rietveld 408576698