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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.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 | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | components/arc/audio/arc_audio_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 2a88f740eed963d742fbac1bf15112ff53a4c80b..cc0a14352be6205b8eafa98ad24810ee9b7c882e 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -1157,12 +1157,13 @@ void SystemTrayDelegateChromeOS::InputMethodMenuItemChanged(
// Overridden from CrasAudioHandler::AudioObserver.
void SystemTrayDelegateChromeOS::OnOutputNodeVolumeChanged(uint64_t node_id,
int volume) {
- GetSystemTrayNotifier()->NotifyAudioOutputVolumeChanged(node_id, volume);
+ GetWmSystemTrayNotifier()->NotifyAudioOutputVolumeChanged(node_id, volume);
}
void SystemTrayDelegateChromeOS::OnOutputMuteChanged(bool mute_on,
bool system_adjust) {
- GetSystemTrayNotifier()->NotifyAudioOutputMuteChanged(mute_on, system_adjust);
+ GetWmSystemTrayNotifier()->NotifyAudioOutputMuteChanged(mute_on,
+ system_adjust);
}
void SystemTrayDelegateChromeOS::OnInputNodeGainChanged(uint64_t /* node_id */,
@@ -1173,15 +1174,15 @@ void SystemTrayDelegateChromeOS::OnInputMuteChanged(bool /* mute_on */) {
}
void SystemTrayDelegateChromeOS::OnAudioNodesChanged() {
- GetSystemTrayNotifier()->NotifyAudioNodesChanged();
+ GetWmSystemTrayNotifier()->NotifyAudioNodesChanged();
}
void SystemTrayDelegateChromeOS::OnActiveOutputNodeChanged() {
- GetSystemTrayNotifier()->NotifyAudioActiveOutputNodeChanged();
+ GetWmSystemTrayNotifier()->NotifyAudioActiveOutputNodeChanged();
}
void SystemTrayDelegateChromeOS::OnActiveInputNodeChanged() {
- GetSystemTrayNotifier()->NotifyAudioActiveInputNodeChanged();
+ GetWmSystemTrayNotifier()->NotifyAudioActiveInputNodeChanged();
}
// Overridden from BluetoothAdapter::Observer.
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | components/arc/audio/arc_audio_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698