forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gd: Implement Game Controls button functions
This CL adds logic for Game Controls buttons. - If Game Controls is disabled by the feature tile button, the details row will be disabled and the hint switch is disabled and switched off if there is. - If Game Controls is enabled, the details row will be enabled and the hint hint switch is enabled. The hint switch state depends on the flag. - Once the "Set up" button or details row button is pressed, it enters into Game Controls edit mode and closes the menu. - If the Game Controls tile on the main menu is toggled on/off, the quick toolbar should get updated to the main menu. - The main menu doesn't need to update if the quick toolbar button is toggled on/off, because the main menu is expected to close when the input is outside of the main menu. Bug: b/275380943 Test: unit test Change-Id: I33b233dd50ace6fefaed77e0a33977d508f59e85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4662649 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Cici Ruan <cuicuiruan@google.com> Auto-Submit: Cici Ruan <cuicuiruan@google.com> Cr-Commit-Position: refs/heads/main@{#1170275}
- Loading branch information
Cici Ruan
authored and
Chromium LUCI CQ
committed
Jul 14, 2023
1 parent
8983b7b
commit a77d713
Showing
7 changed files
with
288 additions
and
36 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
Oops, something went wrong.