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

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

Issue 135563004: Nukes MessageLoop::Dispatcher (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 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/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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698