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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. | 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. |
11 #undef RootWindow | 11 #undef RootWindow |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "ui/aura/client/cursor_client.h" | 16 #include "ui/aura/client/cursor_client.h" |
17 #include "ui/aura/root_window_host.h" | 17 #include "ui/aura/root_window_host.h" |
18 #include "ui/base/cursor/cursor_loader_x11.h" | 18 #include "ui/base/cursor/cursor_loader_x11.h" |
19 #include "ui/base/x/x11_atom_cache.h" | |
20 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
| 20 #include "ui/gfx/x/x11_atom_cache.h" |
21 #include "ui/views/views_export.h" | 21 #include "ui/views/views_export.h" |
22 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" | 22 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" |
23 | 23 |
24 namespace aura { | 24 namespace aura { |
25 namespace client { | 25 namespace client { |
26 class FocusClient; | 26 class FocusClient; |
27 class ScreenPositionClient; | 27 class ScreenPositionClient; |
28 } | 28 } |
29 } | 29 } |
30 | 30 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // A list of all (top-level) windows that have been created but not yet | 260 // A list of all (top-level) windows that have been created but not yet |
261 // destroyed. | 261 // destroyed. |
262 static std::list<XID>* open_windows_; | 262 static std::list<XID>* open_windows_; |
263 | 263 |
264 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); | 264 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); |
265 }; | 265 }; |
266 | 266 |
267 } // namespace views | 267 } // namespace views |
268 | 268 |
269 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 269 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
OLD | NEW |