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

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

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (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 (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/wm/workspace/workspace_layout_manager.h" 5 #include "ash/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"
10 #include "ash/common/wm_shell.h"
11 #include "ash/common/wm_window.h"
12 #include "ash/public/cpp/shell_window_ids.h" 9 #include "ash/public/cpp/shell_window_ids.h"
13 #include "ash/root_window_controller.h" 10 #include "ash/root_window_controller.h"
11 #include "ash/session/session_state_delegate.h"
14 #include "ash/shelf/wm_shelf.h" 12 #include "ash/shelf/wm_shelf.h"
15 #include "ash/wm/always_on_top_controller.h" 13 #include "ash/wm/always_on_top_controller.h"
16 #include "ash/wm/fullscreen_window_finder.h" 14 #include "ash/wm/fullscreen_window_finder.h"
17 #include "ash/wm/window_positioner.h" 15 #include "ash/wm/window_positioner.h"
18 #include "ash/wm/window_properties.h" 16 #include "ash/wm/window_properties.h"
19 #include "ash/wm/window_state.h" 17 #include "ash/wm/window_state.h"
20 #include "ash/wm/window_state_aura.h" 18 #include "ash/wm/window_state_aura.h"
21 #include "ash/wm/wm_event.h" 19 #include "ash/wm/wm_event.h"
22 #include "ash/wm/wm_screen_util.h" 20 #include "ash/wm/wm_screen_util.h"
23 #include "ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h" 21 #include "ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h"
22 #include "ash/wm_shell.h"
23 #include "ash/wm_window.h"
24 #include "base/command_line.h" 24 #include "base/command_line.h"
25 #include "ui/aura/client/aura_constants.h" 25 #include "ui/aura/client/aura_constants.h"
26 #include "ui/base/ui_base_switches.h" 26 #include "ui/base/ui_base_switches.h"
27 #include "ui/compositor/layer.h" 27 #include "ui/compositor/layer.h"
28 #include "ui/display/display.h" 28 #include "ui/display/display.h"
29 #include "ui/display/screen.h" 29 #include "ui/display/screen.h"
30 #include "ui/keyboard/keyboard_controller.h" 30 #include "ui/keyboard/keyboard_controller.h"
31 #include "ui/keyboard/keyboard_controller_observer.h" 31 #include "ui/keyboard/keyboard_controller_observer.h"
32 32
33 namespace ash { 33 namespace ash {
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 for (auto* window : windows) { 378 for (auto* window : windows) {
379 wm::WindowState* window_state = window->GetWindowState(); 379 wm::WindowState* window_state = window->GetWindowState();
380 if (window_on_top) 380 if (window_on_top)
381 window_state->DisableAlwaysOnTop(window_on_top); 381 window_state->DisableAlwaysOnTop(window_on_top);
382 else 382 else
383 window_state->RestoreAlwaysOnTop(); 383 window_state->RestoreAlwaysOnTop();
384 } 384 }
385 } 385 }
386 386
387 } // namespace ash 387 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager.h ('k') | ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698