Index: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h |
diff --git a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h |
index 9fd51cb3bc820366a1f7f3d2dda3df255f1074c1..5140b3767ea7ba0d457e349a07bf70440a72faa3 100644 |
--- a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h |
+++ b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h |
@@ -62,6 +62,9 @@ class X11WholeScreenMoveLoop : public base::MessagePumpDispatcher { |
// (defined as having a pixel with alpha > 32). If so, return true. |
bool CheckIfIconValid(); |
+ // Dispatch mouse movement event to |delegate_| in a posted task. |
+ void DispatchMouseMovement(); |
+ |
X11WholeScreenMoveLoopDelegate* delegate_; |
// Are we running a nested message loop from RunMoveLoop()? |
@@ -81,6 +84,8 @@ class X11WholeScreenMoveLoop : public base::MessagePumpDispatcher { |
scoped_ptr<Widget> drag_widget_; |
gfx::ImageSkia drag_image_; |
gfx::Vector2dF drag_offset_; |
+ XMotionEvent last_xmotion_; |
+ bool motion_task_posted_; |
DISALLOW_COPY_AND_ASSIGN(X11WholeScreenMoveLoop); |
}; |