Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_x11.h

Issue 14061025: ui: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 22 matching lines...) Expand all
33 class DesktopCaptureClient; 33 class DesktopCaptureClient;
34 class DesktopDragDropClientAuraX11; 34 class DesktopDragDropClientAuraX11;
35 class DesktopDispatcherClient; 35 class DesktopDispatcherClient;
36 class X11DesktopWindowMoveClient; 36 class X11DesktopWindowMoveClient;
37 class X11WindowEventFilter; 37 class X11WindowEventFilter;
38 38
39 namespace corewm { 39 namespace corewm {
40 class CursorManager; 40 class CursorManager;
41 } 41 }
42 42
43 class VIEWS_EXPORT DesktopRootWindowHostX11 43 class VIEWS_EXPORT DesktopRootWindowHostX11 :
44 : public DesktopRootWindowHost, 44 public DesktopRootWindowHost,
45 public aura::RootWindowHost, 45 public aura::RootWindowHost,
46 public ui::DesktopSelectionProviderAuraX11, 46 public ui::DesktopSelectionProviderAuraX11,
47 public MessageLoop::Dispatcher { 47 public base::MessageLoop::Dispatcher {
48 public: 48 public:
49 DesktopRootWindowHostX11( 49 DesktopRootWindowHostX11(
50 internal::NativeWidgetDelegate* native_widget_delegate, 50 internal::NativeWidgetDelegate* native_widget_delegate,
51 DesktopNativeWidgetAura* desktop_native_widget_aura, 51 DesktopNativeWidgetAura* desktop_native_widget_aura,
52 const gfx::Rect& initial_bounds); 52 const gfx::Rect& initial_bounds);
53 virtual ~DesktopRootWindowHostX11(); 53 virtual ~DesktopRootWindowHostX11();
54 54
55 // A way of converting an X11 |xid| host window into a |content_window_|. 55 // A way of converting an X11 |xid| host window into a |content_window_|.
56 static aura::Window* GetContentWindowForXID(XID xid); 56 static aura::Window* GetContentWindowForXID(XID xid);
57 57
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // can notify widgets when they have lost capture, which controls a bunch of 242 // can notify widgets when they have lost capture, which controls a bunch of
243 // things in views like hiding menus. 243 // things in views like hiding menus.
244 static DesktopRootWindowHostX11* g_current_capture; 244 static DesktopRootWindowHostX11* g_current_capture;
245 245
246 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); 246 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11);
247 }; 247 };
248 248
249 } // namespace views 249 } // namespace views
250 250
251 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 251 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698