DescriptionConverts 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}
Committed: https://chromium.googlesource.com/chromium/src/+/d56e56c7ea299f4b1f565f57022e9341265d3d28
Patch Set 1 #Patch Set 2 : remove dcheck #
Total comments: 2
Messages
Total messages: 12 (7 generated)
|