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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 int /* sample_rate */) | 761 int /* sample_rate */) |
762 | 762 |
763 // Asks the browser for the default channel layout. | 763 // Asks the browser for the default channel layout. |
764 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, | 764 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, |
765 ChannelLayout /* channel layout */) | 765 ChannelLayout /* channel layout */) |
766 | 766 |
767 // Asks the browser for CPU usage of the renderer process in percents. | 767 // Asks the browser for CPU usage of the renderer process in percents. |
768 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 768 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
769 int /* CPU usage in percents */) | 769 int /* CPU usage in percents */) |
770 | 770 |
| 771 // Asks the browser for the user's monitor profile. |
| 772 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, |
| 773 std::vector<char> /* profile */) |
| 774 |
771 // Tells the renderer to create a new view. | 775 // Tells the renderer to create a new view. |
772 // This message is slightly different, the view it takes (via | 776 // This message is slightly different, the view it takes (via |
773 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 777 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
774 // non-view control message. | 778 // non-view control message. |
775 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 779 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
776 ViewMsg_New_Params) | 780 ViewMsg_New_Params) |
777 | 781 |
778 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 782 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
779 // similar to the new command, but used when the renderer created a view | 783 // similar to the new command, but used when the renderer created a view |
780 // first, and we need to update it. | 784 // first, and we need to update it. |
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2136 // (according to the value of is_hung). The browser can give the user the | 2140 // (according to the value of is_hung). The browser can give the user the |
2137 // option of killing the plugin. | 2141 // option of killing the plugin. |
2138 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2142 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2139 int /* plugin_child_id */, | 2143 int /* plugin_child_id */, |
2140 FilePath /* path */, | 2144 FilePath /* path */, |
2141 bool /* is_hung */) | 2145 bool /* is_hung */) |
2142 | 2146 |
2143 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2147 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2144 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2148 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2145 int /* orientation */) | 2149 int /* orientation */) |
OLD | NEW |