Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/resource_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 // Copies the image at location x, y to the clipboard (if there indeed is an 150 // Copies the image at location x, y to the clipboard (if there indeed is an
151 // image at that location). 151 // image at that location).
152 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 152 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
153 int /* x */, 153 int /* x */,
154 int /* y */) 154 int /* y */)
155 155
156 // History system notification that the visited link database has been 156 // History system notification that the visited link database has been
157 // replaced. It has one SharedMemoryHandle argument consisting of the table 157 // replaced. It has one SharedMemoryHandle argument consisting of the table
158 // handle. This handle is valid in the context of the renderer 158 // handle. This handle is valid in the context of the renderer
159 IPC_MESSAGE_CONTROL1(ViewMsg_VisitedLink_NewTable, SharedMemoryHandle) 159 IPC_MESSAGE_CONTROL1(ViewMsg_VisitedLink_NewTable, base::SharedMemoryHandle)
160 160
161 // Notification that the Greasemonkey scripts have been updated. It has one 161 // Notification that the Greasemonkey scripts have been updated. It has one
162 // SharedMemoryHandle argument consisting of the pickled script data. This 162 // SharedMemoryHandle argument consisting of the pickled script data. This
163 // handle is valid in the context of the renderer. 163 // handle is valid in the context of the renderer.
164 IPC_MESSAGE_CONTROL1(ViewMsg_Greasemonkey_NewScripts, SharedMemoryHandle) 164 IPC_MESSAGE_CONTROL1(ViewMsg_Greasemonkey_NewScripts, base::SharedMemoryHandle )
165 165
166 // Sent when the user wants to search for a word on the page (find in page). 166 // Sent when the user wants to search for a word on the page (find in page).
167 // Request parameters are passed in as a FindInPageMsg_Request struct. 167 // Request parameters are passed in as a FindInPageMsg_Request struct.
168 IPC_MESSAGE_ROUTED1(ViewMsg_Find, FindInPageRequest) 168 IPC_MESSAGE_ROUTED1(ViewMsg_Find, FindInPageRequest)
169 169
170 // Sent when the headers are available for a resource request. 170 // Sent when the headers are available for a resource request.
171 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse, 171 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse,
172 int /* request_id */, 172 int /* request_id */,
173 ViewMsg_Resource_ResponseHead) 173 ViewMsg_Resource_ResponseHead)
174 174
175 // Sent as upload progress is being made 175 // Sent as upload progress is being made
176 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress, 176 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress,
177 int /* request_id */, 177 int /* request_id */,
178 int64 /* position */, 178 int64 /* position */,
179 int64 /* size */) 179 int64 /* size */)
180 180
181 // Sent when the request has been redirected. 181 // Sent when the request has been redirected.
182 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedRedirect, 182 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedRedirect,
183 int /* request_id */, 183 int /* request_id */,
184 GURL /* new_url */) 184 GURL /* new_url */)
185 185
186 // Sent when some data from a resource request is ready. The handle should 186 // Sent when some data from a resource request is ready. The handle should
187 // already be mapped into the process that receives this message. 187 // already be mapped into the process that receives this message.
188 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DataReceived, 188 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DataReceived,
189 int /* request_id */, 189 int /* request_id */,
190 SharedMemoryHandle /* data */, 190 base::SharedMemoryHandle /* data */,
191 int /* data_len */) 191 int /* data_len */)
192 192
193 // Sent when the request has been completed. 193 // Sent when the request has been completed.
194 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_RequestComplete, 194 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_RequestComplete,
195 int /* request_id */, 195 int /* request_id */,
196 URLRequestStatus /* status */) 196 URLRequestStatus /* status */)
197 197
198 // Request for the renderer to evaluate an xpath to a frame and execute a 198 // Request for the renderer to evaluate an xpath to a frame and execute a
199 // javascript: url in that frame's context. The message is completely 199 // javascript: url in that frame's context. The message is completely
200 // asynchronous and no corresponding response message is sent back. 200 // asynchronous and no corresponding response message is sent back.
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 GURL /* url redirected to */) 1049 GURL /* url redirected to */)
1050 1050
1051 // Sent when the renderer process to acknowlege receipt of and UploadProgress 1051 // Sent when the renderer process to acknowlege receipt of and UploadProgress
1052 // message. 1052 // message.
1053 IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK, 1053 IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK,
1054 int /* request_id */) 1054 int /* request_id */)
1055 1055
1056 // Duplicates a shared memory handle from the renderer to the browser. Then 1056 // Duplicates a shared memory handle from the renderer to the browser. Then
1057 // the renderer can flush the handle. 1057 // the renderer can flush the handle.
1058 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection, 1058 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection,
1059 SharedMemoryHandle /* renderer handle */, 1059 base::SharedMemoryHandle /* renderer handle */,
1060 SharedMemoryHandle /* browser handle */) 1060 base::SharedMemoryHandle /* browser handle */)
1061 1061
1062 // Provide the browser process with information about the WebCore resource 1062 // Provide the browser process with information about the WebCore resource
1063 // cache. 1063 // cache.
1064 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, 1064 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats,
1065 CacheManager::ResourceTypeStats) 1065 CacheManager::ResourceTypeStats)
1066 1066
1067 // Notify the browser that this render either has or doesn't have a 1067 // Notify the browser that this render either has or doesn't have a
1068 // beforeunload or unload handler. 1068 // beforeunload or unload handler.
1069 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged, 1069 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged,
1070 bool /* has_listener */) 1070 bool /* has_listener */)
1071 1071
1072 // Returns the window location of the window this widget is embeded in. 1072 // Returns the window location of the window this widget is embeded in.
1073 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect, 1073 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect,
1074 HWND /* window */, 1074 HWND /* window */,
1075 gfx::Rect /* Out: Window location */) 1075 gfx::Rect /* Out: Window location */)
1076 1076
1077 // Queries the browser for suggestion for autofill in a form input field. 1077 // Queries the browser for suggestion for autofill in a form input field.
1078 IPC_MESSAGE_ROUTED4(ViewHostMsg_QueryFormFieldAutofill, 1078 IPC_MESSAGE_ROUTED4(ViewHostMsg_QueryFormFieldAutofill,
1079 std::wstring /* field name */, 1079 std::wstring /* field name */,
1080 std::wstring /* user entered text */, 1080 std::wstring /* user entered text */,
1081 int64 /* id of the text input field */, 1081 int64 /* id of the text input field */,
1082 int /* id of this message */) 1082 int /* id of this message */)
1083 1083
1084 IPC_END_MESSAGES(ViewHost) 1084 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698