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

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

Issue 2908793002: [mus+ash] Removes WmWindow from ash/wm/overview and ash/wm/workspace (Closed)
Patch Set: Created 3 years, 6 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/keyboard/keyboard_observer_register.h" 9 #include "ash/keyboard/keyboard_observer_register.h"
10 #include "ash/public/cpp/shell_window_ids.h" 10 #include "ash/public/cpp/shell_window_ids.h"
11 #include "ash/root_window_controller.h" 11 #include "ash/root_window_controller.h"
12 #include "ash/screen_util.h" 12 #include "ash/screen_util.h"
13 #include "ash/session/session_controller.h" 13 #include "ash/session/session_controller.h"
14 #include "ash/shelf/shelf.h" 14 #include "ash/shelf/shelf.h"
15 #include "ash/shell.h" 15 #include "ash/shell.h"
16 #include "ash/wm/always_on_top_controller.h" 16 #include "ash/wm/always_on_top_controller.h"
17 #include "ash/wm/fullscreen_window_finder.h" 17 #include "ash/wm/fullscreen_window_finder.h"
18 #include "ash/wm/screen_pinning_controller.h" 18 #include "ash/wm/screen_pinning_controller.h"
19 #include "ash/wm/window_positioner.h" 19 #include "ash/wm/window_positioner.h"
20 #include "ash/wm/window_properties.h" 20 #include "ash/wm/window_properties.h"
21 #include "ash/wm/window_state.h" 21 #include "ash/wm/window_state.h"
22 #include "ash/wm/window_util.h" 22 #include "ash/wm/window_util.h"
23 #include "ash/wm/wm_event.h" 23 #include "ash/wm/wm_event.h"
24 #include "ash/wm/workspace/backdrop_controller.h" 24 #include "ash/wm/workspace/backdrop_controller.h"
25 #include "ash/wm/workspace/backdrop_delegate.h" 25 #include "ash/wm/workspace/backdrop_delegate.h"
26 #include "ash/wm_window.h"
27 #include "base/command_line.h" 26 #include "base/command_line.h"
28 #include "ui/aura/client/aura_constants.h" 27 #include "ui/aura/client/aura_constants.h"
29 #include "ui/base/ui_base_switches.h" 28 #include "ui/base/ui_base_switches.h"
30 #include "ui/compositor/layer.h" 29 #include "ui/compositor/layer.h"
31 #include "ui/display/display.h" 30 #include "ui/display/display.h"
32 #include "ui/display/screen.h" 31 #include "ui/display/screen.h"
33 #include "ui/keyboard/keyboard_controller.h" 32 #include "ui/keyboard/keyboard_controller.h"
34 #include "ui/keyboard/keyboard_controller_observer.h" 33 #include "ui/keyboard/keyboard_controller_observer.h"
35 #include "ui/wm/core/coordinate_conversion.h" 34 #include "ui/wm/core/coordinate_conversion.h"
36 #include "ui/wm/public/activation_client.h" 35 #include "ui/wm/public/activation_client.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 for (aura::Window* window : windows) { 395 for (aura::Window* window : windows) {
397 wm::WindowState* window_state = wm::GetWindowState(window); 396 wm::WindowState* window_state = wm::GetWindowState(window);
398 if (window_on_top) 397 if (window_on_top)
399 window_state->DisableAlwaysOnTop(window_on_top); 398 window_state->DisableAlwaysOnTop(window_on_top);
400 else 399 else
401 window_state->RestoreAlwaysOnTop(); 400 window_state->RestoreAlwaysOnTop();
402 } 401 }
403 } 402 }
404 403
405 } // namespace ash 404 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_event_handler_aura.cc ('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