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

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

Issue 2889413002: chromeos: nukes window_state_aura (Closed)
Patch Set: merge, remove include from windows and shuffle functions for declaration Created 3 years, 7 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/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/public/cpp/shell_window_ids.h" 8 #include "ash/public/cpp/shell_window_ids.h"
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/session/session_state_delegate.h" 10 #include "ash/session/session_state_delegate.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/shell_port.h" 12 #include "ash/shell_port.h"
13 #include "ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h" 13 #include "ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h"
14 #include "ash/wm/maximize_mode/maximize_mode_event_handler.h" 14 #include "ash/wm/maximize_mode/maximize_mode_event_handler.h"
15 #include "ash/wm/maximize_mode/maximize_mode_window_state.h" 15 #include "ash/wm/maximize_mode/maximize_mode_window_state.h"
16 #include "ash/wm/mru_window_tracker.h" 16 #include "ash/wm/mru_window_tracker.h"
17 #include "ash/wm/overview/window_selector_controller.h" 17 #include "ash/wm/overview/window_selector_controller.h"
18 #include "ash/wm/window_state.h" 18 #include "ash/wm/window_state.h"
19 #include "ash/wm/window_state_aura.h"
20 #include "ash/wm/wm_event.h" 19 #include "ash/wm/wm_event.h"
21 #include "ash/wm/workspace_controller.h" 20 #include "ash/wm/workspace_controller.h"
22 #include "ash/wm_window.h" 21 #include "ash/wm_window.h"
23 #include "base/command_line.h" 22 #include "base/command_line.h"
24 #include "base/memory/ptr_util.h" 23 #include "base/memory/ptr_util.h"
25 #include "base/stl_util.h" 24 #include "base/stl_util.h"
26 #include "ui/aura/client/aura_constants.h" 25 #include "ui/aura/client/aura_constants.h"
27 #include "ui/display/screen.h" 26 #include "ui/display/screen.h"
28 27
29 namespace ash { 28 namespace ash {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // the topmost window of its container. 302 // the topmost window of its container.
304 for (WmWindow* root : ShellPort::Get()->GetAllRootWindows()) { 303 for (WmWindow* root : ShellPort::Get()->GetAllRootWindows()) {
305 RootWindowController* controller = root->GetRootWindowController(); 304 RootWindowController* controller = root->GetRootWindowController();
306 controller->workspace_controller()->SetBackdropDelegate( 305 controller->workspace_controller()->SetBackdropDelegate(
307 enable ? base::MakeUnique<MaximizeModeBackdropDelegateImpl>() 306 enable ? base::MakeUnique<MaximizeModeBackdropDelegateImpl>()
308 : nullptr); 307 : nullptr);
309 } 308 }
310 } 309 }
311 310
312 } // namespace ash 311 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/lock_layout_manager_unittest.cc ('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