OLD | NEW |
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 Loading... |
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 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1946 media::MediaLogEvent /* event */) | 1950 media::MediaLogEvent /* event */) |
1947 | 1951 |
1948 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1952 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1949 // being sent back. | 1953 // being sent back. |
1950 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1954 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1951 | 1955 |
1952 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1956 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1953 // whenever the mouse is unlocked (which may or may not be caused by | 1957 // whenever the mouse is unlocked (which may or may not be caused by |
1954 // ViewHostMsg_UnlockMouse). | 1958 // ViewHostMsg_UnlockMouse). |
1955 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1959 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |