| Index: ui/aura/test/window_event_dispatcher_test_api.cc
|
| diff --git a/ui/aura/test/window_event_dispatcher_test_api.cc b/ui/aura/test/window_event_dispatcher_test_api.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..13b9743d05711cc8764746f31182424066047b64
|
| --- /dev/null
|
| +++ b/ui/aura/test/window_event_dispatcher_test_api.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/aura/test/window_event_dispatcher_test_api.h"
|
| +
|
| +#include "ui/aura/window_event_dispatcher.h"
|
| +
|
| +namespace aura {
|
| +namespace test {
|
| +
|
| +WindowEventDispatcherTestApi::WindowEventDispatcherTestApi(
|
| + WindowEventDispatcher* dispatcher) : dispatcher_(dispatcher) {
|
| +}
|
| +
|
| +bool WindowEventDispatcherTestApi::HoldingPointerMoves() const {
|
| + return dispatcher_->move_hold_count_ > 0;
|
| +}
|
| +
|
| +} // namespace test
|
| +} // namespace aura
|
| +
|
|
|