| OLD | NEW |
| 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 #include "base/shared_memory.h" | 5 #include "base/shared_memory.h" |
| 6 #include "chrome/common/ipc_message_macros.h" | 6 #include "chrome/common/ipc_message_macros.h" |
| 7 #include "webkit/glue/webcursor.h" | 7 #include "webkit/glue/webcursor.h" |
| 8 | 8 |
| 9 //----------------------------------------------------------------------------- | 9 //----------------------------------------------------------------------------- |
| 10 // PluginProcess messages | 10 // PluginProcess messages |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 WebCursor /* cursor type*/) | 134 WebCursor /* cursor type*/) |
| 135 | 135 |
| 136 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, | 136 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, |
| 137 int /* id */, | 137 int /* id */, |
| 138 GURL /* url */) | 138 GURL /* url */) |
| 139 | 139 |
| 140 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_DidReceiveResponse, | 140 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_DidReceiveResponse, |
| 141 PluginMsg_DidReceiveResponseParams, | 141 PluginMsg_DidReceiveResponseParams, |
| 142 bool /* cancel */) | 142 bool /* cancel */) |
| 143 | 143 |
| 144 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_DidReceiveData, | 144 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_DidReceiveData, |
| 145 int /* id */, | 145 int /* id */, |
| 146 std::vector<char> /* buffer */) | 146 std::vector<char> /* buffer */, |
| 147 int /* data_offset */) |
| 147 | 148 |
| 148 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoading, | 149 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoading, |
| 149 int /* id */) | 150 int /* id */) |
| 150 | 151 |
| 151 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFail, | 152 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFail, |
| 152 int /* id */) | 153 int /* id */) |
| 153 | 154 |
| 154 IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream, | 155 IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream, |
| 155 std::string /* url */, | 156 std::string /* url */, |
| 156 std::wstring /* result */, | 157 std::wstring /* result */, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 int /* height */, | 238 int /* height */, |
| 238 std::string /* json_arguments */, | 239 std::string /* json_arguments */, |
| 239 std::string /* json_retval */) | 240 std::string /* json_retval */) |
| 240 | 241 |
| 241 IPC_MESSAGE_ROUTED1(PluginHostMsg_MissingPluginStatus, | 242 IPC_MESSAGE_ROUTED1(PluginHostMsg_MissingPluginStatus, |
| 242 int /* status */) | 243 int /* status */) |
| 243 | 244 |
| 244 IPC_SYNC_MESSAGE_ROUTED0_1(PluginHostMsg_GetCPBrowsingContext, | 245 IPC_SYNC_MESSAGE_ROUTED0_1(PluginHostMsg_GetCPBrowsingContext, |
| 245 uint32 /* context */) | 246 uint32 /* context */) |
| 246 | 247 |
| 248 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) |
| 249 |
| 250 IPC_MESSAGE_ROUTED5(PluginHostMsg_InitiateHTTPRangeRequest, |
| 251 std::string /* url */, |
| 252 std::string /* range_info */, |
| 253 HANDLE /* existing_stream */, |
| 254 bool /* notify_needed */, |
| 255 HANDLE /* notify_data */) |
| 247 | 256 |
| 248 IPC_END_MESSAGES(PluginHost) | 257 IPC_END_MESSAGES(PluginHost) |
| 249 | 258 |
| 250 //----------------------------------------------------------------------------- | 259 //----------------------------------------------------------------------------- |
| 251 // NPObject messages | 260 // NPObject messages |
| 252 // These are messages used to marshall NPObjects. They are sent both from the | 261 // These are messages used to marshall NPObjects. They are sent both from the |
| 253 // plugin to the renderer and from the renderer to the plugin. | 262 // plugin to the renderer and from the renderer to the plugin. |
| 254 IPC_BEGIN_MESSAGES(NPObject, 7) | 263 IPC_BEGIN_MESSAGES(NPObject, 7) |
| 255 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) | 264 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) |
| 256 | 265 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Evaluate, | 301 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Evaluate, |
| 293 std::string /* script */, | 302 std::string /* script */, |
| 294 NPVariant_Param /* result_param */, | 303 NPVariant_Param /* result_param */, |
| 295 bool /* result */) | 304 bool /* result */) |
| 296 | 305 |
| 297 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 306 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
| 298 std::string /* message */) | 307 std::string /* message */) |
| 299 | 308 |
| 300 IPC_END_MESSAGES(NPObject) | 309 IPC_END_MESSAGES(NPObject) |
| 301 | 310 |
| OLD | NEW |