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

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

Issue 1262723002: Fix the UI issue for showing output muted in ash tray after the device wakes up with hdmi output re… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: 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 40e70501df9e1199992ac14135bc6bf0a21152dc..ec5bd8d122a6ba7086bae809a0fb31f6d95b3fcc 100644
--- a/ash/system/tray/system_tray_notifier.cc
+++ b/ash/system/tray/system_tray_notifier.cc
@@ -201,9 +201,10 @@ void SystemTrayNotifier::NotifyAudioOutputVolumeChanged(uint64_t node_id,
OnOutputNodeVolumeChanged(node_id, volume));
}
-void SystemTrayNotifier::NotifyAudioOutputMuteChanged(bool mute_on) {
+void SystemTrayNotifier::NotifyAudioOutputMuteChanged(bool mute_on,
+ bool system_adjust) {
FOR_EACH_OBSERVER(AudioObserver, audio_observers_,
- OnOutputMuteChanged(mute_on));
+ OnOutputMuteChanged(mute_on, system_adjust));
}
void SystemTrayNotifier::NotifyAudioNodesChanged() {

Powered by Google App Engine
This is Rietveld 408576698