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. |
(...skipping 11 matching lines...) Expand all Loading... |
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 |
31 namespace views { | 31 namespace views { |
32 class DesktopActivationClient; | |
33 class DesktopDragDropClientAuraX11; | 32 class DesktopDragDropClientAuraX11; |
34 class DesktopDispatcherClient; | 33 class DesktopDispatcherClient; |
35 class DesktopRootWindowHostObserverX11; | 34 class DesktopRootWindowHostObserverX11; |
36 class X11DesktopWindowMoveClient; | 35 class X11DesktopWindowMoveClient; |
37 class X11WindowEventFilter; | 36 class X11WindowEventFilter; |
38 | 37 |
39 namespace corewm { | 38 namespace corewm { |
40 class CursorManager; | 39 class CursorManager; |
41 } | 40 } |
42 | 41 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 bool focus_when_shown_; | 216 bool focus_when_shown_; |
218 | 217 |
219 // The window manager state bits. | 218 // The window manager state bits. |
220 std::set< ::Atom> window_properties_; | 219 std::set< ::Atom> window_properties_; |
221 | 220 |
222 // We are owned by the RootWindow, but we have to have a back pointer to it. | 221 // We are owned by the RootWindow, but we have to have a back pointer to it. |
223 aura::RootWindow* root_window_; | 222 aura::RootWindow* root_window_; |
224 | 223 |
225 // aura:: objects that we own. | 224 // aura:: objects that we own. |
226 scoped_ptr<aura::client::FocusClient> focus_client_; | 225 scoped_ptr<aura::client::FocusClient> focus_client_; |
227 scoped_ptr<DesktopActivationClient> activation_client_; | |
228 scoped_ptr<views::corewm::CursorManager> cursor_client_; | 226 scoped_ptr<views::corewm::CursorManager> cursor_client_; |
229 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; | 227 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; |
230 scoped_ptr<aura::client::ScreenPositionClient> position_client_; | 228 scoped_ptr<aura::client::ScreenPositionClient> position_client_; |
231 scoped_ptr<DesktopDragDropClientAuraX11> drag_drop_client_; | 229 scoped_ptr<DesktopDragDropClientAuraX11> drag_drop_client_; |
232 | 230 |
233 // Current Aura cursor. | 231 // Current Aura cursor. |
234 gfx::NativeCursor current_cursor_; | 232 gfx::NativeCursor current_cursor_; |
235 | 233 |
236 scoped_ptr<X11WindowEventFilter> x11_window_event_filter_; | 234 scoped_ptr<X11WindowEventFilter> x11_window_event_filter_; |
237 scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_; | 235 scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_; |
(...skipping 19 matching lines...) Expand all Loading... |
257 // A list of all (top-level) windows that have been created but not yet | 255 // A list of all (top-level) windows that have been created but not yet |
258 // destroyed. | 256 // destroyed. |
259 static std::list<XID>* open_windows_; | 257 static std::list<XID>* open_windows_; |
260 | 258 |
261 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); | 259 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); |
262 }; | 260 }; |
263 | 261 |
264 } // namespace views | 262 } // namespace views |
265 | 263 |
266 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 264 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
OLD | NEW |