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

Side by Side Diff: content/common/view_messages.h

Issue 8497014: Adds proper IPC usage for AudioDevice::GetAudioHardwareBufferSize(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Replaced size_t with uint32 Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 // The message can also be sent during a renderer's lifetime if system colors 675 // The message can also be sent during a renderer's lifetime if system colors
676 // are updated. 676 // are updated.
677 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. 677 // TODO(jeremy): Possibly change IPC format once we have this all hooked up.
678 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, 678 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors,
679 std::vector<CSSColors::CSSColorMapping>) 679 std::vector<CSSColors::CSSColorMapping>)
680 680
681 // Asks the browser for a unique routing ID. 681 // Asks the browser for a unique routing ID.
682 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, 682 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID,
683 int /* routing_id */) 683 int /* routing_id */)
684 684
685 // Asks the browser for the default audio hardware buffer-size.
686 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareBufferSize,
687 uint32 /* buffer_size */)
688
685 // Asks the browser for the default audio input hardware sample-rate. 689 // Asks the browser for the default audio input hardware sample-rate.
686 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, 690 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate,
687 double /* sample_rate */) 691 double /* sample_rate */)
688 692
689 // Asks the browser for the default audio hardware sample-rate. 693 // Asks the browser for the default audio hardware sample-rate.
690 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, 694 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate,
691 double /* sample_rate */) 695 double /* sample_rate */)
692 696
693 // Tells the renderer to create a new view. 697 // Tells the renderer to create a new view.
694 // This message is slightly different, the view it takes (via 698 // This message is slightly different, the view it takes (via
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 media::MediaLogEvent /* event */) 1943 media::MediaLogEvent /* event */)
1940 1944
1941 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1945 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1942 // being sent back. 1946 // being sent back.
1943 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1947 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1944 1948
1945 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1949 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1946 // whenever the mouse is unlocked (which may or may not be caused by 1950 // whenever the mouse is unlocked (which may or may not be caused by
1947 // ViewHostMsg_UnlockMouse). 1951 // ViewHostMsg_UnlockMouse).
1948 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1952 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698