Chromium Code Reviews
DescriptionSupport SystemTrayDelegate::ShowPowerSettings() in mustash
* Wire through SystemTrayDelegateMus -> mojom::SystemTrayClient -> SystemTrayCommon
* To avoid ash dependencies in SystemTrayCommon, check for a battery in the //ash
code, which has access to ash::PowerStatus
* Remove the check for the --enable-power-overlay switch, since this code is only
triggered from DualRoleNotification in ash, which only occurs on a real device
BUG=644348, 647412
TEST=manual, change the code to call ShowPowerSettings when clicking on the
tray date and observe that power settings opens
Committed: https://crrev.com/d2de27ad565eae8ca5e3c61cc055ecb34e4e1b3f
Cr-Commit-Position: refs/heads/master@{#421923}
Patch Set 1 #
Total comments: 8
Patch Set 2 : rebase #Patch Set 3 : Remove if #
Messages
Total messages: 26 (11 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||