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

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: 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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 // The message can also be sent during a renderer's lifetime if system colors 674 // The message can also be sent during a renderer's lifetime if system colors
675 // are updated. 675 // are updated.
676 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. 676 // TODO(jeremy): Possibly change IPC format once we have this all hooked up.
677 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, 677 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors,
678 std::vector<CSSColors::CSSColorMapping>) 678 std::vector<CSSColors::CSSColorMapping>)
679 679
680 // Asks the browser for a unique routing ID. 680 // Asks the browser for a unique routing ID.
681 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, 681 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID,
682 int /* routing_id */) 682 int /* routing_id */)
683 683
684 // Asks the browser for the default audio hardware buffer-size.
685 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareBufferSize,
686 size_t /* buffer_size */)
tommi (sloooow) - chröme 2011/11/08 14:31:30 fix indent
687
684 // Asks the browser for the default audio input hardware sample-rate. 688 // Asks the browser for the default audio input hardware sample-rate.
685 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, 689 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate,
686 double /* sample_rate */) 690 double /* sample_rate */)
687 691
688 // Asks the browser for the default audio hardware sample-rate. 692 // Asks the browser for the default audio hardware sample-rate.
689 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, 693 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate,
690 double /* sample_rate */) 694 double /* sample_rate */)
691 695
692 // Tells the renderer to create a new view. 696 // Tells the renderer to create a new view.
693 // This message is slightly different, the view it takes (via 697 // This message is slightly different, the view it takes (via
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 media::MediaLogEvent /* event */) 1942 media::MediaLogEvent /* event */)
1939 1943
1940 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1944 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1941 // being sent back. 1945 // being sent back.
1942 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1946 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1943 1947
1944 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1948 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1945 // whenever the mouse is unlocked (which may or may not be caused by 1949 // whenever the mouse is unlocked (which may or may not be caused by
1946 // ViewHostMsg_UnlockMouse). 1950 // ViewHostMsg_UnlockMouse).
1947 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1951 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