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_ROOT_WINDOW_HOST_X11_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_X11_H_ |
6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. | 12 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. |
13 #undef RootWindow | 13 #undef RootWindow |
14 | 14 |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
17 #include "ui/aura/aura_export.h" | 17 #include "ui/aura/aura_export.h" |
18 #include "ui/aura/env_observer.h" | 18 #include "ui/aura/env_observer.h" |
19 #include "ui/aura/root_window_host.h" | 19 #include "ui/aura/root_window_host.h" |
20 #include "ui/base/x/x11_atom_cache.h" | 20 #include "ui/base/x/x11_atom_cache.h" |
21 #include "ui/base/x/x11_util.h" | 21 #include "ui/base/x/x11_util.h" |
22 #include "ui/gfx/insets.h" | 22 #include "ui/gfx/insets.h" |
23 #include "ui/gfx/rect.h" | 23 #include "ui/gfx/rect.h" |
24 | 24 |
25 namespace ui { | 25 namespace ui { |
26 class MouseEvent; | 26 class MouseEvent; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 namespace test { | 151 namespace test { |
152 | 152 |
153 // Set the default value of the override redirect flag used to | 153 // Set the default value of the override redirect flag used to |
154 // create a X window for RootWindowHostX11. | 154 // create a X window for RootWindowHostX11. |
155 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); | 155 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); |
156 | 156 |
157 } // namespace test | 157 } // namespace test |
158 } // namespace aura | 158 } // namespace aura |
159 | 159 |
160 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_ | 160 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_ |
OLD | NEW |