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

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

Issue 2427913003: Use mojo volume interfaces for mash and classic ash. (Closed)
Patch Set: Split volume and system events observers; only hook up volume. 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_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
index 6f2709f73049875b8259befb65342baad2e8abff..04a9fccb3aa8adaf55cc97ec8d877ef74c234a2d 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
@@ -113,9 +113,6 @@ class SystemTrayDelegateChromeOS
bool GetBluetoothDiscovering() override;
ash::CastConfigDelegate* GetCastConfigDelegate() override;
ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
- ash::VolumeControlDelegate* GetVolumeControlDelegate() const override;
- void SetVolumeControlDelegate(
- std::unique_ptr<ash::VolumeControlDelegate> delegate) override;
bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
int GetSystemTrayMenuWidth() override;
@@ -274,7 +271,6 @@ class SystemTrayDelegateChromeOS
bluetooth_discovery_session_;
std::unique_ptr<ash::CastConfigDelegate> cast_config_delegate_;
std::unique_ptr<ash::NetworkingConfigDelegate> networking_config_delegate_;
- std::unique_ptr<ash::VolumeControlDelegate> volume_control_delegate_;
std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_;
std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_;
std::unique_ptr<ash::VPNDelegate> vpn_delegate_;

Powered by Google App Engine
This is Rietveld 408576698