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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 int /* stream id */, 613 int /* stream id */,
614 base::SharedMemoryHandle /* handle */, 614 base::SharedMemoryHandle /* handle */,
615 int /* length */) 615 int /* length */)
616 616
617 // Notification message sent from AudioRendererHost to renderer for state 617 // Notification message sent from AudioRendererHost to renderer for state
618 // update after the renderer has requested a Create/Start/Close. 618 // update after the renderer has requested a Create/Start/Close.
619 IPC_MESSAGE_ROUTED2(ViewMsg_NotifyAudioStreamStateChanged, 619 IPC_MESSAGE_ROUTED2(ViewMsg_NotifyAudioStreamStateChanged,
620 int /* stream id */, 620 int /* stream id */,
621 ViewMsg_AudioStreamState /* new state */) 621 ViewMsg_AudioStreamState /* new state */)
622 622
623 IPC_MESSAGE_ROUTED3(ViewMsg_NotifyAudioStreamVolume, 623 IPC_MESSAGE_ROUTED2(ViewMsg_NotifyAudioStreamVolume,
624 int /* stream id */, 624 int /* stream id */,
625 double /* left channel */, 625 double /* volume */)
626 double /* right channel */)
627 626
628 // Notification that a move or resize renderer's containing window has 627 // Notification that a move or resize renderer's containing window has
629 // started. 628 // started.
630 IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted) 629 IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted)
631 630
632 // The browser sends this message in response to all extension api calls. 631 // The browser sends this message in response to all extension api calls.
633 IPC_MESSAGE_ROUTED4(ViewMsg_ExtensionResponse, 632 IPC_MESSAGE_ROUTED4(ViewMsg_ExtensionResponse,
634 int /* request_id */, 633 int /* request_id */,
635 bool /* success */, 634 bool /* success */,
636 std::string /* response */, 635 std::string /* response */,
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 // Close an audio stream specified by (render_view_id, stream_id). 1667 // Close an audio stream specified by (render_view_id, stream_id).
1669 IPC_MESSAGE_ROUTED1(ViewHostMsg_CloseAudioStream, 1668 IPC_MESSAGE_ROUTED1(ViewHostMsg_CloseAudioStream,
1670 int /* stream_id */) 1669 int /* stream_id */)
1671 1670
1672 // Get audio volume of the stream specified by (render_view_id, stream_id). 1671 // Get audio volume of the stream specified by (render_view_id, stream_id).
1673 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetAudioVolume, 1672 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetAudioVolume,
1674 int /* stream_id */) 1673 int /* stream_id */)
1675 1674
1676 // Set audio volume of the stream specified by (render_view_id, stream_id). 1675 // Set audio volume of the stream specified by (render_view_id, stream_id).
1677 // TODO(hclam): change this to vector if we have channel numbers other than 2. 1676 // TODO(hclam): change this to vector if we have channel numbers other than 2.
1678 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, 1677 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetAudioVolume,
1679 int /* stream_id */, 1678 int /* stream_id */,
1680 double /* left_channel */, 1679 double /* volume */)
1681 double /* right_channel */)
1682 1680
1683 // A renderer sends this message when an extension process starts an API 1681 // A renderer sends this message when an extension process starts an API
1684 // request. The browser will always respond with a ViewMsg_ExtensionResponse. 1682 // request. The browser will always respond with a ViewMsg_ExtensionResponse.
1685 IPC_MESSAGE_ROUTED4(ViewHostMsg_ExtensionRequest, 1683 IPC_MESSAGE_ROUTED4(ViewHostMsg_ExtensionRequest,
1686 std::string /* name */, 1684 std::string /* name */,
1687 ListValue /* argument */, 1685 ListValue /* argument */,
1688 int /* callback id */, 1686 int /* callback id */,
1689 bool /* has_callback */) 1687 bool /* has_callback */)
1690 1688
1691 // Notify the browser that this renderer added a listener to an event. 1689 // Notify the browser that this renderer added a listener to an event.
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1985 1983
1986 // Asks the browser process to generate a keypair for grabbing a client 1984 // Asks the browser process to generate a keypair for grabbing a client
1987 // certificate from a CA (<keygen> tag), and returns the signed public 1985 // certificate from a CA (<keygen> tag), and returns the signed public
1988 // key and challenge string. 1986 // key and challenge string.
1989 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, 1987 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen,
1990 uint32 /* key size index */, 1988 uint32 /* key size index */,
1991 std::string /* challenge string */, 1989 std::string /* challenge string */,
1992 GURL /* URL of requestor */, 1990 GURL /* URL of requestor */,
1993 std::string /* signed public key and challenge */) 1991 std::string /* signed public key and challenge */)
1994 IPC_END_MESSAGES(ViewHost) 1992 IPC_END_MESSAGES(ViewHost)
OLDNEW
« 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