Index: ui/events/ozone/evdev/event_factory_evdev.cc |
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc |
index 4e517216b015f093444b79b434977f2d5d611247..b5a0cb75cdba1defeba1cb5c64ef4bdfdb280a87 100644 |
--- a/ui/events/ozone/evdev/event_factory_evdev.cc |
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc |
@@ -329,9 +329,12 @@ void EventFactoryEvdev::NotifyTouchscreensUpdated() { |
std::vector<TouchscreenDevice> touchscreens; |
for (auto it = converters_.begin(); it != converters_.end(); ++it) { |
if (it->second->HasTouchscreen()) { |
+ // TODO(spang): Extract the number of touch-points supported by the |
+ // device. |
+ const int touch_points = 11; |
touchscreens.push_back(TouchscreenDevice( |
it->second->id(), it->second->type(), std::string() /* Device name */, |
- it->second->GetTouchscreenSize())); |
+ it->second->GetTouchscreenSize(), touch_points)); |
} |
} |