Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
| (...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1117 | 1117 |
| 1118 #if defined(OS_MACOSX) | 1118 #if defined(OS_MACOSX) |
| 1119 // Let the RenderView know its window has changed visibility. | 1119 // Let the RenderView know its window has changed visibility. |
| 1120 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, | 1120 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
| 1121 bool /* visibile */) | 1121 bool /* visibile */) |
| 1122 | 1122 |
| 1123 // Let the RenderView know its window's frame has changed. | 1123 // Let the RenderView know its window's frame has changed. |
| 1124 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, | 1124 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
| 1125 gfx::Rect /* window frame */, | 1125 gfx::Rect /* window frame */, |
| 1126 gfx::Rect /* content view frame */) | 1126 gfx::Rect /* content view frame */) |
| 1127 | 1127 |
|
Robert Sesek
2011/05/10 14:21:24
Maybe put the message here?
sail
2011/05/10 16:02:49
Done.
| |
| 1128 // Tell the renderer that plugin IME has completed. | 1128 // Tell the renderer that plugin IME has completed. |
| 1129 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1129 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
| 1130 string16 /* text */, | 1130 string16 /* text */, |
| 1131 int /* plugin_id */) | 1131 int /* plugin_id */) |
| 1132 #endif | 1132 #endif |
| 1133 | 1133 |
| 1134 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. | 1134 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. |
| 1135 // Sent when the worker has started. | 1135 // Sent when the worker has started. |
| 1136 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) | 1136 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) |
| 1137 | 1137 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1179 | 1179 |
| 1180 // Sent to the renderer when a popup window should no longer count against | 1180 // Sent to the renderer when a popup window should no longer count against |
| 1181 // the current popup count (either because it's not a popup or because it was | 1181 // the current popup count (either because it's not a popup or because it was |
| 1182 // a generated by a user action or because a constrained popup got turned | 1182 // a generated by a user action or because a constrained popup got turned |
| 1183 // into a full window). | 1183 // into a full window). |
| 1184 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 1184 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
| 1185 | 1185 |
| 1186 // Tells the render view a prerendered page is about to be displayed. | 1186 // Tells the render view a prerendered page is about to be displayed. |
| 1187 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) | 1187 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) |
| 1188 | 1188 |
| 1189 #if defined(OS_MACOSX) | |
| 1190 // Message sent from the browser to the renderer that the view has started or | |
| 1191 // ended. | |
| 1192 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize, | |
| 1193 bool /* enable */) | |
| 1194 #endif | |
| 1189 | 1195 |
| 1190 // Messages sent from the renderer to the browser. | 1196 // Messages sent from the renderer to the browser. |
| 1191 | 1197 |
| 1192 // Sent by the renderer when it is creating a new window. The browser creates | 1198 // Sent by the renderer when it is creating a new window. The browser creates |
| 1193 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1199 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| 1194 // MSG_ROUTING_NONE, the view couldn't be created. | 1200 // MSG_ROUTING_NONE, the view couldn't be created. |
| 1195 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, | 1201 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, |
| 1196 ViewHostMsg_CreateWindow_Params, | 1202 ViewHostMsg_CreateWindow_Params, |
| 1197 int /* route_id */, | 1203 int /* route_id */, |
| 1198 int64 /* cloned_session_storage_namespace_id */) | 1204 int64 /* cloned_session_storage_namespace_id */) |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1965 std::string /* value */) | 1971 std::string /* value */) |
| 1966 | 1972 |
| 1967 // Message sent from the renderer to the browser to notify it of events which | 1973 // Message sent from the renderer to the browser to notify it of events which |
| 1968 // may lead to the cancellation of a prerender. The message is sent only when | 1974 // may lead to the cancellation of a prerender. The message is sent only when |
| 1969 // the renderer is in prerender mode. | 1975 // the renderer is in prerender mode. |
| 1970 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) | 1976 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) |
| 1971 | 1977 |
| 1972 // Send back a string to be recorded by UserMetrics. | 1978 // Send back a string to be recorded by UserMetrics. |
| 1973 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1979 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 1974 std::string /* action */) | 1980 std::string /* action */) |
| OLD | NEW |