| 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/aura/wm_window_aura.h" | 8 #include "ash/aura/wm_window_aura.h" |
| 9 #include "ash/common/shell_window_ids.h" | 9 #include "ash/common/shell_window_ids.h" |
| 10 #include "ash/common/wm/mru_window_tracker.h" |
| 10 #include "ash/common/wm/window_state.h" | 11 #include "ash/common/wm/window_state.h" |
| 11 #include "ash/common/wm/wm_event.h" | 12 #include "ash/common/wm/wm_event.h" |
| 12 #include "ash/root_window_controller.h" | 13 #include "ash/root_window_controller.h" |
| 13 #include "ash/session/session_state_delegate.h" | 14 #include "ash/session/session_state_delegate.h" |
| 14 #include "ash/shell.h" | 15 #include "ash/shell.h" |
| 15 #include "ash/wm/maximize_mode/maximize_mode_window_state.h" | 16 #include "ash/wm/maximize_mode/maximize_mode_window_state.h" |
| 16 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h" | 17 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h" |
| 17 #include "ash/wm/mru_window_tracker.h" | |
| 18 #include "ash/wm/overview/window_selector_controller.h" | 18 #include "ash/wm/overview/window_selector_controller.h" |
| 19 #include "ash/wm/window_state_aura.h" | 19 #include "ash/wm/window_state_aura.h" |
| 20 #include "ash/wm/window_util.h" | 20 #include "ash/wm/window_util.h" |
| 21 #include "ash/wm/workspace_controller.h" | 21 #include "ash/wm/workspace_controller.h" |
| 22 #include "base/command_line.h" | 22 #include "base/command_line.h" |
| 23 #include "ui/aura/client/aura_constants.h" | 23 #include "ui/aura/client/aura_constants.h" |
| 24 #include "ui/aura/window.h" | 24 #include "ui/aura/window.h" |
| 25 #include "ui/display/screen.h" | 25 #include "ui/display/screen.h" |
| 26 | 26 |
| 27 namespace ash { | 27 namespace ash { |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 RootWindowController* controller = *iter; | 342 RootWindowController* controller = *iter; |
| 343 aura::Window* container = Shell::GetContainer( | 343 aura::Window* container = Shell::GetContainer( |
| 344 controller->GetRootWindow(), kShellWindowId_DefaultContainer); | 344 controller->GetRootWindow(), kShellWindowId_DefaultContainer); |
| 345 controller->workspace_controller()->SetMaximizeBackdropDelegate( | 345 controller->workspace_controller()->SetMaximizeBackdropDelegate( |
| 346 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate>( | 346 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate>( |
| 347 enable ? new WorkspaceBackdropDelegate(container) : NULL)); | 347 enable ? new WorkspaceBackdropDelegate(container) : NULL)); |
| 348 } | 348 } |
| 349 } | 349 } |
| 350 | 350 |
| 351 } // namespace ash | 351 } // namespace ash |
| OLD | NEW |