| 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 std::string /* url */, | 348 std::string /* url */, |
| 349 std::string /* range_info */, | 349 std::string /* range_info */, |
| 350 intptr_t /* existing_stream */, | 350 intptr_t /* existing_stream */, |
| 351 bool /* notify_needed */, | 351 bool /* notify_needed */, |
| 352 intptr_t /* notify_data */) | 352 intptr_t /* notify_data */) |
| 353 | 353 |
| 354 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, | 354 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, |
| 355 int /* resource_id */, | 355 int /* resource_id */, |
| 356 bool /* defer */) | 356 bool /* defer */) |
| 357 | 357 |
| 358 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, |
| 359 std::string /* message */) |
| 360 |
| 358 IPC_END_MESSAGES(PluginHost) | 361 IPC_END_MESSAGES(PluginHost) |
| 359 | 362 |
| 360 //----------------------------------------------------------------------------- | 363 //----------------------------------------------------------------------------- |
| 361 // NPObject messages | 364 // NPObject messages |
| 362 // These are messages used to marshall NPObjects. They are sent both from the | 365 // These are messages used to marshall NPObjects. They are sent both from the |
| 363 // plugin to the renderer and from the renderer to the plugin. | 366 // plugin to the renderer and from the renderer to the plugin. |
| 364 IPC_BEGIN_MESSAGES(NPObject) | 367 IPC_BEGIN_MESSAGES(NPObject) |
| 365 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) | 368 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) |
| 366 | 369 |
| 367 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasMethod, | 370 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasMethod, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 std::vector<NPVariant_Param> /* args */, | 406 std::vector<NPVariant_Param> /* args */, |
| 404 NPVariant_Param /* result_param */, | 407 NPVariant_Param /* result_param */, |
| 405 bool /* result */) | 408 bool /* result */) |
| 406 | 409 |
| 407 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 410 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 408 std::string /* script */, | 411 std::string /* script */, |
| 409 bool /* popups_allowed */, | 412 bool /* popups_allowed */, |
| 410 NPVariant_Param /* result_param */, | 413 NPVariant_Param /* result_param */, |
| 411 bool /* result */) | 414 bool /* result */) |
| 412 | 415 |
| 413 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | |
| 414 std::string /* message */) | |
| 415 | |
| 416 IPC_END_MESSAGES(NPObject) | 416 IPC_END_MESSAGES(NPObject) |
| OLD | NEW |