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

Side by Side Diff: ash/common/wm/workspace/workspace_layout_manager.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/workspace/workspace_layout_manager.h" 5 #include "ash/common/wm/workspace/workspace_layout_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/common/session/session_state_delegate.h" 9 #include "ash/common/session/session_state_delegate.h"
10 #include "ash/common/shelf/wm_shelf.h" 10 #include "ash/common/shelf/wm_shelf.h"
11 #include "ash/common/shell_window_ids.h"
12 #include "ash/common/wm/always_on_top_controller.h" 11 #include "ash/common/wm/always_on_top_controller.h"
13 #include "ash/common/wm/fullscreen_window_finder.h" 12 #include "ash/common/wm/fullscreen_window_finder.h"
14 #include "ash/common/wm/window_positioner.h" 13 #include "ash/common/wm/window_positioner.h"
15 #include "ash/common/wm/window_state.h" 14 #include "ash/common/wm/window_state.h"
16 #include "ash/common/wm/wm_event.h" 15 #include "ash/common/wm/wm_event.h"
17 #include "ash/common/wm/wm_screen_util.h" 16 #include "ash/common/wm/wm_screen_util.h"
18 #include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h" 17 #include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h"
19 #include "ash/common/wm_root_window_controller.h" 18 #include "ash/common/wm_root_window_controller.h"
20 #include "ash/common/wm_shell.h" 19 #include "ash/common/wm_shell.h"
21 #include "ash/common/wm_window.h" 20 #include "ash/common/wm_window.h"
22 #include "ash/common/wm_window_property.h" 21 #include "ash/common/wm_window_property.h"
22 #include "ash/public/cpp/shell_window_ids.h"
23 #include "base/command_line.h" 23 #include "base/command_line.h"
24 #include "ui/base/ui_base_switches.h" 24 #include "ui/base/ui_base_switches.h"
25 #include "ui/compositor/layer.h" 25 #include "ui/compositor/layer.h"
26 #include "ui/display/display.h" 26 #include "ui/display/display.h"
27 #include "ui/display/screen.h" 27 #include "ui/display/screen.h"
28 #include "ui/keyboard/keyboard_controller.h" 28 #include "ui/keyboard/keyboard_controller.h"
29 #include "ui/keyboard/keyboard_controller_observer.h" 29 #include "ui/keyboard/keyboard_controller_observer.h"
30 30
31 namespace ash { 31 namespace ash {
32 32
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 for (auto* window : windows) { 377 for (auto* window : windows) {
378 wm::WindowState* window_state = window->GetWindowState(); 378 wm::WindowState* window_state = window->GetWindowState();
379 if (window_on_top) 379 if (window_on_top)
380 window_state->DisableAlwaysOnTop(window_on_top); 380 window_state->DisableAlwaysOnTop(window_on_top);
381 else 381 else
382 window_state->RestoreAlwaysOnTop(); 382 window_state->RestoreAlwaysOnTop();
383 } 383 }
384 } 384 }
385 385
386 } // namespace ash 386 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/wm/workspace/phantom_window_controller.cc ('k') | ash/common/wm/workspace/workspace_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698