MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / ui / aura / test / window_event_dispatcher_test_api.cc
blobb2a4098dca9b50f64c32eb080bc34b67ca9aadd3
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.
5 #include "ui/aura/test/window_event_dispatcher_test_api.h"
7 #include "ui/aura/window_event_dispatcher.h"
9 namespace aura {
10 namespace test {
12 WindowEventDispatcherTestApi::WindowEventDispatcherTestApi(
13 WindowEventDispatcher* dispatcher) : dispatcher_(dispatcher) {
16 bool WindowEventDispatcherTestApi::HoldingPointerMoves() const {
17 return dispatcher_->move_hold_count_ > 0;
20 } // namespace test
21 } // namespace aura