Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: chrome/browser/ui/browser.cc

Issue 1927203003: Add support for X11 workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted ui/views/widget/desktop_aura/x11_desktop_handler.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 9512433473b7a625f4b34d7545c992ed58b4836f..32ac33249f52102cfec97c64e75319addc9aea24 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -300,6 +300,7 @@ Browser::CreateParams::CreateParams(Profile* profile)
: type(TYPE_TABBED),
profile(profile),
trusted_source(false),
+ initial_workspace(-1),
initial_show_state(ui::SHOW_STATE_DEFAULT),
is_session_restore(false),
window(NULL) {}
@@ -308,6 +309,7 @@ Browser::CreateParams::CreateParams(Type type, Profile* profile)
: type(type),
profile(profile),
trusted_source(false),
+ initial_workspace(-1),
initial_show_state(ui::SHOW_STATE_DEFAULT),
is_session_restore(false),
window(NULL) {}
@@ -379,6 +381,7 @@ Browser::Browser(const CreateParams& params)
cancel_download_confirmation_state_(NOT_PROMPTED),
override_bounds_(params.initial_bounds),
initial_show_state_(params.initial_show_state),
+ override_workspace_(params.initial_workspace),
is_session_restore_(params.is_session_restore),
content_setting_bubble_model_delegate_(
new BrowserContentSettingBubbleModelDelegate(this)),

Powered by Google App Engine
This is Rietveld 408576698