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..c6737be3d1c418471a2efc25e32978f1bbc0fcf7 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. |
| + std::string 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_; } |
| + std::string initial_workspace() const { return initial_workspace_; } |
|
sky
2016/05/03 17:40:52
Make return type const std::string& (just like app
Tom (Use chromium acct)
2016/05/03 19:38:39
Done.
|
| // |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_; |
| + std::string initial_workspace_; |
|
sky
2016/05/03 17:40:52
const
Tom (Use chromium acct)
2016/05/03 19:38:39
Done.
|
| // Tracks when this browser is being created by session restore. |
| bool is_session_restore_; |