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

Unified Diff: chrome/renderer/audio_message_filter.h

Issue 357004: SetVolume and GetVolume take one volume instead of separate left and right vo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/common/render_messages_internal.h ('k') | chrome/renderer/audio_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/audio_message_filter.h
===================================================================
--- chrome/renderer/audio_message_filter.h (revision 30948)
+++ chrome/renderer/audio_message_filter.h (working copy)
@@ -31,10 +31,10 @@
// Called when notification of stream volume is received from the browser
// process.
- virtual void OnVolume(double left, double right) = 0;
+ virtual void OnVolume(double volume) = 0;
};
- AudioMessageFilter(int32 route_id);
+ explicit AudioMessageFilter(int32 route_id);
~AudioMessageFilter();
// Add a delegate to the map and return id of the entry.
@@ -71,7 +71,7 @@
void OnStreamStateChanged(int stream_id, ViewMsg_AudioStreamState state);
// Notification of volume property of an audio output stream.
- void OnStreamVolume(int stream_id, double left, double right);
+ void OnStreamVolume(int stream_id, double volume);
// A map of stream ids to delegates.
IDMap<Delegate> delegates_;
@@ -85,4 +85,5 @@
DISALLOW_COPY_AND_ASSIGN(AudioMessageFilter);
};
-#endif // CHROME_RENDERER_AUDIO_MESSAGE_FITLER_H_
+#endif // CHROME_RENDERER_AUDIO_MESSAGE_FILTER_H_
+
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698