OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_ |
| 6 #define UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 |
| 10 #include "ui/events/ozone/evdev/event_dispatch_callback.h" |
| 11 |
| 12 namespace ui { |
| 13 |
| 14 class CursorDelegateEvdev; |
| 15 class DeviceManager; |
| 16 class DeviceEventDispatcherEvdev; |
| 17 class EventFactoryEvdev; |
| 18 class KeyboardLayoutEngine; |
| 19 |
| 20 scoped_ptr<DeviceManager> CreateDeviceManagerForTest(); |
| 21 |
| 22 scoped_ptr<EventFactoryEvdev> CreateEventFactoryEvdevForTest( |
| 23 CursorDelegateEvdev* cursor, |
| 24 DeviceManager* device_manager, |
| 25 KeyboardLayoutEngine* keyboard_layout_engine, |
| 26 const EventDispatchCallback& callback); |
| 27 |
| 28 scoped_ptr<DeviceEventDispatcherEvdev> CreateDeviceEventDispatcherEvdevForTest( |
| 29 EventFactoryEvdev* event_factory); |
| 30 |
| 31 } // namespace ui |
| 32 |
| 33 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_ |
OLD | NEW |