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

Unified Diff: ash/system/audio/audio_observer.h

Issue 945103002: Add a new audio extension event OnLevelChanged. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | ash/system/audio/tray_audio.h » ('j') | ash/system/audio/tray_audio.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/audio/audio_observer.h
diff --git a/ash/system/audio/audio_observer.h b/ash/system/audio/audio_observer.h
index 602322678f73db59bd5c6341460a730d581a7e41..07a8024671c190760476f31f2c043d07cd8b96f3 100644
--- a/ash/system/audio/audio_observer.h
+++ b/ash/system/audio/audio_observer.h
@@ -5,6 +5,8 @@
#ifndef ASH_SYSTEM_AUDIO_AUDIO_OBSERVER_H_
#define ASH_SYSTEM_AUDIO_AUDIO_OBSERVER_H_
+#include "base/basictypes.h"
+
namespace ash {
class AudioObserver {
@@ -12,7 +14,7 @@ class AudioObserver {
virtual ~AudioObserver() {}
// Called when output volume changed.
- virtual void OnOutputVolumeChanged() = 0;
+ virtual void OnOutputNodeVolumeChanged(uint64 node_id, double volume) = 0;
// Called when output mute state changed.
virtual void OnOutputMuteChanged() = 0;
« no previous file with comments | « no previous file | ash/system/audio/tray_audio.h » ('j') | ash/system/audio/tray_audio.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698