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 "ui/aura/window_tree_host_x11.h" | 5 #include "ui/aura/window_tree_host_x11.h" |
6 | 6 |
7 #include <strings.h> | 7 #include <strings.h> |
8 #include <X11/cursorfont.h> | 8 #include <X11/cursorfont.h> |
9 #include <X11/extensions/XInput2.h> | 9 #include <X11/extensions/XInput2.h> |
10 #include <X11/extensions/Xrandr.h> | 10 #include <X11/extensions/Xrandr.h> |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "ui/aura/env.h" | 28 #include "ui/aura/env.h" |
29 #include "ui/aura/window.h" | 29 #include "ui/aura/window.h" |
30 #include "ui/aura/window_event_dispatcher.h" | 30 #include "ui/aura/window_event_dispatcher.h" |
31 #include "ui/base/cursor/cursor.h" | 31 #include "ui/base/cursor/cursor.h" |
32 #include "ui/base/ui_base_switches.h" | 32 #include "ui/base/ui_base_switches.h" |
33 #include "ui/base/view_prop.h" | 33 #include "ui/base/view_prop.h" |
34 #include "ui/base/x/x11_util.h" | 34 #include "ui/base/x/x11_util.h" |
35 #include "ui/compositor/compositor.h" | 35 #include "ui/compositor/compositor.h" |
36 #include "ui/compositor/dip_util.h" | 36 #include "ui/compositor/dip_util.h" |
37 #include "ui/compositor/layer.h" | 37 #include "ui/compositor/layer.h" |
| 38 #include "ui/events/devices/x11/device_data_manager_x11.h" |
| 39 #include "ui/events/devices/x11/device_list_cache_x11.h" |
| 40 #include "ui/events/devices/x11/touch_factory_x11.h" |
38 #include "ui/events/event.h" | 41 #include "ui/events/event.h" |
39 #include "ui/events/event_switches.h" | 42 #include "ui/events/event_switches.h" |
40 #include "ui/events/event_utils.h" | 43 #include "ui/events/event_utils.h" |
41 #include "ui/events/keycodes/keyboard_codes.h" | 44 #include "ui/events/keycodes/keyboard_codes.h" |
42 #include "ui/events/platform/platform_event_observer.h" | 45 #include "ui/events/platform/platform_event_observer.h" |
43 #include "ui/events/platform/x11/x11_event_source.h" | 46 #include "ui/events/platform/x11/x11_event_source.h" |
44 #include "ui/events/x/device_data_manager_x11.h" | |
45 #include "ui/events/x/device_list_cache_x.h" | |
46 #include "ui/events/x/touch_factory_x11.h" | |
47 #include "ui/gfx/screen.h" | 47 #include "ui/gfx/screen.h" |
48 | 48 |
49 using std::max; | 49 using std::max; |
50 using std::min; | 50 using std::min; |
51 | 51 |
52 namespace aura { | 52 namespace aura { |
53 | 53 |
54 namespace { | 54 namespace { |
55 | 55 |
56 const char* kAtomsToCache[] = { | 56 const char* kAtomsToCache[] = { |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 } | 727 } |
728 | 728 |
729 namespace test { | 729 namespace test { |
730 | 730 |
731 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) { | 731 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) { |
732 default_override_redirect = override_redirect; | 732 default_override_redirect = override_redirect; |
733 } | 733 } |
734 | 734 |
735 } // namespace test | 735 } // namespace test |
736 } // namespace aura | 736 } // namespace aura |
OLD | NEW |