Chromium Code Reviews| 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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 743 int /* sample_rate */) | 743 int /* sample_rate */) |
| 744 | 744 |
| 745 // Asks the browser for the default channel layout. | 745 // Asks the browser for the default channel layout. |
| 746 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, | 746 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, |
| 747 ChannelLayout /* channel layout */) | 747 ChannelLayout /* channel layout */) |
| 748 | 748 |
| 749 // Asks the browser for CPU usage of the renderer process in percents. | 749 // Asks the browser for CPU usage of the renderer process in percents. |
| 750 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 750 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
| 751 int /* CPU usage in percents */) | 751 int /* CPU usage in percents */) |
| 752 | 752 |
| 753 // Asks the browser for the user's monitor profile. | |
| 754 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_GetMonitorColorProfile, | |
|
Evan Stade
2012/06/12 00:48:24
I don't know how kosher it is to have a sync IPC m
tpayne
2012/06/14 22:27:27
Adam, Tony, can one of you guys comment on whether
| |
| 755 gfx::NativeViewId /* parent_hwnd */, | |
| 756 std::string /* type */, | |
| 757 std::vector<char> /* profile */) | |
| 758 | |
| 753 // Tells the renderer to create a new view. | 759 // Tells the renderer to create a new view. |
| 754 // This message is slightly different, the view it takes (via | 760 // This message is slightly different, the view it takes (via |
| 755 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 761 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
| 756 // non-view control message. | 762 // non-view control message. |
| 757 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 763 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
| 758 ViewMsg_New_Params) | 764 ViewMsg_New_Params) |
| 759 | 765 |
| 760 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 766 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
| 761 // similar to the new command, but used when the renderer created a view | 767 // similar to the new command, but used when the renderer created a view |
| 762 // first, and we need to update it. | 768 // first, and we need to update it. |
| (...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2097 // (according to the value of is_hung). The browser can give the user the | 2103 // (according to the value of is_hung). The browser can give the user the |
| 2098 // option of killing the plugin. | 2104 // option of killing the plugin. |
| 2099 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2105 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
| 2100 int /* plugin_child_id */, | 2106 int /* plugin_child_id */, |
| 2101 FilePath /* path */, | 2107 FilePath /* path */, |
| 2102 bool /* is_hung */) | 2108 bool /* is_hung */) |
| 2103 | 2109 |
| 2104 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2110 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
| 2105 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2111 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
| 2106 int /* orientation */) | 2112 int /* orientation */) |
| OLD | NEW |