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

Unified Diff: chrome/common/render_messages_internal.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
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 30948)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -620,10 +620,9 @@
int /* stream id */,
ViewMsg_AudioStreamState /* new state */)
- IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamVolume,
+ IPC_MESSAGE_ROUTED2(ViewMsg_NotifyAudioStreamVolume,
int /* stream id */,
- double /* left channel */,
- double /* right channel */)
+ double /* volume */)
// Notification that a move or resize renderer's containing window has
// started.
@@ -1675,10 +1674,9 @@
// Set audio volume of the stream specified by (render_view_id, stream_id).
// TODO(hclam): change this to vector if we have channel numbers other than 2.
- IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume,
+ IPC_MESSAGE_ROUTED2(ViewHostMsg_SetAudioVolume,
int /* stream_id */,
- double /* left_channel */,
- double /* right_channel */)
+ double /* volume */)
// A renderer sends this message when an extension process starts an API
// request. The browser will always respond with a ViewMsg_ExtensionResponse.
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host_unittest.cc ('k') | chrome/renderer/audio_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698