Landing Recent QUIC Changes.
[chromium-blink-merge.git] / ui / events / ozone / evdev / event_converter_test_util.h
blobad01c758e405998246b3a1d29d48cdc226f36e4e
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"
12 namespace ui {
14 class CursorDelegateEvdev;
15 class DeviceManager;
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);
31 } // namespace ui
33 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_