Index: ash/common/system/tray/system_tray_controller.cc |
diff --git a/ash/common/system/tray/system_tray_controller.cc b/ash/common/system/tray/system_tray_controller.cc |
index 54c0216714face4f773f7518364f9b8a759e085a..15054e342add06d3de100058e76be8b65248f3fd 100644 |
--- a/ash/common/system/tray/system_tray_controller.cc |
+++ b/ash/common/system/tray/system_tray_controller.cc |
@@ -17,11 +17,71 @@ SystemTrayController::SystemTrayController(shell::Connector* connector) |
SystemTrayController::~SystemTrayController() {} |
+void SystemTrayController::ShowSettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowSettings(); |
+} |
+ |
void SystemTrayController::ShowDateSettings() { |
if (ConnectToSystemTrayClient()) |
system_tray_client_->ShowDateSettings(); |
} |
+void SystemTrayController::ShowDisplaySettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowDisplaySettings(); |
+} |
+ |
+void SystemTrayController::ShowPowerSettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowPowerSettings(); |
+} |
+ |
+void SystemTrayController::ShowChromeSlow() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowChromeSlow(); |
+} |
+ |
+void SystemTrayController::ShowIMESettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowIMESettings(); |
+} |
+ |
+void SystemTrayController::ShowHelp() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowHelp(); |
+} |
+ |
+void SystemTrayController::ShowAccessibilityHelp() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowAccessibilityHelp(); |
+} |
+ |
+void SystemTrayController::ShowAccessibilitySettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowAccessibilitySettings(); |
+} |
+ |
+void SystemTrayController::ShowPaletteHelp() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowPaletteHelp(); |
+} |
+ |
+void SystemTrayController::ShowPaletteSettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowPaletteSettings(); |
+} |
+ |
+void SystemTrayController::ShowPublicAccountInfo() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowPublicAccountInfo(); |
+} |
+ |
+void SystemTrayController::ShowProxySettings() { |
+ if (ConnectToSystemTrayClient()) |
+ system_tray_client_->ShowProxySettings(); |
+} |
+ |
void SystemTrayController::BindRequest(mojom::SystemTrayRequest request) { |
bindings_.AddBinding(this, std::move(request)); |
} |