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

Unified Diff: components/arc/audio/arc_audio_bridge.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/ui/ash/system_tray_delegate_chromeos.cc ('k') | components/exo/pointer.cc » ('j') | 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 0e0aee02f47e28cce6f07434856f1b62eeaafe2f..bf5e2b64b07ce2211cbc9ab20b2a884fd35271d5 100644
--- a/components/arc/audio/arc_audio_bridge.cc
+++ b/components/arc/audio/arc_audio_bridge.cc
@@ -4,8 +4,8 @@
#include "components/arc/audio/arc_audio_bridge.h"
-#include "ash/shell.h"
-#include "ash/system/tray/system_tray_notifier.h"
+#include "ash/common/system/tray/wm_system_tray_notifier.h"
+#include "ash/common/wm_shell.h"
#include "base/logging.h"
#include "chromeos/audio/audio_device.h"
@@ -44,7 +44,7 @@ void ArcAudioBridge::OnAudioInstanceReady() {
void ArcAudioBridge::ShowVolumeControls() {
VLOG(2) << "ArcAudioBridge::ShowVolumeControls";
- ash::Shell::GetInstance()->system_tray_notifier()->
+ ash::WmShell::Get()->system_tray_notifier()->
NotifyAudioOutputVolumeChanged(0, 0);
}
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | components/exo/pointer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698