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

Unified Diff: ash/shell.cc

Issue 9513004: Switch default WM mode to managed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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
« no previous file with comments | « no previous file | ash/shell_unittest.cc » ('j') | ash/wm/workspace/workspace_manager_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 2dbdafcf5e560035fdc86d3e55c1beac2fb06f7e..d884c629730928743dacdf42338eaa8c4cea6fd8 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -248,7 +248,7 @@ Shell::Shell(ShellDelegate* delegate)
#endif
delegate_(delegate),
shelf_(NULL),
- window_mode_(MODE_OVERLAPPING),
+ window_mode_(MODE_MANAGED),
desktop_background_mode_(BACKGROUND_IMAGE),
root_window_layout_(NULL),
status_widget_(NULL) {
@@ -445,8 +445,8 @@ Shell::WindowMode Shell::ComputeWindowMode(CommandLine* command_line) const {
return MODE_OVERLAPPING;
}
- // Overlapping is the default.
- return Shell::MODE_OVERLAPPING;
+ // Managed is the default.
+ return Shell::MODE_MANAGED;
}
aura::Window* Shell::GetContainer(int container_id) {
« no previous file with comments | « no previous file | ash/shell_unittest.cc » ('j') | ash/wm/workspace/workspace_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698