-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[views] Ensure browser theme change notifications propagate to children
Currently browser theme changes are only propagated to the BrowserFrame root Widget. However currently other owned Widgets in the frame's hierarchy inherit theme information but will not receive a notification that this theme information has changed. This CL ensures that owned Widgets receive ThemeChange() notifications when the browser theme has changed. Note: this is not an issue for NativeTheme changes as owned Widgets maintain their own NativeTheme observations. This CL also eliminates redundant code in status_bubble_views that existed to propagate these browser theme change notifications to the status bubble (which is now covered by the more general change in this CL). Bug: 1472289 Change-Id: I6bfb30cafc4c24510b2c382eef7cafe2fb615677 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4775743 Auto-Submit: Thomas Lukaszewicz <tluk@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1188597}
- Loading branch information
Thomas Lukaszewicz
authored and
Chromium LUCI CQ
committed
Aug 25, 2023
1 parent
9fb44ae
commit 72c9e4f
Showing
7 changed files
with
69 additions
and
16 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
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