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

Unified Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc

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 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
index 61dd76d758015528871ec121f98881b3c090ba55..628d758acc5c89356eea674f7379fd8ce8c69374 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
@@ -88,7 +88,7 @@ class TestMoveLoop : public X11MoveLoop {
bool IsRunning() const;
// X11MoveLoop:
- bool RunMoveLoop(aura::Window* window, gfx::NativeCursor cursor) override;
+ bool RunMoveLoop(aura::Window* window) override;
void UpdateCursor(gfx::NativeCursor cursor) override;
void EndMoveLoop() override;
@@ -234,9 +234,7 @@ bool TestMoveLoop::IsRunning() const {
return is_running_;
}
-bool TestMoveLoop::RunMoveLoop(
- aura::Window* window,
- gfx::NativeCursor cursor) {
+bool TestMoveLoop::RunMoveLoop(aura::Window* window) {
is_running_ = true;
base::RunLoop run_loop;
quit_closure_ = run_loop.QuitClosure();

Powered by Google App Engine
This is Rietveld 408576698