Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eche] Grouping tray icons for Eche and Phone Hub.
I had a plan to do a larger refactoring to add a new icon group concept to the status area widget. However, it turned out to be a large surgery to be done correctly and nicely. So, I decided to follow another alternative in the interim time and do not block the Eche progress. Here, I added an icon to the phone hub tray for Eche. And hence, I converted the icons to Buttons to be clickable indicvidually. I tried to minimize the intervention of Eche code into the phone hub code as much as I could. Caveat: The icons might be too close to each other to be clicked on individually, I am working with UX to adjust/address this. Side note: As it turned out that keeping #eche-swa-in-background would make the code complicated unnecessarily, the flag usages are removed from the code (we have already decided to set it to default = true). The flag definition itself is going to be removed in the next CL. Change-Id: I4da120ff7f4b56b52acbeba4ff6454e51b7424e2 TEST=manual testing with/without #eche-custom-widget enabled. The Eche and phone hub behavior was briefly tested by clicking on different buttons in the phone hub and sending/receiving messages in Eche. Bug: b/222509310 Change-Id: I4da120ff7f4b56b52acbeba4ff6454e51b7424e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3527258 Reviewed-by: Daniel Nishi <dhnishi@chromium.org> Reviewed-by: Jon Mann <jonmann@chromium.org> Reviewed-by: Alex Newcomer <newcomer@chromium.org> Commit-Queue: Abbas Nayebi <nayebi@google.com> Cr-Commit-Position: refs/heads/main@{#984544}
- Loading branch information
Showing
10 changed files
with
242 additions
and
85 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
Oops, something went wrong.