Chromium Code Reviews| Index: chrome/browser/ui/browser.h |
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
| index 5c698601fcd821a579356d1b2d8a60e99a2f0e44..fa5574614f7144f6281d6ce11eecd4064c88353d 100644 |
| --- a/chrome/browser/ui/browser.h |
| +++ b/chrome/browser/ui/browser.h |
| @@ -185,6 +185,9 @@ class Browser : public TabStripModelObserver, |
| // The bounds of the window to open. |
| gfx::Rect initial_bounds; |
| + // The workspace the window should open in, if the platform supports it. |
| + int initial_workspace; |
| + |
| ui::WindowShowState initial_show_state; |
| bool is_session_restore; |
| @@ -239,6 +242,7 @@ class Browser : public TabStripModelObserver, |
| bool is_trusted_source() const { return is_trusted_source_; } |
| Profile* profile() const { return profile_; } |
| gfx::Rect override_bounds() const { return override_bounds_; } |
| + int override_workspace() const { return override_workspace_; } |
|
sky
2016/04/29 17:05:45
Why is this called override_workspace and not init
Tom (Use chromium acct)
2016/04/29 19:14:03
Done. (I just copy pasted from override_bounds)
|
| // |window()| will return NULL if called before |CreateBrowserWindow()| |
| // is done. |
| @@ -949,6 +953,7 @@ class Browser : public TabStripModelObserver, |
| // shell shortcut's startup info. |
| gfx::Rect override_bounds_; |
| ui::WindowShowState initial_show_state_; |
| + int override_workspace_; |
| // Tracks when this browser is being created by session restore. |
| bool is_session_restore_; |