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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.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
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 38e018787c772d1675d9e4e3252724859e25be27..d5f4e82b46a414e92ad7f4071091a7eea2e1776d 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -384,6 +384,13 @@ class ChromeLauncherController : public ash::ShelfDelegate,
// Returns true if |browser| is owned by the active user.
bool IsBrowserFromActiveUser(Browser* browser);
+ // Check if the shelf visibility (location, visibility) will change with a new
+ // user profile or not. However, since the full visibility calculation of the
+ // shelf cannot be performed here, this is only a probability used for
+ // animation predictions.
+ bool ShelfBoundsChangesProbablyWithUser(aura::Window* root_window,
+ const std::string& user_id) const;
+
// Access to the BrowserStatusMonitor for tests.
BrowserStatusMonitor* browser_status_monitor_for_test() {
return browser_status_monitor_.get();
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698