| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index 52e25d14a06f2d138b3b1f50d1f7c75d485599d5..c97852e8317950502cc4ac7f6e54bf9d860e1fa8 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -279,7 +279,7 @@ Shell::Shell(ShellDelegate* delegate)
|
| audio_controller_(NULL),
|
| brightness_controller_(NULL),
|
| shelf_(NULL),
|
| - window_mode_(MODE_OVERLAPPING),
|
| + window_mode_(MODE_MANAGED),
|
| desktop_background_mode_(BACKGROUND_IMAGE),
|
| root_window_layout_(NULL),
|
| status_widget_(NULL) {
|
| @@ -485,8 +485,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) {
|
| @@ -661,4 +661,9 @@ void Shell::ResetLayoutManager(int container_id) {
|
| GetContainer(container_id)->SetLayoutManager(NULL);
|
| }
|
|
|
| +void Shell::DisableWorkspaceGridLayout() {
|
| + if (workspace_controller_.get())
|
| + workspace_controller_->workspace_manager()->set_grid_size(0);
|
| +}
|
| +
|
| } // namespace ash
|
|
|