| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 uint32 /* buffer_size */) | 690 uint32 /* buffer_size */) |
| 691 | 691 |
| 692 // Asks the browser for the default audio input hardware sample-rate. | 692 // Asks the browser for the default audio input hardware sample-rate. |
| 693 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, | 693 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, |
| 694 double /* sample_rate */) | 694 double /* sample_rate */) |
| 695 | 695 |
| 696 // Asks the browser for the default audio hardware sample-rate. | 696 // Asks the browser for the default audio hardware sample-rate. |
| 697 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, | 697 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, |
| 698 double /* sample_rate */) | 698 double /* sample_rate */) |
| 699 | 699 |
| 700 // Asks the browser for the default number of audio input channels. |
| 701 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelCount, |
| 702 uint32 /* channels */) |
| 703 |
| 700 // Asks the browser for CPU usage of the renderer process in percents. | 704 // Asks the browser for CPU usage of the renderer process in percents. |
| 701 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 705 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
| 702 int /* CPU usage in percents */) | 706 int /* CPU usage in percents */) |
| 703 | 707 |
| 704 // Tells the renderer to create a new view. | 708 // Tells the renderer to create a new view. |
| 705 // This message is slightly different, the view it takes (via | 709 // This message is slightly different, the view it takes (via |
| 706 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 710 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
| 707 // non-view control message. | 711 // non-view control message. |
| 708 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 712 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
| 709 ViewMsg_New_Params) | 713 ViewMsg_New_Params) |
| (...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1983 media::MediaLogEvent /* event */) | 1987 media::MediaLogEvent /* event */) |
| 1984 | 1988 |
| 1985 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1989 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
| 1986 // being sent back. | 1990 // being sent back. |
| 1987 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1991 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
| 1988 | 1992 |
| 1989 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1993 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
| 1990 // whenever the mouse is unlocked (which may or may not be caused by | 1994 // whenever the mouse is unlocked (which may or may not be caused by |
| 1991 // ViewHostMsg_UnlockMouse). | 1995 // ViewHostMsg_UnlockMouse). |
| 1992 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1996 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| OLD | NEW |