Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Input injection methods to Chromoting Mojo interface
This CL removes the input injection messages from our Chromoting IPC messages file and implements them via our new Mojo interface. The majority of this CL is the code needed to serialize and deserialize the protobuf messages involved. One quirk that I encountered with this is that you can't have optional primitive fields in a Mojo struct. I solved this by boxing the primitive in a struct which I could declare as nullable in the message struct. If there is a better or pre-existing mechanism, I'm happy to switch to it. Bug: b:178114059 Change-Id: Ib1e200f0b49483ef448757ca8b32d4781bc70718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3287408 Commit-Queue: Joe Downing <joedow@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/main@{#948346}
- Loading branch information
Showing
10 changed files
with
758 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.