1 // Copyright 2015 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 #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
6 #define UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
8 #include "base/memory/scoped_ptr.h"
10 #include "ui/events/ozone/evdev/event_dispatch_callback.h"
14 class CursorDelegateEvdev
;
16 class DeviceEventDispatcherEvdev
;
17 class EventFactoryEvdev
;
18 class KeyboardLayoutEngine
;
20 scoped_ptr
<DeviceManager
> CreateDeviceManagerForTest();
22 scoped_ptr
<EventFactoryEvdev
> CreateEventFactoryEvdevForTest(
23 CursorDelegateEvdev
* cursor
,
24 DeviceManager
* device_manager
,
25 KeyboardLayoutEngine
* keyboard_layout_engine
,
26 const EventDispatchCallback
& callback
);
28 scoped_ptr
<DeviceEventDispatcherEvdev
> CreateDeviceEventDispatcherEvdevForTest(
29 EventFactoryEvdev
* event_factory
);
33 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_