Chromium Code Reviews| Index: chrome/browser/ui/ash/system_tray_common.cc |
| diff --git a/chrome/browser/ui/ash/system_tray_common.cc b/chrome/browser/ui/ash/system_tray_common.cc |
| index c869c3f39001bee2f9f3f3be1d5b91316b4a35e4..c84409d9e2f0be9f421c1d1284ab81d923b83565 100644 |
| --- a/chrome/browser/ui/ash/system_tray_common.cc |
| +++ b/chrome/browser/ui/ash/system_tray_common.cc |
| @@ -58,6 +58,12 @@ void SystemTrayCommon::ShowDisplaySettings() { |
| } |
| // static |
| +void SystemTrayCommon::ShowPowerSettings() { |
|
James Cook
2016/09/27 23:23:13
The reason for moving the if() conditions into //a
|
| + content::RecordAction(base::UserMetricsAction("Tray_ShowPowerOptions")); |
| + ShowSettingsSubPageForActiveUser(chrome::kPowerOptionsSubPage); |
| +} |
| + |
| +// static |
| void SystemTrayCommon::ShowChromeSlow() { |
| chrome::ScopedTabbedBrowserDisplayer displayer( |
| ProfileManager::GetPrimaryUserProfile()); |