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

Unified Diff: ash/system/tray/system_tray_notifier.cc

Issue 2084533008: mash: Migrate tray audio and deps to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 6 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/system/tray/system_tray_notifier.h ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_notifier.cc
diff --git a/ash/system/tray/system_tray_notifier.cc b/ash/system/tray/system_tray_notifier.cc
index b8e1aa9e3f1555e9eb092e43de67c544d8896dc1..1520b8eea71aedca2611f036919be0537d0ff798 100644
--- a/ash/system/tray/system_tray_notifier.cc
+++ b/ash/system/tray/system_tray_notifier.cc
@@ -12,14 +12,6 @@ SystemTrayNotifier::SystemTrayNotifier() {
SystemTrayNotifier::~SystemTrayNotifier() {
}
-void SystemTrayNotifier::AddAudioObserver(AudioObserver* observer) {
- audio_observers_.AddObserver(observer);
-}
-
-void SystemTrayNotifier::RemoveAudioObserver(AudioObserver* observer) {
- audio_observers_.RemoveObserver(observer);
-}
-
void SystemTrayNotifier::AddTracingObserver(TracingObserver* observer) {
tracing_observers_.AddObserver(observer);
}
@@ -136,39 +128,6 @@ void SystemTrayNotifier::RemoveLastWindowClosedObserver(
#endif // defined(OS_CHROMEOS)
-void SystemTrayNotifier::NotifyAudioOutputVolumeChanged(uint64_t node_id,
- double volume) {
- FOR_EACH_OBSERVER(AudioObserver, audio_observers_,
- OnOutputNodeVolumeChanged(node_id, volume));
-}
-
-void SystemTrayNotifier::NotifyAudioOutputMuteChanged(bool mute_on,
- bool system_adjust) {
- FOR_EACH_OBSERVER(AudioObserver, audio_observers_,
- OnOutputMuteChanged(mute_on, system_adjust));
-}
-
-void SystemTrayNotifier::NotifyAudioNodesChanged() {
- FOR_EACH_OBSERVER(
- AudioObserver,
- audio_observers_,
- OnAudioNodesChanged());
-}
-
-void SystemTrayNotifier::NotifyAudioActiveOutputNodeChanged() {
- FOR_EACH_OBSERVER(
- AudioObserver,
- audio_observers_,
- OnActiveOutputNodeChanged());
-}
-
-void SystemTrayNotifier::NotifyAudioActiveInputNodeChanged() {
- FOR_EACH_OBSERVER(
- AudioObserver,
- audio_observers_,
- OnActiveInputNodeChanged());
-}
-
void SystemTrayNotifier::NotifyTracingModeChanged(bool value) {
FOR_EACH_OBSERVER(
TracingObserver,
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698