Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: ui/events/ozone/evdev/event_converter_test_util.h

Issue 874723002: [PATCH 9/11] ozone: evdev: Add a device event dispatcher that forwards to UI thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/event_converter_test_util.h
diff --git a/ui/events/ozone/evdev/event_converter_test_util.h b/ui/events/ozone/evdev/event_converter_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..ad01c758e405998246b3a1d29d48cdc226f36e4e
--- /dev/null
+++ b/ui/events/ozone/evdev/event_converter_test_util.h
@@ -0,0 +1,33 @@
+// Copyright 2015 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.
+
+#ifndef UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
+#define UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
+
+#include "base/memory/scoped_ptr.h"
+
+#include "ui/events/ozone/evdev/event_dispatch_callback.h"
+
+namespace ui {
+
+class CursorDelegateEvdev;
+class DeviceManager;
+class DeviceEventDispatcherEvdev;
+class EventFactoryEvdev;
+class KeyboardLayoutEngine;
+
+scoped_ptr<DeviceManager> CreateDeviceManagerForTest();
+
+scoped_ptr<EventFactoryEvdev> CreateEventFactoryEvdevForTest(
+ CursorDelegateEvdev* cursor,
+ DeviceManager* device_manager,
+ KeyboardLayoutEngine* keyboard_layout_engine,
+ const EventDispatchCallback& callback);
+
+scoped_ptr<DeviceEventDispatcherEvdev> CreateDeviceEventDispatcherEvdevForTest(
+ EventFactoryEvdev* event_factory);
+
+} // namespace ui
+
+#endif // UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc ('k') | ui/events/ozone/evdev/event_converter_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698