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

Unified Diff: chrome/browser/ui/ash/system_tray_client.h

Issue 2396863004: chromeos: Refactor system tray ShowNetworkSettingsForGuid for mash (Closed)
Patch Set: rebase 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: chrome/browser/ui/ash/system_tray_client.h
diff --git a/chrome/browser/ui/ash/system_tray_client.h b/chrome/browser/ui/ash/system_tray_client.h
index 2c5787595e166d03324c427c7be49e9fda2ef982..9ae3ee01a6fcd8e8340c4f6cf3bdff8f453d6440 100644
--- a/chrome/browser/ui/ash/system_tray_client.h
+++ b/chrome/browser/ui/ash/system_tray_client.h
@@ -24,13 +24,6 @@ class SystemTrayClient : public ash::mojom::SystemTrayClient,
static SystemTrayClient* Get();
- private:
- // Connects or reconnects the |system_tray_| interface.
- void ConnectToSystemTray();
-
- // Handles errors on the |system_tray_| interface connection.
- void OnClientConnectionError();
-
// ash::mojom::SystemTrayClient:
void ShowSettings() override;
void ShowDateSettings() override;
@@ -44,11 +37,19 @@ class SystemTrayClient : public ash::mojom::SystemTrayClient,
void ShowPaletteHelp() override;
void ShowPaletteSettings() override;
void ShowPublicAccountInfo() override;
+ void ShowNetworkSettings(const std::string& network_id) override;
void ShowProxySettings() override;
+ private:
// chromeos::system::SystemClockObserver:
void OnSystemClockChanged(chromeos::system::SystemClock* clock) override;
+ // Connects or reconnects the |system_tray_| interface.
+ void ConnectToSystemTray();
+
+ // Handles errors on the |system_tray_| interface connection.
+ void OnClientConnectionError();
+
// System tray mojo service in ash.
ash::mojom::SystemTrayPtr system_tray_;

Powered by Google App Engine
This is Rietveld 408576698