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

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

Issue 821803002: Use XGrabPointer instead of XChangeActivatePointerGrab() to change the cursor during a pointer grab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_capture
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
Index: ui/views/widget/desktop_aura/x11_move_loop.h
diff --git a/ui/views/widget/desktop_aura/x11_move_loop.h b/ui/views/widget/desktop_aura/x11_move_loop.h
index 102c8663efe1ec146b019b06069bd2e5d773022f..c6cf855462c8e70525c520f34fa490eafa6ef36e 100644
--- a/ui/views/widget/desktop_aura/x11_move_loop.h
+++ b/ui/views/widget/desktop_aura/x11_move_loop.h
@@ -16,11 +16,10 @@ class X11MoveLoop {
public:
virtual ~X11MoveLoop() {}
- // Runs the nested message loop. While the mouse is grabbed, use |cursor| as
- // the mouse cursor. Returns true if the move-loop is completed successfully.
- // If the pointer-grab fails, or the move-loop is canceled by the user (e.g.
- // by pressing escape), then returns false.
- virtual bool RunMoveLoop(aura::Window* window, gfx::NativeCursor cursor) = 0;
+ // Runs the nested message loop. Returns true if the move-loop is completed
+ // successfully. If the pointer-grab fails, or the move-loop is canceled by
+ // the user (e.g. by pressing escape), then returns false.
+ virtual bool RunMoveLoop(aura::Window* window) = 0;
// Updates the cursor while the move loop is running.
virtual void UpdateCursor(gfx::NativeCursor cursor) = 0;

Powered by Google App Engine
This is Rietveld 408576698