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

Unified Diff: ui/events/x/touch_factory_x11.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/x/events_x_unittest.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/touch_factory_x11.cc
diff --git a/ui/events/x/touch_factory_x11.cc b/ui/events/x/touch_factory_x11.cc
index 8176ce221a62a338bda921a10db06d913725b7fd..9df436c803002538e61d8ec06b8bc48699d13ed1 100644
--- a/ui/events/x/touch_factory_x11.cc
+++ b/ui/events/x/touch_factory_x11.cc
@@ -19,7 +19,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "ui/events/event_switches.h"
-#include "ui/events/x/device_data_manager.h"
+#include "ui/events/x/device_data_manager_x11.h"
#include "ui/events/x/device_list_cache_x.h"
#include "ui/gfx/x/x11_types.h"
@@ -32,7 +32,7 @@ TouchFactory::TouchFactory()
touch_device_list_(),
max_touch_points_(-1),
id_generator_(0) {
- if (!DeviceDataManager::GetInstance()->IsXInput2Available())
+ if (!DeviceDataManagerX11::GetInstance()->IsXInput2Available())
return;
XDisplay* display = gfx::GetXDisplay();
@@ -104,7 +104,7 @@ void TouchFactory::UpdateDeviceList(Display* display) {
}
#endif
- if (!DeviceDataManager::GetInstance()->IsXInput2Available())
+ if (!DeviceDataManagerX11::GetInstance()->IsXInput2Available())
return;
// Instead of asking X for the list of devices all the time, let's maintain a
« no previous file with comments | « ui/events/x/events_x_unittest.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698