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

Unified Diff: ash/mus/system_tray_delegate_mus.h

Issue 2373863002: mustash: Connect ash system tray "show settings" items to chrome over mojo (Closed)
Patch Set: review comments 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 | « ash/common/system/tray/system_tray_delegate.cc ('k') | ash/mus/system_tray_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/system_tray_delegate_mus.h
diff --git a/ash/mus/system_tray_delegate_mus.h b/ash/mus/system_tray_delegate_mus.h
index b3845faaa65ff80d9614bbdb9e8ce11d79c03e13..814ffdde13c4a0b8535a5fcb52b9b734dcf4587f 100644
--- a/ash/mus/system_tray_delegate_mus.h
+++ b/ash/mus/system_tray_delegate_mus.h
@@ -30,15 +30,30 @@ class SystemTrayDelegateMus : public DefaultSystemTrayDelegate,
static SystemTrayDelegateMus* Get();
private:
- // Connects or reconnects the |system_tray_client_| interface.
- void ConnectToSystemTrayClient();
+ // Connects or reconnects to the mojom::SystemTrayClient interface and returns
+ // the interface pointer.
+ mojom::SystemTrayClient* ConnectToSystemTrayClient();
// Handles errors on the |system_tray_client_| interface connection.
void OnClientConnectionError();
// SystemTrayDelegate:
base::HourClockType GetHourClockType() const override;
+ void ShowSettings() override;
void ShowDateSettings() override;
+ void ShowNetworkSettingsForGuid(const std::string& guid) override;
+ void ShowDisplaySettings() override;
+ void ShowPowerSettings() override;
+ void ShowChromeSlow() override;
+ void ShowIMESettings() override;
+ void ShowHelp() override;
+ void ShowAccessibilityHelp() override;
+ void ShowAccessibilitySettings() override;
+ void ShowPaletteHelp() override;
+ void ShowPaletteSettings() override;
+ void ShowPublicAccountInfo() override;
+ void ShowEnterpriseInfo() override;
+ void ShowProxySettings() override;
// mojom::SystemTray:
void SetUse24HourClock(bool use_24_hour) override;
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.cc ('k') | ash/mus/system_tray_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698