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

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

Issue 62032: Stop serializing WebString over IPC. The new rule is that only POD (plain ol... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months 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/browser/ssl/ssl_policy.cc ('k') | chrome/common/webkit_param_traits.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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // replaced. It has one SharedMemoryHandle argument consisting of the table 154 // replaced. It has one SharedMemoryHandle argument consisting of the table
155 // handle. This handle is valid in the context of the renderer 155 // handle. This handle is valid in the context of the renderer
156 IPC_MESSAGE_CONTROL1(ViewMsg_VisitedLink_NewTable, base::SharedMemoryHandle) 156 IPC_MESSAGE_CONTROL1(ViewMsg_VisitedLink_NewTable, base::SharedMemoryHandle)
157 157
158 // Notification that the user scripts have been updated. It has one 158 // Notification that the user scripts have been updated. It has one
159 // SharedMemoryHandle argument consisting of the pickled script data. This 159 // SharedMemoryHandle argument consisting of the pickled script data. This
160 // handle is valid in the context of the renderer. 160 // handle is valid in the context of the renderer.
161 IPC_MESSAGE_CONTROL1(ViewMsg_UserScripts_NewScripts, base::SharedMemoryHandle) 161 IPC_MESSAGE_CONTROL1(ViewMsg_UserScripts_NewScripts, base::SharedMemoryHandle)
162 162
163 // Sent when the user wants to search for a word on the page (find in page). 163 // Sent when the user wants to search for a word on the page (find in page).
164 // Request parameters are passed in as a FindInPageMsg_Request struct. 164 IPC_MESSAGE_ROUTED3(ViewMsg_Find,
165 IPC_MESSAGE_ROUTED1(ViewMsg_Find, WebKit::WebFindInPageRequest) 165 int /* request_id */,
166 string16 /* search_text */,
167 WebKit::WebFindOptions)
166 168
167 // Sent when the headers are available for a resource request. 169 // Sent when the headers are available for a resource request.
168 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse, 170 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse,
169 int /* request_id */, 171 int /* request_id */,
170 ResourceResponseHead) 172 ResourceResponseHead)
171 173
172 // Sent as download progress is being made, size of the resource may be 174 // Sent as download progress is being made, size of the resource may be
173 // unknown, in that case |size| is -1. 175 // unknown, in that case |size| is -1.
174 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress, 176 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress,
175 int /* request_id */, 177 int /* request_id */,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 std::wstring /* jscript_url */) 225 std::wstring /* jscript_url */)
224 226
225 // Request for the renderer to evaluate an xpath to a frame and insert css 227 // Request for the renderer to evaluate an xpath to a frame and insert css
226 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on 228 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on
227 // allowed xpath expressions. 229 // allowed xpath expressions.
228 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, 230 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest,
229 std::wstring, /* frame_xpath */ 231 std::wstring, /* frame_xpath */
230 std::string /* css string */) 232 std::string /* css string */)
231 233
232 // Log a message to the console of the target frame 234 // Log a message to the console of the target frame
233 IPC_MESSAGE_ROUTED2(ViewMsg_AddMessageToConsole, 235 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole,
234 std::wstring, /* frame_xpath */ 236 string16 /* frame_xpath */,
235 WebKit::WebConsoleMessage /* message */) 237 string16 /* message */,
238 WebKit::WebConsoleMessage::Level /* message_level */)
236 239
237 // Initialize the V8 debugger in the renderer. 240 // Initialize the V8 debugger in the renderer.
238 IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach) 241 IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach)
239 242
240 // Shutdown the V8 debugger in the renderer. 243 // Shutdown the V8 debugger in the renderer.
241 IPC_MESSAGE_ROUTED0(ViewMsg_DebugDetach) 244 IPC_MESSAGE_ROUTED0(ViewMsg_DebugDetach)
242 245
243 // Break V8 execution. 246 // Break V8 execution.
244 IPC_MESSAGE_ROUTED1(ViewMsg_DebugBreak, 247 IPC_MESSAGE_ROUTED1(ViewMsg_DebugBreak,
245 bool /* force */) 248 bool /* force */)
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, 1297 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension,
1295 std::string /* extension_id */, 1298 std::string /* extension_id */,
1296 int /* port_id */) 1299 int /* port_id */)
1297 1300
1298 // Send a message to an extension process. The handle is the value returned 1301 // Send a message to an extension process. The handle is the value returned
1299 // by ViewHostMsg_OpenChannelToExtension. 1302 // by ViewHostMsg_OpenChannelToExtension.
1300 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, 1303 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage,
1301 int /* port_id */, 1304 int /* port_id */,
1302 std::string /* message */) 1305 std::string /* message */)
1303 IPC_END_MESSAGES(ViewHost) 1306 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_policy.cc ('k') | chrome/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698