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/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 Loading... | |
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) |
OLD | NEW |