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 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 int /* sample_rate */) | 751 int /* sample_rate */) |
752 | 752 |
753 // Asks the browser for the default channel layout. | 753 // Asks the browser for the default channel layout. |
754 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, | 754 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, |
755 ChannelLayout /* channel layout */) | 755 ChannelLayout /* channel layout */) |
756 | 756 |
757 // Asks the browser for CPU usage of the renderer process in percents. | 757 // Asks the browser for CPU usage of the renderer process in percents. |
758 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 758 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
759 int /* CPU usage in percents */) | 759 int /* CPU usage in percents */) |
760 | 760 |
| 761 // Asks the browser for the user's monitor profile. |
| 762 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_GetMonitorColorProfile, |
| 763 gfx::NativeViewId /* parent_window */, |
| 764 std::string /* type */, |
| 765 std::vector<char> /* profile */) |
| 766 |
761 // Tells the renderer to create a new view. | 767 // Tells the renderer to create a new view. |
762 // This message is slightly different, the view it takes (via | 768 // This message is slightly different, the view it takes (via |
763 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 769 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
764 // non-view control message. | 770 // non-view control message. |
765 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 771 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
766 ViewMsg_New_Params) | 772 ViewMsg_New_Params) |
767 | 773 |
768 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 774 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
769 // similar to the new command, but used when the renderer created a view | 775 // similar to the new command, but used when the renderer created a view |
770 // first, and we need to update it. | 776 // first, and we need to update it. |
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2108 // (according to the value of is_hung). The browser can give the user the | 2114 // (according to the value of is_hung). The browser can give the user the |
2109 // option of killing the plugin. | 2115 // option of killing the plugin. |
2110 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2116 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2111 int /* plugin_child_id */, | 2117 int /* plugin_child_id */, |
2112 FilePath /* path */, | 2118 FilePath /* path */, |
2113 bool /* is_hung */) | 2119 bool /* is_hung */) |
2114 | 2120 |
2115 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2121 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2116 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2122 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2117 int /* orientation */) | 2123 int /* orientation */) |
OLD | NEW |