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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_window_manager.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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/common/wm/maximize_mode/maximize_mode_window_manager.h" 5 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
6 6
7 #include "ash/common/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/common/session/session_state_delegate.h"
9 #include "ash/common/wm/maximize_mode/maximize_mode_event_handler.h"
10 #include "ash/common/wm/maximize_mode/maximize_mode_window_state.h"
11 #include "ash/common/wm/maximize_mode/workspace_backdrop_delegate.h"
12 #include "ash/common/wm/mru_window_tracker.h"
13 #include "ash/common/wm/overview/window_selector_controller.h"
14 #include "ash/common/wm/window_state.h"
15 #include "ash/common/wm/wm_event.h"
16 #include "ash/common/wm/workspace_controller.h"
17 #include "ash/common/wm_shell.h"
18 #include "ash/common/wm_window.h"
19 #include "ash/public/cpp/shell_window_ids.h" 8 #include "ash/public/cpp/shell_window_ids.h"
20 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/session/session_state_delegate.h"
21 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/wm/maximize_mode/maximize_mode_event_handler.h"
13 #include "ash/wm/maximize_mode/maximize_mode_window_state.h"
14 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h"
15 #include "ash/wm/mru_window_tracker.h"
16 #include "ash/wm/overview/window_selector_controller.h"
17 #include "ash/wm/window_state.h"
22 #include "ash/wm/window_state_aura.h" 18 #include "ash/wm/window_state_aura.h"
19 #include "ash/wm/wm_event.h"
20 #include "ash/wm/workspace_controller.h"
21 #include "ash/wm_shell.h"
22 #include "ash/wm_window.h"
23 #include "base/command_line.h" 23 #include "base/command_line.h"
24 #include "base/memory/ptr_util.h" 24 #include "base/memory/ptr_util.h"
25 #include "base/stl_util.h" 25 #include "base/stl_util.h"
26 #include "ui/aura/client/aura_constants.h" 26 #include "ui/aura/client/aura_constants.h"
27 #include "ui/display/screen.h" 27 #include "ui/display/screen.h"
28 28
29 namespace ash { 29 namespace ash {
30 30
31 namespace { 31 namespace {
32 32
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 RootWindowController* controller = root->GetRootWindowController(); 323 RootWindowController* controller = root->GetRootWindowController();
324 WmWindow* default_container = 324 WmWindow* default_container =
325 root->GetChildByShellWindowId(kShellWindowId_DefaultContainer); 325 root->GetChildByShellWindowId(kShellWindowId_DefaultContainer);
326 controller->workspace_controller()->SetMaximizeBackdropDelegate( 326 controller->workspace_controller()->SetMaximizeBackdropDelegate(
327 enable ? base::MakeUnique<WorkspaceBackdropDelegate>(default_container) 327 enable ? base::MakeUnique<WorkspaceBackdropDelegate>(default_container)
328 : nullptr); 328 : nullptr);
329 } 329 }
330 } 330 }
331 331
332 } // namespace ash 332 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager.h ('k') | ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698