Chromium Code Reviews
Descriptionmash: Fix system tray clock 12/24 hour time setting
The 12 vs. 24 hour time preference comes from chrome browser because it
depends on prefs, machine settings, login state, etc.
* Add ash.mojom.SystemTray interface
* Add SystemTrayControllerMus in //chrome which listens for 12/24 pref updates
and sends them to ash over mojo
* Add SystemTrayDelegateMus in //ash/mus which listens for time pref updates
over mojo and routes them to the system tray
* SystemTrayDelegateMus caches the 12/24 preference as it is queried
synchronously elsewhere in ash
BUG=644361
TEST=open settings > advanced settings, toggle 24 hour clock preference, system
tray display updates itself
Committed: https://crrev.com/6763ee8aaac990f173b64a17cf0e29b914fc94ce
Cr-Commit-Position: refs/heads/master@{#419789}
Patch Set 1 #Patch Set 2 : tweak #
Total comments: 9
Patch Set 3 : review comments #
Total comments: 2
Messages
Total messages: 26 (14 generated)
|