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 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_ |
6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
10 #include "ui/aura/window_tree_host.h" | 10 #include "ui/aura/window_tree_host.h" |
11 #include "ui/events/event_source.h" | 11 #include "ui/events/event_source.h" |
12 #include "ui/events/platform/platform_event_dispatcher.h" | 12 #include "ui/events/platform/platform_event_dispatcher.h" |
13 #include "ui/gfx/insets.h" | 13 #include "ui/gfx/geometry/insets.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 #include "ui/gfx/x/x11_atom_cache.h" | 15 #include "ui/gfx/x/x11_atom_cache.h" |
16 | 16 |
17 // X forward decls to avoid including Xlib.h in a header file. | 17 // X forward decls to avoid including Xlib.h in a header file. |
18 typedef struct _XDisplay XDisplay; | 18 typedef struct _XDisplay XDisplay; |
19 typedef unsigned long XID; | 19 typedef unsigned long XID; |
20 typedef XID Window; | 20 typedef XID Window; |
21 | 21 |
22 namespace ui { | 22 namespace ui { |
23 class MouseEvent; | 23 class MouseEvent; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 namespace test { | 108 namespace test { |
109 | 109 |
110 // Set the default value of the override redirect flag used to | 110 // Set the default value of the override redirect flag used to |
111 // create a X window for WindowTreeHostX11. | 111 // create a X window for WindowTreeHostX11. |
112 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); | 112 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); |
113 | 113 |
114 } // namespace test | 114 } // namespace test |
115 } // namespace aura | 115 } // namespace aura |
116 | 116 |
117 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ | 117 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |