commit | d56e56c7ea299f4b1f565f57022e9341265d3d28 | [log] [tgz] |
---|---|---|
author | sky <sky@chromium.org> | Thu Mar 16 18:10:42 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 16 18:10:42 2017 |
tree | ad937649ba54ea03f8d8646646ab39a73ba0d305 | |
parent | 363735b939c7ce86349552cda7b012310f384fcb [diff] |
Converts ui::Accelerator::type to an enum Accelerator::type_ was an EventType, but this is overkill as the type can only be pressed or released. So, this converts the type to an enum with those two values. I'm doing this as I'm going to write a mojom for Accelerator and it's better to restrict the mojom to the actual values. BUG=701815 TEST=covered by tests R=msw@chromium.org Review-Url: https://codereview.chromium.org/2751323002 Cr-Commit-Position: refs/heads/master@{#457492}