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

Side by Side Diff: ui/aura/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, 8 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
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AURA_ROOT_WINDOW_HOST_X11_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_X11_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 14 matching lines...) Expand all
25 class MouseEvent; 25 class MouseEvent;
26 } 26 }
27 27
28 namespace aura { 28 namespace aura {
29 29
30 namespace internal { 30 namespace internal {
31 class TouchEventCalibrate; 31 class TouchEventCalibrate;
32 } 32 }
33 33
34 class RootWindowHostX11 : public RootWindowHost, 34 class RootWindowHostX11 : public RootWindowHost,
35 public MessageLoop::Dispatcher, 35 public base::MessageLoop::Dispatcher,
36 public EnvObserver { 36 public EnvObserver {
37 public: 37 public:
38 explicit RootWindowHostX11(const gfx::Rect& bounds); 38 explicit RootWindowHostX11(const gfx::Rect& bounds);
39 virtual ~RootWindowHostX11(); 39 virtual ~RootWindowHostX11();
40 40
41 // Overridden from Dispatcher overrides: 41 // Overridden from Dispatcher overrides:
42 virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE; 42 virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
43 43
44 // RootWindowHost Overrides. 44 // RootWindowHost Overrides.
45 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; 45 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE;
46 virtual RootWindow* GetRootWindow() OVERRIDE; 46 virtual RootWindow* GetRootWindow() OVERRIDE;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 scoped_ptr<MouseMoveFilter> mouse_move_filter_; 142 scoped_ptr<MouseMoveFilter> mouse_move_filter_;
143 143
144 ui::X11AtomCache atom_cache_; 144 ui::X11AtomCache atom_cache_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(RootWindowHostX11); 146 DISALLOW_COPY_AND_ASSIGN(RootWindowHostX11);
147 }; 147 };
148 148
149 } // namespace aura 149 } // namespace aura
150 150
151 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_ 151 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698