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