DescriptionMacViews: Implement basic NSEvent -> ui::Event conversion for Mac
Mac currently links events_stub.cc. This change adds an events_mac.mm
allowing basic ui::Event fields to be populated for keyboard and mouse.
To implement CopyNativeEvent on Mac, some objective C code needs to be
called. Part of this change moves CopyNativeEvent from an anonymous
namespace to platform-specific events_foo.cc/mm, and adds a
corresponding ReleaseCopiedNativeEvent.
BUG=366021
TEST=events_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266743
Patch Set 1 : similarity-20 #Patch Set 2 : selfnit #
Total comments: 11
Patch Set 3 : rebase #Patch Set 4 : address comments #
Total comments: 11
Patch Set 5 : address comments #
Messages
Total messages: 10 (0 generated)
|