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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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/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>
11 #include <utility> 11 #include <utility>
12 12
13 #include "ash/common/ash_switches.h" 13 #include "ash/ash_switches.h"
14 #include "ash/common/system/tray/system_tray.h"
15 #include "ash/display/cursor_window_controller.h" 14 #include "ash/display/cursor_window_controller.h"
16 #include "ash/display/mirror_window_controller.h" 15 #include "ash/display/mirror_window_controller.h"
17 #include "ash/display/root_window_transformers.h" 16 #include "ash/display/root_window_transformers.h"
18 #include "ash/host/ash_window_tree_host.h" 17 #include "ash/host/ash_window_tree_host.h"
19 #include "ash/host/ash_window_tree_host_init_params.h" 18 #include "ash/host/ash_window_tree_host_init_params.h"
20 #include "ash/host/root_window_transformer.h" 19 #include "ash/host/root_window_transformer.h"
21 #include "ash/ime/input_method_event_handler.h" 20 #include "ash/ime/input_method_event_handler.h"
22 #include "ash/magnifier/magnification_controller.h" 21 #include "ash/magnifier/magnification_controller.h"
23 #include "ash/magnifier/partial_magnification_controller.h" 22 #include "ash/magnifier/partial_magnification_controller.h"
24 #include "ash/root_window_controller.h" 23 #include "ash/root_window_controller.h"
25 #include "ash/root_window_settings.h" 24 #include "ash/root_window_settings.h"
26 #include "ash/shell.h" 25 #include "ash/shell.h"
26 #include "ash/system/tray/system_tray.h"
27 #include "ash/wm/window_util.h" 27 #include "ash/wm/window_util.h"
28 #include "base/command_line.h" 28 #include "base/command_line.h"
29 #include "base/strings/stringprintf.h" 29 #include "base/strings/stringprintf.h"
30 #include "base/strings/utf_string_conversions.h" 30 #include "base/strings/utf_string_conversions.h"
31 #include "base/threading/thread_task_runner_handle.h" 31 #include "base/threading/thread_task_runner_handle.h"
32 #include "ui/aura/client/capture_client.h" 32 #include "ui/aura/client/capture_client.h"
33 #include "ui/aura/client/focus_client.h" 33 #include "ui/aura/client/focus_client.h"
34 #include "ui/aura/client/screen_position_client.h" 34 #include "ui/aura/client/screen_position_client.h"
35 #include "ui/aura/window.h" 35 #include "ui/aura/window.h"
36 #include "ui/aura/window_event_dispatcher.h" 36 #include "ui/aura/window_event_dispatcher.h"
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 870
871 window_tree_hosts_[display.id()] = ash_host; 871 window_tree_hosts_[display.id()] = ash_host;
872 SetDisplayPropertiesOnHost(ash_host, display); 872 SetDisplayPropertiesOnHost(ash_host, display);
873 873
874 if (switches::ConstrainPointerToRoot()) 874 if (switches::ConstrainPointerToRoot())
875 ash_host->ConfineCursorToRootWindow(); 875 ash_host->ConfineCursorToRootWindow();
876 return ash_host; 876 return ash_host;
877 } 877 }
878 878
879 } // namespace ash 879 } // namespace ash
OLDNEW
« no previous file with comments | « ash/display/shutdown_observer_chromeos.cc ('k') | ash/display/window_tree_host_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698