| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" | 5 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" |
| 6 | 6 |
| 7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
| 8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| 11 #include "ash/wm/common/wm_event.h" | 11 #include "ash/wm/common/wm_event.h" |
| 12 #include "ash/wm/maximize_mode/maximize_mode_window_state.h" | 12 #include "ash/wm/maximize_mode/maximize_mode_window_state.h" |
| 13 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h" | 13 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h" |
| 14 #include "ash/wm/mru_window_tracker.h" | 14 #include "ash/wm/mru_window_tracker.h" |
| 15 #include "ash/wm/overview/window_selector_controller.h" | 15 #include "ash/wm/overview/window_selector_controller.h" |
| 16 #include "ash/wm/window_state.h" | 16 #include "ash/wm/window_state.h" |
| 17 #include "ash/wm/window_state_aura.h" |
| 17 #include "ash/wm/window_util.h" | 18 #include "ash/wm/window_util.h" |
| 18 #include "ash/wm/workspace_controller.h" | 19 #include "ash/wm/workspace_controller.h" |
| 19 #include "base/command_line.h" | 20 #include "base/command_line.h" |
| 20 #include "ui/aura/client/aura_constants.h" | 21 #include "ui/aura/client/aura_constants.h" |
| 21 #include "ui/aura/window.h" | 22 #include "ui/aura/window.h" |
| 22 #include "ui/gfx/screen.h" | 23 #include "ui/gfx/screen.h" |
| 23 | 24 |
| 24 namespace ash { | 25 namespace ash { |
| 25 | 26 |
| 26 namespace { | 27 namespace { |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 RootWindowController* controller = *iter; | 325 RootWindowController* controller = *iter; |
| 325 aura::Window* container = Shell::GetContainer( | 326 aura::Window* container = Shell::GetContainer( |
| 326 controller->GetRootWindow(), kShellWindowId_DefaultContainer); | 327 controller->GetRootWindow(), kShellWindowId_DefaultContainer); |
| 327 controller->workspace_controller()->SetMaximizeBackdropDelegate( | 328 controller->workspace_controller()->SetMaximizeBackdropDelegate( |
| 328 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate>( | 329 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate>( |
| 329 enable ? new WorkspaceBackdropDelegate(container) : NULL)); | 330 enable ? new WorkspaceBackdropDelegate(container) : NULL)); |
| 330 } | 331 } |
| 331 } | 332 } |
| 332 | 333 |
| 333 } // namespace ash | 334 } // namespace ash |
| OLD | NEW |