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

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

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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_DRAG_DROP_CLIENT_AURAX11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_
7 7
8 #include <set> 8 #include <set>
9 #include <X11/Xlib.h> 9 #include <X11/Xlib.h>
10 10
(...skipping 24 matching lines...) Expand all
35 class DropTargetEvent; 35 class DropTargetEvent;
36 class OSExchangeData; 36 class OSExchangeData;
37 class OSExchangeDataProviderAuraX11; 37 class OSExchangeDataProviderAuraX11;
38 class SelectionFormatMap; 38 class SelectionFormatMap;
39 } 39 }
40 40
41 namespace views { 41 namespace views {
42 class DesktopNativeCursorManager; 42 class DesktopNativeCursorManager;
43 43
44 // Implements drag and drop on X11 for aura. On one side, this class takes raw 44 // Implements drag and drop on X11 for aura. On one side, this class takes raw
45 // X11 events forwarded from DesktopRootWindowHostLinux, while on the other, it 45 // X11 events forwarded from DesktopWindowTreeHostLinux, while on the other, it
46 // handles the views drag events. 46 // handles the views drag events.
47 class VIEWS_EXPORT DesktopDragDropClientAuraX11 47 class VIEWS_EXPORT DesktopDragDropClientAuraX11
48 : public aura::client::DragDropClient, 48 : public aura::client::DragDropClient,
49 public aura::WindowObserver, 49 public aura::WindowObserver,
50 public X11WholeScreenMoveLoopDelegate { 50 public X11WholeScreenMoveLoopDelegate {
51 public: 51 public:
52 DesktopDragDropClientAuraX11( 52 DesktopDragDropClientAuraX11(
53 aura::Window* root_window, 53 aura::Window* root_window,
54 views::DesktopNativeCursorManager* cursor_manager, 54 views::DesktopNativeCursorManager* cursor_manager,
55 Display* xdisplay, 55 Display* xdisplay,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 gfx::NativeCursor grab_cursor_; 214 gfx::NativeCursor grab_cursor_;
215 gfx::NativeCursor copy_grab_cursor_; 215 gfx::NativeCursor copy_grab_cursor_;
216 gfx::NativeCursor move_grab_cursor_; 216 gfx::NativeCursor move_grab_cursor_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11); 218 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11);
219 }; 219 };
220 220
221 } // namespace views 221 } // namespace views
222 222
223 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ 223 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_
OLDNEW
« no previous file with comments | « ui/views/test/ui_controls_factory_desktop_aurax11.cc ('k') | ui/views/widget/desktop_aura/desktop_drop_target_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698