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(); |