Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: chrome/browser/ui/ash/system_tray_common.cc

Issue 2377703003: Support SystemTrayDelegate::ShowPowerSettings() in mustash (Closed)
Patch Set: Remove if Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/system_tray_common.h ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
+ content::RecordAction(base::UserMetricsAction("Tray_ShowPowerOptions"));
+ ShowSettingsSubPageForActiveUser(chrome::kPowerOptionsSubPage);
+}
+
+// static
void SystemTrayCommon::ShowChromeSlow() {
chrome::ScopedTabbedBrowserDisplayer displayer(
ProfileManager::GetPrimaryUserProfile());
« no previous file with comments | « chrome/browser/ui/ash/system_tray_common.h ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698