| Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| index a78cad3166ccac5514271bb79753e08915d87304..46b3cbd86ca8da8d086d9a5853646a6f0e93c291 100644
|
| --- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| @@ -445,14 +445,7 @@ void SystemTrayDelegateChromeOS::ShowDisplaySettings() {
|
| }
|
|
|
| void SystemTrayDelegateChromeOS::ShowPowerSettings() {
|
| - // TODO(mash): Refactor out ash::PowerStatus and move to SystemTrayCommon.
|
| - if (!(switches::PowerOverlayEnabled() ||
|
| - (ash::PowerStatus::Get()->IsBatteryPresent() &&
|
| - ash::PowerStatus::Get()->SupportsDualRoleDevices()))) {
|
| - return;
|
| - }
|
| - content::RecordAction(base::UserMetricsAction("Tray_ShowPowerOptions"));
|
| - ShowSettingsSubPageForActiveUser(chrome::kPowerOptionsSubPage);
|
| + SystemTrayCommon::ShowPowerSettings();
|
| }
|
|
|
| void SystemTrayDelegateChromeOS::ShowChromeSlow() {
|
|
|