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

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

Issue 2489723005: chromeos: Make system tray audio item observe CrasAudioHandler directly (Closed)
Patch Set: rebase Created 4 years, 1 month 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_notifier.h
diff --git a/ash/common/system/tray/system_tray_notifier.h b/ash/common/system/tray/system_tray_notifier.h
index 8b6e4ec63f3bf0ccf1036076087e4ef8745a2480..7b1ccb6af6c3e2e153f77c159784f34e8f0b8fdf 100644
--- a/ash/common/system/tray/system_tray_notifier.h
+++ b/ash/common/system/tray/system_tray_notifier.h
@@ -27,7 +27,6 @@ class UpdateObserver;
class UserObserver;
#if defined(OS_CHROMEOS)
-class AudioObserver;
class BluetoothObserver;
class EnterpriseDomainObserver;
class LastWindowClosedObserver;
@@ -80,15 +79,6 @@ class ASH_EXPORT SystemTrayNotifier {
void NotifyUserAddedToSession();
#if defined(OS_CHROMEOS)
- // Audio.
- void AddAudioObserver(AudioObserver* observer);
- void RemoveAudioObserver(AudioObserver* observer);
- void NotifyAudioOutputVolumeChanged(uint64_t node_id, double volume);
- void NotifyAudioOutputMuteChanged(bool mute_on, bool system_adjust);
- void NotifyAudioNodesChanged();
- void NotifyAudioActiveOutputNodeChanged();
- void NotifyAudioActiveInputNodeChanged();
-
// Bluetooth.
void AddBluetoothObserver(BluetoothObserver* observer);
void RemoveBluetoothObserver(BluetoothObserver* observer);
@@ -167,7 +157,6 @@ class ASH_EXPORT SystemTrayNotifier {
base::ObserverList<UserObserver> user_observers_;
#if defined(OS_CHROMEOS)
- base::ObserverList<AudioObserver> audio_observers_;
base::ObserverList<BluetoothObserver> bluetooth_observers_;
base::ObserverList<EnterpriseDomainObserver> enterprise_domain_observers_;
base::ObserverList<LastWindowClosedObserver> last_window_closed_observers_;
« no previous file with comments | « ash/common/system/chromeos/audio/tray_audio_unittest.cc ('k') | ash/common/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698