DescriptionConstructors for ui::MouseEvent/ui::TouchEvent from ui::PointerEvent.
We don't support ui::PointerEvents in mus+ash client side right now, so we
need to convert ui::PointerEvent to ui::MouseEvent/ui::TouchEvent until we
have a better solution. This CL adds constructors we need so we can do this
conversion.
Previously this conversion happened when we deserialized mojom::Event to
ui::Event, but that didn't seem the correct place to do it, since we
serialized ui::PointerEvent (and not touch/mouse events) to mojom::Event, and
we should get the same kind of object when deserializing.
BUG=615094
Committed: https://crrev.com/ef4e847c615cc3fa778d84586578409d8d4f0895
Cr-Commit-Position: refs/heads/master@{#397236}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|