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

Side by Side Diff: ui/views/widget/desktop_root_window_host_linux.h

Issue 11193005: linux desktop aura: Get tab dragging working. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | ui/views/widget/desktop_root_window_host_linux.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_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_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 18 matching lines...) Expand all
29 class ScreenPositionClient; 29 class ScreenPositionClient;
30 } 30 }
31 namespace shared { 31 namespace shared {
32 class CompoundEventFilter; 32 class CompoundEventFilter;
33 class InputMethodEventFilter; 33 class InputMethodEventFilter;
34 } 34 }
35 } 35 }
36 36
37 namespace views { 37 namespace views {
38 class DesktopCaptureClient; 38 class DesktopCaptureClient;
39 class X11DesktopWindowMoveClient;
39 class X11WindowEventFilter; 40 class X11WindowEventFilter;
40 41
41 class VIEWS_EXPORT DesktopRootWindowHostLinux 42 class VIEWS_EXPORT DesktopRootWindowHostLinux
42 : public DesktopRootWindowHost, 43 : public DesktopRootWindowHost,
43 public aura::RootWindowHost, 44 public aura::RootWindowHost,
44 public aura::client::CursorClient, 45 public aura::client::CursorClient,
45 public views::internal::InputMethodDelegate, 46 public views::internal::InputMethodDelegate,
46 public MessageLoop::Dispatcher { 47 public MessageLoop::Dispatcher {
47 public: 48 public:
48 DesktopRootWindowHostLinux( 49 DesktopRootWindowHostLinux(
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 220
220 // The invisible cursor. 221 // The invisible cursor.
221 ::Cursor invisible_cursor_; 222 ::Cursor invisible_cursor_;
222 223
223 // Toplevel event filter which dispatches to other event filters. 224 // Toplevel event filter which dispatches to other event filters.
224 aura::shared::CompoundEventFilter* root_window_event_filter_; 225 aura::shared::CompoundEventFilter* root_window_event_filter_;
225 226
226 // An event filter that pre-handles all key events to send them to an IME. 227 // An event filter that pre-handles all key events to send them to an IME.
227 scoped_ptr<aura::shared::InputMethodEventFilter> input_method_filter_; 228 scoped_ptr<aura::shared::InputMethodEventFilter> input_method_filter_;
228 scoped_ptr<X11WindowEventFilter> x11_window_event_filter_; 229 scoped_ptr<X11WindowEventFilter> x11_window_event_filter_;
230 scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_;
229 231
230 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura 232 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura
231 // instead of providing this route back to Widget. 233 // instead of providing this route back to Widget.
232 internal::NativeWidgetDelegate* native_widget_delegate_; 234 internal::NativeWidgetDelegate* native_widget_delegate_;
233 235
234 DesktopNativeWidgetAura* desktop_native_widget_aura_; 236 DesktopNativeWidgetAura* desktop_native_widget_aura_;
235 237
236 aura::RootWindowHostDelegate* root_window_host_delegate_; 238 aura::RootWindowHostDelegate* root_window_host_delegate_;
237 aura::Window* content_window_; 239 aura::Window* content_window_;
238 240
239 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); 241 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux);
240 }; 242 };
241 243
242 } // namespace views 244 } // namespace views
243 245
244 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 246 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698