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

Unified Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h

Issue 751063008: Fix mouse cursor during drag and drop after HTML 5 pointer lock on Desktop Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
index f1f3b91bde22ce21486130757fdb7c0b007b3edf..d8ccb0e60693d93bc6ef9565f658511b02bbdb09 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
@@ -204,6 +204,8 @@ class VIEWS_EXPORT DesktopDragDropClientAuraX11
aura::Window* root_window_;
+ DesktopNativeCursorManager* cursor_manager_;
+
Display* xdisplay_;
::Window xwindow_;
@@ -277,11 +279,6 @@ class VIEWS_EXPORT DesktopDragDropClientAuraX11
// The offset of |drag_widget_| relative to the mouse position.
gfx::Vector2d drag_widget_offset_;
- // We use these cursors while dragging.
- gfx::NativeCursor grab_cursor_;
- gfx::NativeCursor copy_grab_cursor_;
- gfx::NativeCursor move_grab_cursor_;
-
base::WeakPtrFactory<DesktopDragDropClientAuraX11> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11);
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698