Chromium Code Reviews| Index: ui/base/touch/touch_device_linux.cc |
| diff --git a/ui/base/touch/touch_device_aurax11.cc b/ui/base/touch/touch_device_linux.cc |
| similarity index 96% |
| rename from ui/base/touch/touch_device_aurax11.cc |
| rename to ui/base/touch/touch_device_linux.cc |
| index 723fb0a0fd1fa93997055d84c31bc2ddb5981128..cc9d7d5f94f3fc6d7b13a01cbb770e49c85b4f2d 100644 |
| --- a/ui/base/touch/touch_device_aurax11.cc |
| +++ b/ui/base/touch/touch_device_linux.cc |
| @@ -10,11 +10,12 @@ |
| namespace ui { |
| bool IsTouchDevicePresent() { |
| + // TODO(sadrul@chromium.org): Support evdev hotplugging. |
|
sadrul
2015/01/15 22:07:50
We don't need this TODO anymore. You can remove th
mustaq
2015/01/20 15:03:50
Done.
|
| return ui::DeviceDataManager::GetInstance()->touchscreen_devices().size() > 0; |
| } |
| int MaxTouchPoints() { |
| - int max_touch = -1; |
| + int max_touch = 0; |
| const std::vector<ui::TouchscreenDevice>& touchscreen_devices = |
| ui::DeviceDataManager::GetInstance()->touchscreen_devices(); |
| for (const ui::TouchscreenDevice& device : touchscreen_devices) { |