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

Unified Diff: ash/common/system/chromeos/power/dual_role_notification.cc

Issue 2395523002: chromeos: Refactor system tray "show settings" commands to use mojo (Closed)
Patch Set: Created 4 years, 2 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
Index: ash/common/system/chromeos/power/dual_role_notification.cc
diff --git a/ash/common/system/chromeos/power/dual_role_notification.cc b/ash/common/system/chromeos/power/dual_role_notification.cc
index 1b902784442302a8fe4deebe00e2ebc59723f1ca..9fbf29ac3433df974df882910911f1887621a1ff 100644
--- a/ash/common/system/chromeos/power/dual_role_notification.cc
+++ b/ash/common/system/chromeos/power/dual_role_notification.cc
@@ -8,7 +8,7 @@
#include "ash/common/system/chromeos/power/power_status.h"
#include "ash/common/system/system_notifier.h"
-#include "ash/common/system/tray/system_tray_delegate.h"
+#include "ash/common/system/tray/system_tray_controller.h"
#include "ash/common/wm_shell.h"
#include "base/strings/utf_string_conversions.h"
#include "grit/ash_resources.h"
@@ -37,7 +37,7 @@ class DualRoleNotificationDelegate
// Overridden from message_center::NotificationDelegate.
void Click() override {
- WmShell::Get()->system_tray_delegate()->ShowPowerSettings();
+ WmShell::Get()->system_tray_controller()->ShowPowerSettings();
}
private:

Powered by Google App Engine
This is Rietveld 408576698