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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include <memory> |
| 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | |
12 #include "ui/aura/aura_export.h" | 13 #include "ui/aura/aura_export.h" |
13 #include "ui/aura/window_tree_host.h" | 14 #include "ui/aura/window_tree_host.h" |
14 #include "ui/events/platform/platform_event_dispatcher.h" | 15 #include "ui/events/platform/platform_event_dispatcher.h" |
15 #include "ui/gfx/geometry/insets.h" | 16 #include "ui/gfx/geometry/insets.h" |
16 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/gfx/x/x11_atom_cache.h" | 18 #include "ui/gfx/x/x11_atom_cache.h" |
18 | 19 |
19 // X forward decls to avoid including Xlib.h in a header file. | 20 // X forward decls to avoid including Xlib.h in a header file. |
20 typedef struct _XDisplay XDisplay; | 21 typedef struct _XDisplay XDisplay; |
21 typedef unsigned long XID; | 22 typedef unsigned long XID; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 namespace test { | 99 namespace test { |
99 | 100 |
100 // Set the default value of the override redirect flag used to | 101 // Set the default value of the override redirect flag used to |
101 // create a X window for WindowTreeHostX11. | 102 // create a X window for WindowTreeHostX11. |
102 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); | 103 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); |
103 | 104 |
104 } // namespace test | 105 } // namespace test |
105 } // namespace aura | 106 } // namespace aura |
106 | 107 |
107 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ | 108 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |