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

Unified Diff: components/arc/audio/arc_audio_bridge.cc

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
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/audio/arc_audio_bridge.cc
diff --git a/components/arc/audio/arc_audio_bridge.cc b/components/arc/audio/arc_audio_bridge.cc
index 69d45635092959d707e01f33df3076760856d32d..dc037cb965ea4ae429f88ae860d02eafc1d1cc90 100644
--- a/components/arc/audio/arc_audio_bridge.cc
+++ b/components/arc/audio/arc_audio_bridge.cc
@@ -4,8 +4,7 @@
#include "components/arc/audio/arc_audio_bridge.h"
-#include "ash/common/system/tray/system_tray_notifier.h"
-#include "ash/common/wm_shell.h"
+#include "ash/common/system/chromeos/audio/tray_audio.h"
#include "base/logging.h"
#include "chromeos/audio/audio_device.h"
#include "components/arc/arc_bridge_service.h"
@@ -46,8 +45,7 @@ void ArcAudioBridge::OnInstanceReady() {
void ArcAudioBridge::ShowVolumeControls() {
VLOG(2) << "ArcAudioBridge::ShowVolumeControls";
- ash::WmShell::Get()->system_tray_notifier()->NotifyAudioOutputVolumeChanged(
- 0, 0);
+ ash::TrayAudio::ShowPopUpVolumeView();
}
void ArcAudioBridge::OnAudioNodesChanged() {
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698