| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/gfx/native_widget_types.h" | 5 #include "app/gfx/native_widget_types.h" |
| 6 #include "base/shared_memory.h" | 6 #include "base/shared_memory.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "webkit/glue/webcursor.h" | 9 #include "webkit/glue/webcursor.h" |
| 10 | 10 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 PluginMsg_UpdateGeometry_Param) | 225 PluginMsg_UpdateGeometry_Param) |
| 226 | 226 |
| 227 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) | 227 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) |
| 228 | 228 |
| 229 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, | 229 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, |
| 230 IPC::WebInputEventPointer /* event */, | 230 IPC::WebInputEventPointer /* event */, |
| 231 bool /* handled */, | 231 bool /* handled */, |
| 232 WebCursor /* cursor type*/) | 232 WebCursor /* cursor type*/) |
| 233 | 233 |
| 234 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, | 234 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, |
| 235 int /* id */, | 235 unsigned long /* id */, |
| 236 GURL /* url */) | 236 GURL /* url */) |
| 237 | 237 |
| 238 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, | 238 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, |
| 239 PluginMsg_DidReceiveResponseParams) | 239 PluginMsg_DidReceiveResponseParams) |
| 240 | 240 |
| 241 IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData, | 241 IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData, |
| 242 int /* id */, | 242 unsigned long /* id */, |
| 243 std::vector<char> /* buffer */, | 243 std::vector<char> /* buffer */, |
| 244 int /* data_offset */) | 244 int /* data_offset */) |
| 245 | 245 |
| 246 IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading, | 246 IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading, |
| 247 int /* id */) | 247 unsigned long /* id */) |
| 248 | 248 |
| 249 IPC_MESSAGE_ROUTED1(PluginMsg_DidFail, | 249 IPC_MESSAGE_ROUTED1(PluginMsg_DidFail, |
| 250 int /* id */) | 250 unsigned long /* id */) |
| 251 | 251 |
| 252 IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream, | 252 IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream, |
| 253 GURL /* url */, | 253 GURL /* url */, |
| 254 std::string /* result */, | 254 std::string /* result */, |
| 255 bool /* success */, | 255 bool /* success */, |
| 256 bool /* notify required */, | 256 bool /* notify required */, |
| 257 intptr_t /* notify data */) | 257 intptr_t /* notify data */) |
| 258 | 258 |
| 259 IPC_MESSAGE_ROUTED2(PluginMsg_DidReceiveManualResponse, | 259 IPC_MESSAGE_ROUTED2(PluginMsg_DidReceiveManualResponse, |
| 260 GURL /* url */, | 260 GURL /* url */, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) | 359 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) |
| 360 | 360 |
| 361 IPC_MESSAGE_ROUTED5(PluginHostMsg_InitiateHTTPRangeRequest, | 361 IPC_MESSAGE_ROUTED5(PluginHostMsg_InitiateHTTPRangeRequest, |
| 362 std::string /* url */, | 362 std::string /* url */, |
| 363 std::string /* range_info */, | 363 std::string /* range_info */, |
| 364 intptr_t /* existing_stream */, | 364 intptr_t /* existing_stream */, |
| 365 bool /* notify_needed */, | 365 bool /* notify_needed */, |
| 366 intptr_t /* notify_data */) | 366 intptr_t /* notify_data */) |
| 367 | 367 |
| 368 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, | 368 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, |
| 369 int /* resource_id */, | 369 unsigned long /* resource_id */, |
| 370 bool /* defer */) | 370 bool /* defer */) |
| 371 | 371 |
| 372 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, | 372 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, |
| 373 std::string /* message */) | 373 std::string /* message */) |
| 374 | 374 |
| 375 #if defined(OS_MACOSX) | 375 #if defined(OS_MACOSX) |
| 376 IPC_MESSAGE_ROUTED1(PluginHostMsg_UpdateGeometry_ACK, | 376 IPC_MESSAGE_ROUTED1(PluginHostMsg_UpdateGeometry_ACK, |
| 377 int /* ack_key */) | 377 int /* ack_key */) |
| 378 #endif | 378 #endif |
| 379 | 379 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 NPVariant_Param /* result_param */, | 426 NPVariant_Param /* result_param */, |
| 427 bool /* result */) | 427 bool /* result */) |
| 428 | 428 |
| 429 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 429 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 430 std::string /* script */, | 430 std::string /* script */, |
| 431 bool /* popups_allowed */, | 431 bool /* popups_allowed */, |
| 432 NPVariant_Param /* result_param */, | 432 NPVariant_Param /* result_param */, |
| 433 bool /* result */) | 433 bool /* result */) |
| 434 | 434 |
| 435 IPC_END_MESSAGES(NPObject) | 435 IPC_END_MESSAGES(NPObject) |
| OLD | NEW |