[chromecast] Fix synthetic key events for webviews
* Unless is_char is true blink will interpret the key event as a raw keypress instead of a proper keystroke. Derive and pass through this property correctly. * Mark the event as EF_IS_SYNTHESIZED and ui::kPropertyFromVK, in the same manner that chromeos's virtual keyboard implementation does. Bug: internal b/161811385 Test: manual x86 cast_shell build with wayland_webview_client attached Change-Id: I4d752bd219eb540a719e0bd339ab674bbbd3db23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2418999Reviewed-by:Kevin Schoedel <kpschoedel@chromium.org> Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Ryan Daum <rdaum@chromium.org> Cr-Commit-Position: refs/heads/master@{#808906}
Showing
Please register or sign in to comment