Chromium Code Reviews| 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..1c6858e5bc30124f418d37db3d5b1090fc5d6245 100644 |
| --- a/chrome/browser/ui/browser_list.h |
| +++ b/chrome/browser/ui/browser_list.h |
| @@ -69,6 +69,10 @@ class BrowserList { |
| static void AddObserver(chrome::BrowserListObserver* observer); |
| static void RemoveObserver(chrome::BrowserListObserver* observer); |
| + // Moves all the browsers that show on workspace |new_workspace| to the end of |
| + // the browser list (i.e. the browsers that were "activated" most recently). |
| + static void PartitionByWorkspace(const std::string& new_workspace); |
|
sky
2016/07/07 21:31:11
nit: IMO partition is obscure and while it matches
|
| + |
| // 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); |