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

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

Issue 8283032: Low-latency AudioInputStream implementation based on WASAPI for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Now uses ScopedCoMem in base/win Created 9 years, 2 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 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/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 // The message can also be sent during a renderer's lifetime if system colors 678 // The message can also be sent during a renderer's lifetime if system colors
679 // are updated. 679 // are updated.
680 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. 680 // TODO(jeremy): Possibly change IPC format once we have this all hooked up.
681 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, 681 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors,
682 std::vector<CSSColors::CSSColorMapping>) 682 std::vector<CSSColors::CSSColorMapping>)
683 683
684 // Asks the browser for a unique routing ID. 684 // Asks the browser for a unique routing ID.
685 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, 685 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID,
686 int /* routing_id */) 686 int /* routing_id */)
687 687
688 // Asks the browser for the default audio input hardware sample-rate.
689 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate,
690 double /* sample_rate */)
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
694 // ViewMsg_New_Params) is the view to create, the message itself is sent as a 698 // ViewMsg_New_Params) is the view to create, the message itself is sent as a
695 // non-view control message. 699 // non-view control message.
696 IPC_MESSAGE_CONTROL1(ViewMsg_New, 700 IPC_MESSAGE_CONTROL1(ViewMsg_New,
697 ViewMsg_New_Params) 701 ViewMsg_New_Params)
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 media::MediaLogEvent /* event */) 1945 media::MediaLogEvent /* event */)
1942 1946
1943 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1947 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1944 // being sent back. 1948 // being sent back.
1945 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1949 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1946 1950
1947 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1951 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1948 // whenever the mouse is unlocked (which may or may not be caused by 1952 // whenever the mouse is unlocked (which may or may not be caused by
1949 // ViewHostMsg_UnlockMouse). 1953 // ViewHostMsg_UnlockMouse).
1950 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1954 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698