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/views/widget/desktop_aura/desktop_window_tree_host_x11.h" | 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h" |
6 | 6 |
7 #include <X11/extensions/shape.h> | 7 #include <X11/extensions/shape.h> |
8 #include <X11/extensions/XInput2.h> | 8 #include <X11/extensions/XInput2.h> |
9 #include <X11/Xatom.h> | 9 #include <X11/Xatom.h> |
10 #include <X11/Xregion.h> | 10 #include <X11/Xregion.h> |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "ui/aura/window_property.h" | 23 #include "ui/aura/window_property.h" |
24 #include "ui/base/dragdrop/os_exchange_data_provider_aurax11.h" | 24 #include "ui/base/dragdrop/os_exchange_data_provider_aurax11.h" |
25 #include "ui/base/hit_test.h" | 25 #include "ui/base/hit_test.h" |
26 #include "ui/base/x/x11_util.h" | 26 #include "ui/base/x/x11_util.h" |
27 #include "ui/events/event_utils.h" | 27 #include "ui/events/event_utils.h" |
28 #include "ui/events/platform/platform_event_source.h" | 28 #include "ui/events/platform/platform_event_source.h" |
29 #include "ui/events/platform/x11/x11_event_source.h" | 29 #include "ui/events/platform/x11/x11_event_source.h" |
30 #include "ui/events/x/device_data_manager_x11.h" | 30 #include "ui/events/x/device_data_manager_x11.h" |
31 #include "ui/events/x/device_list_cache_x.h" | 31 #include "ui/events/x/device_list_cache_x.h" |
32 #include "ui/events/x/touch_factory_x11.h" | 32 #include "ui/events/x/touch_factory_x11.h" |
| 33 #include "ui/gfx/geometry/insets.h" |
33 #include "ui/gfx/image/image_skia.h" | 34 #include "ui/gfx/image/image_skia.h" |
34 #include "ui/gfx/image/image_skia_rep.h" | 35 #include "ui/gfx/image/image_skia_rep.h" |
35 #include "ui/gfx/insets.h" | |
36 #include "ui/gfx/path.h" | 36 #include "ui/gfx/path.h" |
37 #include "ui/gfx/path_x11.h" | 37 #include "ui/gfx/path_x11.h" |
38 #include "ui/gfx/screen.h" | 38 #include "ui/gfx/screen.h" |
39 #include "ui/native_theme/native_theme.h" | 39 #include "ui/native_theme/native_theme.h" |
40 #include "ui/views/corewm/tooltip_aura.h" | 40 #include "ui/views/corewm/tooltip_aura.h" |
41 #include "ui/views/ime/input_method.h" | 41 #include "ui/views/ime/input_method.h" |
42 #include "ui/views/linux_ui/linux_ui.h" | 42 #include "ui/views/linux_ui/linux_ui.h" |
43 #include "ui/views/views_delegate.h" | 43 #include "ui/views/views_delegate.h" |
44 #include "ui/views/views_switches.h" | 44 #include "ui/views/views_switches.h" |
45 #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h" | 45 #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h" |
(...skipping 1792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1838 if (linux_ui) { | 1838 if (linux_ui) { |
1839 ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(window); | 1839 ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(window); |
1840 if (native_theme) | 1840 if (native_theme) |
1841 return native_theme; | 1841 return native_theme; |
1842 } | 1842 } |
1843 | 1843 |
1844 return ui::NativeTheme::instance(); | 1844 return ui::NativeTheme::instance(); |
1845 } | 1845 } |
1846 | 1846 |
1847 } // namespace views | 1847 } // namespace views |
OLD | NEW |