| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 35 #include "ui/aura/client/screen_position_client.h" | 35 #include "ui/aura/client/screen_position_client.h" |
| 36 #include "ui/aura/window.h" | 36 #include "ui/aura/window.h" |
| 37 #include "ui/aura/window_event_dispatcher.h" | 37 #include "ui/aura/window_event_dispatcher.h" |
| 38 #include "ui/aura/window_property.h" | 38 #include "ui/aura/window_property.h" |
| 39 #include "ui/aura/window_tracker.h" | 39 #include "ui/aura/window_tracker.h" |
| 40 #include "ui/aura/window_tree_host.h" | 40 #include "ui/aura/window_tree_host.h" |
| 41 #include "ui/base/ime/input_method_factory.h" | 41 #include "ui/base/ime/input_method_factory.h" |
| 42 #include "ui/base/l10n/l10n_util.h" | 42 #include "ui/base/l10n/l10n_util.h" |
| 43 #include "ui/compositor/compositor.h" | 43 #include "ui/compositor/compositor.h" |
| 44 #include "ui/display/display.h" | 44 #include "ui/display/display.h" |
| 45 #include "ui/display/manager/display_layout.h" | 45 #include "ui/display/display_layout.h" |
| 46 #include "ui/display/manager/display_layout_store.h" | 46 #include "ui/display/manager/display_layout_store.h" |
| 47 #include "ui/display/manager/display_manager.h" | 47 #include "ui/display/manager/display_manager.h" |
| 48 #include "ui/display/screen.h" | 48 #include "ui/display/screen.h" |
| 49 #include "ui/display/types/display_constants.h" | 49 #include "ui/display/types/display_constants.h" |
| 50 #include "ui/wm/core/coordinate_conversion.h" | 50 #include "ui/wm/core/coordinate_conversion.h" |
| 51 #include "ui/wm/public/activation_client.h" | 51 #include "ui/wm/public/activation_client.h" |
| 52 | 52 |
| 53 #if defined(USE_X11) | 53 #if defined(USE_X11) |
| 54 #include "ui/base/x/x11_util.h" // nogncheck | 54 #include "ui/base/x/x11_util.h" // nogncheck |
| 55 #include "ui/gfx/x/x11_types.h" // nogncheck | 55 #include "ui/gfx/x/x11_types.h" // nogncheck |
| (...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 SetDisplayPropertiesOnHost(ash_host, display); | 898 SetDisplayPropertiesOnHost(ash_host, display); |
| 899 | 899 |
| 900 #if defined(OS_CHROMEOS) | 900 #if defined(OS_CHROMEOS) |
| 901 if (switches::ConstrainPointerToRoot()) | 901 if (switches::ConstrainPointerToRoot()) |
| 902 ash_host->ConfineCursorToRootWindow(); | 902 ash_host->ConfineCursorToRootWindow(); |
| 903 #endif | 903 #endif |
| 904 return ash_host; | 904 return ash_host; |
| 905 } | 905 } |
| 906 | 906 |
| 907 } // namespace ash | 907 } // namespace ash |
| OLD | NEW |