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

Unified Diff: ash/common/system/tray/system_tray_controller.h

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/tray/system_tray_controller.h
diff --git a/ash/common/system/tray/system_tray_controller.h b/ash/common/system/tray/system_tray_controller.h
index f3b8800e471a24ce834ce523f2d74c8b4a723199..6cf39665a3db131165589db8461e94c28327f587 100644
--- a/ash/common/system/tray/system_tray_controller.h
+++ b/ash/common/system/tray/system_tray_controller.h
@@ -34,9 +34,22 @@ class SystemTrayController : public mojom::SystemTray {
explicit SystemTrayController(shell::Connector* connector);
~SystemTrayController() override;
- // Wrappers around the mojom::SystemTrayClient interface.
base::HourClockType hour_clock_type() const { return hour_clock_type_; }
+
+ // Wrappers around the mojom::SystemTrayClient interface.
+ void ShowSettings();
void ShowDateSettings();
+ void ShowDisplaySettings();
+ void ShowPowerSettings();
+ void ShowChromeSlow();
+ void ShowIMESettings();
+ void ShowHelp();
+ void ShowAccessibilityHelp();
+ void ShowAccessibilitySettings();
+ void ShowPaletteHelp();
+ void ShowPaletteSettings();
+ void ShowPublicAccountInfo();
+ void ShowProxySettings();
// Binds the mojom::SystemTray interface to this object.
void BindRequest(mojom::SystemTrayRequest request);

Powered by Google App Engine
This is Rietveld 408576698