ozone: evdev: Move MouseButtonMap usage during dispatch to EventFactoryEvdev
commit8d667bbac1ca8c96387b3e60259aae2cf02aa569
authorspang <spang@chromium.org>
Wed, 28 Jan 2015 04:07:02 +0000 (27 20:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 28 Jan 2015 04:09:12 +0000 (28 04:09 +0000)
treecc5a75d2ec0e2087d02736a1cb005830742ef644
parent72d93fc433506bf0df2d3d45a02cd623aeb5ff80
ozone: evdev: Move MouseButtonMap usage during dispatch to EventFactoryEvdev

This is part of a series moving IO on evdev devices to a fast thread,
since UI thread is too slow for the cursor.

The mouse button map is a UI thread object, so move all of the mouse
processing that needs button map information outside of the
device-specific object. Devices no longer get a MouseButtonMapEvdev*
since they will execute on a different thread.

BUG=449710
TEST=boot link_freon & click mouse

Review URL: https://codereview.chromium.org/872683006

Cr-Commit-Position: refs/heads/master@{#313425}
ui/events/ozone/evdev/event_converter_evdev_impl.cc
ui/events/ozone/evdev/event_converter_evdev_impl.h
ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc
ui/events/ozone/evdev/event_dispatch_callback.cc
ui/events/ozone/evdev/event_dispatch_callback.h
ui/events/ozone/evdev/event_factory_evdev.cc
ui/events/ozone/evdev/event_factory_evdev.h
ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc
ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h