[PointerLockOnAndroid] Add User gesture checks & handle ESC key Changes: - Add User gesture checks when requesting pointer lock, similar to the ones present in the exclusive_access/pointer_lock_controller.cc - Handle the `ESC` keydown event to release the pointer lock, diagram for the key event flow https://services.google.com/fh/files/misc/keyboard_esc_event_flow.png. Bug: 416429837 Change-Id: I139000a2309900d6038bb15d2c7466bc181db087 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6519718 Reviewed-by: Bartosz ChomiĆski <chominskib@google.com> Commit-Queue: Abdelrahman Eed <abdoeed@google.com> Reviewed-by: Olga Korokhina <korokhina@google.com> Cr-Commit-Position: refs/heads/main@{#1461254}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.