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

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..b4658faa2b3c821b2f4416b71549463dcbf4d14a 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 ShelfVisibilityChangesProbablyWithUser(aura::Window* root_window,
flackr 2014/08/06 12:24:03 How about s/Visibility/Bounds since no visibility
Mr4D (OOO till 08-26) 2014/08/06 19:49:26 Done.
+ 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