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

Unified Diff: ui/events/platform/x11/x11_event_source.cc

Issue 289283015: Extract touchscreen device management into a generic manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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/platform/x11/x11_event_source.cc
diff --git a/ui/events/platform/x11/x11_event_source.cc b/ui/events/platform/x11/x11_event_source.cc
index 25e74098fac3825bc0e886e6b6967875ca0b55e8..628610661e774baa899f96e5cd1577f4341950fa 100644
--- a/ui/events/platform/x11/x11_event_source.cc
+++ b/ui/events/platform/x11/x11_event_source.cc
@@ -10,6 +10,7 @@
#include <X11/XKBlib.h>
#include "base/logging.h"
+#include "ui/events/device_data_manager.h"
#include "ui/events/event_utils.h"
#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/x/x11_types.h"
@@ -83,6 +84,7 @@ X11EventSource::X11EventSource(XDisplay* display)
: display_(display),
continue_stream_(true) {
CHECK(display_);
+ DeviceDataManager::Initialize();
InitializeXInput2(display_);
InitializeXkb(display_);
}

Powered by Google App Engine
This is Rietveld 408576698