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.
Show UnifiedSystemTray button and hide old one.
As described in the design doc, old SystemTray class is going to be replaced by UnifiedSystemTray class. Model variables of SystemTrayItems will be decoupled into SystemTrayModel, and tray icons will be implemented in UnifiedSystemTray by obseving the models. This is the initial CL to replace the old SystemTray button by new UnifiedSystemTray button. Old SystemTray still has unrelated logic e.g. notification generation, so at this point we still instantiate SystemTray and just set the visibility to false. When we finish refactoring to move all unrelated logic to outside SystemTray, we can stop instantiating it. Screenshot: http://screen/jVCtkJgKCXa Design doc: go/cros-qs-restyling TEST=manual BUG=836134 Change-Id: I89e708ad239fb93aee5993fd10ace7fdeaab6673 Reviewed-on: https://chromium-review.googlesource.com/1025495 Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#556378}
- Loading branch information
Tetsui Ohkubo
authored and
Commit Bot
committed
May 7, 2018
1 parent
d490170
commit 2d429e0
Showing
4 changed files
with
22 additions
and
9 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