Index: ui/aura/window_event_dispatcher.cc |
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc |
index 0f4715066fad90842b2a2f2eea23251e15ad2909..d10187d6ce8257bf90502ca7e800e5ffd5959ed3 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::HoldingPointerMovesForTesting() { |
+ return move_hold_count_ > 0; |
+} |
+ |
gfx::Point WindowEventDispatcher::GetLastMouseLocationInRoot() const { |
gfx::Point location = Env::GetInstance()->last_mouse_location(); |
client::ScreenPositionClient* client = |