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

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

Issue 755883002: Input Injection API on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit test Created 6 years, 1 month 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
« no previous file with comments | « ui/events/ozone/BUILD.gn ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_factory_evdev.h
diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h
index dace34b5b2973d0ca9809d33dd90bdf5d9b4af0a..baf454ba4590dfec53ed45112c646a238f043307 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -17,6 +17,7 @@
#include "ui/events/ozone/evdev/keyboard_evdev.h"
#include "ui/events/platform/platform_event_source.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/ozone/public/system_input_injector.h"
namespace gfx {
class PointF;
@@ -26,6 +27,7 @@ namespace ui {
class CursorDelegateEvdev;
class DeviceManager;
+class SystemInputInjector;
#if defined(USE_EVDEV_GESTURES)
class GesturePropertyProvider;
@@ -42,6 +44,8 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
void WarpCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location);
+ scoped_ptr<SystemInputInjector> CreateSystemInputInjector();
+
protected:
// DeviceEventObserver overrides:
//
« no previous file with comments | « ui/events/ozone/BUILD.gn ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698