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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 13934007: Adding experimental maximize mode (behind a flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Step back and a few changes Created 7 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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 57cdd15bc2583306db2c02d40b42a20456c64c7b..a478b157237eb0fdb3e263d2801459aa6e222ebf 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -124,6 +124,7 @@
#include "ash/launcher/launcher.h"
#include "ash/launcher/launcher_model.h"
#include "ash/shell.h"
+#include "ash/wm/property_util.h"
#include "chrome/browser/ui/ash/ash_util.h"
#include "chrome/browser/ui/ash/chrome_shell_delegate.h"
#include "chrome/browser/ui/ash/launcher/browser_launcher_item_controller.h"
@@ -2505,6 +2506,10 @@ BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
(new BrowserFrame(view))->InitBrowserFrame();
view->GetWidget()->non_client_view()->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_PRODUCT_NAME));
+#if defined(USE_ASH)
+ ash::SetPersistsAcrossAllWorkspaces(view->GetNativeWindow(),
sky 2013/05/01 04:32:04 And nuke this too.
Mr4D (OOO till 08-26) 2013/05/01 17:57:23 Done.
+ ash::WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO);
+#endif
return view;
}

Powered by Google App Engine
This is Rietveld 408576698