chromeos: Convert PointerMetricsRecorder to ui::EventHandler
PointerWatchers aren't necessary in ash anymore. ui::EventHandler does everything that PointerWatcher can do, plus can mutate events. Once we eliminate PointerWatcher from ash we can delete some glue code I added to make them work. Also drop support for ui::EventPointerType::POINTER_TYPE_UNKNOWN, which is never recorded in practice. (I don't think we ever generate events with this type.) Bug: 872450, 786214 Test: ash_unittests Change-Id: I08f781dd6e26b34870e7947c3a14e42edaf91080 Reviewed-on: https://chromium-review.googlesource.com/1239455Reviewed-by:Xiaoyin Hu <xiaoyinh@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#593631}
Showing
Please register or sign in to comment