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

Unified Diff: chrome/common/render_messages_internal.h

Issue 20410: Audio related IPC messages and handlers from browser to renderer (Closed)
Patch Set: cleanup Created 11 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 | « chrome/common/render_messages.h ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 02a9a436ea10f8256fec3b746b12320cd28a45cc..e621dd6e1aa02d7a2989acdc9523cd9c983d3547 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -496,6 +496,31 @@ IPC_BEGIN_MESSAGES(View)
IPC_MESSAGE_ROUTED1(ViewMsg_PopupNotificationVisiblityChanged,
bool /* Whether it is visible */)
+ // Sent by AudioRendererHost to renderer to request an audio packet.
+ IPC_MESSAGE_ROUTED1(ViewMsg_RequestAudioPacket,
+ int /* stream id */)
+
+ // Tell the renderer process that the audio stream has been created, renderer
+ // process would be given a ShareMemoryHandle that it should write to from
+ // then on.
+ IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamCreated,
+ int /* stream id */,
+ base::SharedMemoryHandle /* handle */,
+ int /* length */)
+
+ // Notification message sent from AudioRendererHost to renderer for state
+ // update after the renderer has requested a Create/Start/Close.
+ IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamStateChanged,
+ int /* stream id */,
+ AudioOutputStream::State /* new state */,
+ int /* additional information (e.g. platform specific
+ error code*/)
+
+ IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamVolume,
+ int /* stream id */,
+ double /* left channel */,
+ double /* right channel */)
+
IPC_END_MESSAGES(View)
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698