Index: ui/aura/window_event_dispatcher.cc |
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc |
index 3dc74329b4c817ab47d05b155ed2525843b6e40a..f322dce7262bf11b4fc260637b2d3ca573cc584b 100644 |
--- a/ui/aura/window_event_dispatcher.cc |
+++ b/ui/aura/window_event_dispatcher.cc |
@@ -194,6 +194,10 @@ void WindowEventDispatcher::ReleasePointerMoves() { |
TRACE_EVENT_ASYNC_END0("ui", "WindowEventDispatcher::HoldPointerMoves", this); |
} |
+bool WindowEventDispatcher::HoldingPointerMovesForTest() { |
+ return move_hold_count_ > 0; |
+} |
+ |
gfx::Point WindowEventDispatcher::GetLastMouseLocationInRoot() const { |
gfx::Point location = Env::GetInstance()->last_mouse_location(); |
client::ScreenPositionClient* client = |