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_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 Loading... |
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 Loading... |
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_ |
OLD | NEW |