commit | 7feb2eaf82d88bd4d903f43776860015806274ce | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Nov 25 15:11:23 2019 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Mon Dec 02 10:39:51 2019 -0800 |
tree | d78a531612c922695db1d70c7ba0949e15706145 | |
parent | 28d8c7db9bda4410adeee25affdff1e546d6de7f [diff] |
Add FocusEvent and InputMessage::Type::FOCUS FocusEvents will be consumed by InputConsumer on the app side. They will be used to notify app that focus has been gained / lost. They will also carry information about the current state of touch mode. Also add a new type of InputMessage with type FOCUS. This new data structure will be used to pass focus events to the apps from input across the socket. Bug: 70668286 Test: presubmit Change-Id: I88582c64ee41ecb49623b9b7f5c149eafa694788