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

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: Rebased Created 6 years, 6 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
« no previous file with comments | « ui/events/platform/x11/BUILD.gn ('k') | ui/events/platform/x11/x11_events_platform.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..20237dd32f13cce005a8a48f1123ad22b1c852c6 100644
--- a/ui/events/platform/x11/x11_event_source.cc
+++ b/ui/events/platform/x11/x11_event_source.cc
@@ -12,6 +12,7 @@
#include "base/logging.h"
#include "ui/events/event_utils.h"
#include "ui/events/platform/platform_event_dispatcher.h"
+#include "ui/events/x/device_data_manager_x11.h"
#include "ui/gfx/x/x11_types.h"
namespace ui {
@@ -83,6 +84,7 @@ X11EventSource::X11EventSource(XDisplay* display)
: display_(display),
continue_stream_(true) {
CHECK(display_);
+ DeviceDataManagerX11::CreateInstance();
InitializeXInput2(display_);
InitializeXkb(display_);
}
« no previous file with comments | « ui/events/platform/x11/BUILD.gn ('k') | ui/events/platform/x11/x11_events_platform.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698