window_event_dispatcher_test_api.cc revision 116680a4aac90f2aa7413d9095a592090648e557
1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "ui/aura/test/window_event_dispatcher_test_api.h" 6 7#include "ui/aura/window_event_dispatcher.h" 8 9namespace aura { 10namespace test { 11 12WindowEventDispatcherTestApi::WindowEventDispatcherTestApi( 13 WindowEventDispatcher* dispatcher) : dispatcher_(dispatcher) { 14} 15 16bool WindowEventDispatcherTestApi::HoldingPointerMoves() const { 17 return dispatcher_->move_hold_count_ > 0; 18} 19 20} // namespace test 21} // namespace aura 22 23