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

Side by Side Diff: ash/display/window_tree_host_manager.cc

Issue 1898223002: Removes most aura dependencies from WindowResizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_aura_from_window_state
Patch Set: nit and merge Created 4 years, 8 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
« no previous file with comments | « ash/display/shared_display_edge_indicator.cc ('k') | ash/drag_drop/drag_drop_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/display/window_tree_host_manager.h" 5 #include "ash/display/window_tree_host_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
(...skipping 10 matching lines...) Expand all
21 #include "ash/host/root_window_transformer.h" 21 #include "ash/host/root_window_transformer.h"
22 #include "ash/ime/input_method_event_handler.h" 22 #include "ash/ime/input_method_event_handler.h"
23 #include "ash/magnifier/magnification_controller.h" 23 #include "ash/magnifier/magnification_controller.h"
24 #include "ash/magnifier/partial_magnification_controller.h" 24 #include "ash/magnifier/partial_magnification_controller.h"
25 #include "ash/root_window_controller.h" 25 #include "ash/root_window_controller.h"
26 #include "ash/root_window_settings.h" 26 #include "ash/root_window_settings.h"
27 #include "ash/screen_util.h" 27 #include "ash/screen_util.h"
28 #include "ash/shell.h" 28 #include "ash/shell.h"
29 #include "ash/shell_delegate.h" 29 #include "ash/shell_delegate.h"
30 #include "ash/system/tray/system_tray.h" 30 #include "ash/system/tray/system_tray.h"
31 #include "ash/wm/coordinate_conversion.h"
32 #include "ash/wm/window_util.h" 31 #include "ash/wm/window_util.h"
33 #include "base/command_line.h" 32 #include "base/command_line.h"
34 #include "base/stl_util.h" 33 #include "base/stl_util.h"
35 #include "base/strings/stringprintf.h" 34 #include "base/strings/stringprintf.h"
36 #include "base/strings/utf_string_conversions.h" 35 #include "base/strings/utf_string_conversions.h"
37 #include "base/thread_task_runner_handle.h" 36 #include "base/thread_task_runner_handle.h"
38 #include "ui/aura/client/capture_client.h" 37 #include "ui/aura/client/capture_client.h"
39 #include "ui/aura/client/focus_client.h" 38 #include "ui/aura/client/focus_client.h"
40 #include "ui/aura/client/screen_position_client.h" 39 #include "ui/aura/client/screen_position_client.h"
41 #include "ui/aura/window.h" 40 #include "ui/aura/window.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 SetDisplayPropertiesOnHost(ash_host, display); 841 SetDisplayPropertiesOnHost(ash_host, display);
843 842
844 #if defined(OS_CHROMEOS) 843 #if defined(OS_CHROMEOS)
845 if (switches::ConstrainPointerToRoot()) 844 if (switches::ConstrainPointerToRoot())
846 ash_host->ConfineCursorToRootWindow(); 845 ash_host->ConfineCursorToRootWindow();
847 #endif 846 #endif
848 return ash_host; 847 return ash_host;
849 } 848 }
850 849
851 } // namespace ash 850 } // namespace ash
OLDNEW
« no previous file with comments | « ash/display/shared_display_edge_indicator.cc ('k') | ash/drag_drop/drag_drop_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698