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

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

Issue 749063003: Fix grabbing capture when the mouse is pressed 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
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 17246448185bf6a7d8decc15e6afceea88616b53..c3018f6aca1c636e1fa81dc4ce6454323748fbb6 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
@@ -86,7 +86,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;
@@ -216,9 +216,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