Home | History | Annotate | Download | only in test
      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 
      9 namespace aura {
     10 namespace test {
     11 
     12 WindowEventDispatcherTestApi::WindowEventDispatcherTestApi(
     13     WindowEventDispatcher* dispatcher) : dispatcher_(dispatcher) {
     14 }
     15 
     16 bool WindowEventDispatcherTestApi::HoldingPointerMoves() const {
     17   return dispatcher_->move_hold_count_ > 0;
     18 }
     19 
     20 }  // namespace test
     21 }  // namespace aura
     22 
     23