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