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