summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 22:25:18 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 22:25:18 +0000
commit3ee84160f356ad78f48639b4e26eebee9a88b9c1 (patch)
tree41cdcce0762674b9eb5893d0585673d91bea53e2 /chrome/common/render_messages_internal.h
parent3da33567fb3c69351d74ccb11d884e4ea9f9a21e (diff)
downloadchromium_src-3ee84160f356ad78f48639b4e26eebee9a88b9c1.zip
chromium_src-3ee84160f356ad78f48639b4e26eebee9a88b9c1.tar.gz
chromium_src-3ee84160f356ad78f48639b4e26eebee9a88b9c1.tar.bz2
SetVolume and GetVolume take one volume instead of separate left and right volumes.
BUG=26660 TEST=no visible difference. Make sure volume still works. Code size should go down marginally. Review URL: http://codereview.chromium.org/357004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31018 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r--chrome/common/render_messages_internal.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 2ff15ed..38694f3 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -620,10 +620,9 @@ IPC_BEGIN_MESSAGES(View)
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 @@ IPC_BEGIN_MESSAGES(ViewHost)
// 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.