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/extensions/shape.h> | 8 #include <X11/extensions/shape.h> |
9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 class DesktopDragDropClientAuraX11; | 30 class DesktopDragDropClientAuraX11; |
31 class DesktopDispatcherClient; | 31 class DesktopDispatcherClient; |
32 class DesktopWindowTreeHostObserverX11; | 32 class DesktopWindowTreeHostObserverX11; |
33 class X11DesktopWindowMoveClient; | 33 class X11DesktopWindowMoveClient; |
34 class X11ScopedCapture; | 34 class X11ScopedCapture; |
35 class X11WindowEventFilter; | 35 class X11WindowEventFilter; |
36 | 36 |
37 class VIEWS_EXPORT DesktopWindowTreeHostX11 : | 37 class VIEWS_EXPORT DesktopWindowTreeHostX11 : |
38 public DesktopWindowTreeHost, | 38 public DesktopWindowTreeHost, |
39 public aura::WindowTreeHost, | 39 public aura::WindowTreeHost, |
40 public base::MessageLoop::Dispatcher { | 40 public base::MessagePumpDispatcher { |
41 public: | 41 public: |
42 DesktopWindowTreeHostX11( | 42 DesktopWindowTreeHostX11( |
43 internal::NativeWidgetDelegate* native_widget_delegate, | 43 internal::NativeWidgetDelegate* native_widget_delegate, |
44 DesktopNativeWidgetAura* desktop_native_widget_aura); | 44 DesktopNativeWidgetAura* desktop_native_widget_aura); |
45 virtual ~DesktopWindowTreeHostX11(); | 45 virtual ~DesktopWindowTreeHostX11(); |
46 | 46 |
47 // A way of converting an X11 |xid| host window into a |content_window_|. | 47 // A way of converting an X11 |xid| host window into a |content_window_|. |
48 static aura::Window* GetContentWindowForXID(XID xid); | 48 static aura::Window* GetContentWindowForXID(XID xid); |
49 | 49 |
50 // A way of converting an X11 |xid| host window into this object. | 50 // A way of converting an X11 |xid| host window into this object. |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 scoped_ptr<X11ScopedCapture> x11_capture_; | 285 scoped_ptr<X11ScopedCapture> x11_capture_; |
286 | 286 |
287 base::string16 window_title_; | 287 base::string16 window_title_; |
288 | 288 |
289 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 289 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
290 }; | 290 }; |
291 | 291 |
292 } // namespace views | 292 } // namespace views |
293 | 293 |
294 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 294 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
OLD | NEW |