Index: chrome/browser/ui/browser_list.h |
diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h |
index 19ffaba1b1a12823e86f80566639b3f59965c185..1af2d50adb7a943a19f23c90af20b30cb1cfe637 100644 |
--- a/chrome/browser/ui/browser_list.h |
+++ b/chrome/browser/ui/browser_list.h |
@@ -69,6 +69,11 @@ class BrowserList { |
static void AddObserver(chrome::BrowserListObserver* observer); |
static void RemoveObserver(chrome::BrowserListObserver* observer); |
+ // Called when the user switches to workspace X. Moves all the browsers that |
+ // show on workspace X to the end of the browser list (i.e. the browsers that |
+ // were "activated" most recently). |
+ static void ReorderAfterWorkspaceChange(const std::string& new_workspace); |
+ |
// Called by Browser objects when their window is activated (focused). This |
// allows us to determine what the last active Browser was on each desktop. |
static void SetLastActive(Browser* browser); |