| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 int /* resource_id */) | 465 int /* resource_id */) |
| 466 | 466 |
| 467 | 467 |
| 468 //----------------------------------------------------------------------------- | 468 //----------------------------------------------------------------------------- |
| 469 // NPObject messages | 469 // NPObject messages |
| 470 // These are messages used to marshall NPObjects. They are sent both from the | 470 // These are messages used to marshall NPObjects. They are sent both from the |
| 471 // plugin to the renderer and from the renderer to the plugin. | 471 // plugin to the renderer and from the renderer to the plugin. |
| 472 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) | 472 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) |
| 473 | 473 |
| 474 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasMethod, | 474 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasMethod, |
| 475 NPIdentifier_Param /* name */, | 475 content::NPIdentifier_Param /* name */, |
| 476 bool /* result */) | 476 bool /* result */) |
| 477 | 477 |
| 478 IPC_SYNC_MESSAGE_ROUTED3_2(NPObjectMsg_Invoke, | 478 IPC_SYNC_MESSAGE_ROUTED3_2(NPObjectMsg_Invoke, |
| 479 bool /* is_default */, | 479 bool /* is_default */, |
| 480 NPIdentifier_Param /* method */, | 480 content::NPIdentifier_Param /* method */, |
| 481 std::vector<NPVariant_Param> /* args */, | 481 std::vector<content::NPVariant_Param> /* args */, |
| 482 NPVariant_Param /* result_param */, | 482 content::NPVariant_Param /* result_param */, |
| 483 bool /* result */) | 483 bool /* result */) |
| 484 | 484 |
| 485 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasProperty, | 485 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasProperty, |
| 486 NPIdentifier_Param /* name */, | 486 content::NPIdentifier_Param /* name */, |
| 487 bool /* result */) | 487 bool /* result */) |
| 488 | 488 |
| 489 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_GetProperty, | 489 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_GetProperty, |
| 490 NPIdentifier_Param /* name */, | 490 content::NPIdentifier_Param /* name */, |
| 491 NPVariant_Param /* property */, | 491 content::NPVariant_Param /* property */, |
| 492 bool /* result */) | 492 bool /* result */) |
| 493 | 493 |
| 494 IPC_SYNC_MESSAGE_ROUTED2_1(NPObjectMsg_SetProperty, | 494 IPC_SYNC_MESSAGE_ROUTED2_1(NPObjectMsg_SetProperty, |
| 495 NPIdentifier_Param /* name */, | 495 content::NPIdentifier_Param /* name */, |
| 496 NPVariant_Param /* property */, | 496 content::NPVariant_Param /* property */, |
| 497 bool /* result */) | 497 bool /* result */) |
| 498 | 498 |
| 499 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_RemoveProperty, | 499 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_RemoveProperty, |
| 500 NPIdentifier_Param /* name */, | 500 content::NPIdentifier_Param /* name */, |
| 501 bool /* result */) | 501 bool /* result */) |
| 502 | 502 |
| 503 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Invalidate) | 503 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Invalidate) |
| 504 | 504 |
| 505 IPC_SYNC_MESSAGE_ROUTED0_2(NPObjectMsg_Enumeration, | 505 IPC_SYNC_MESSAGE_ROUTED0_2(NPObjectMsg_Enumeration, |
| 506 std::vector<NPIdentifier_Param> /* value */, | 506 std::vector<content::NPIdentifier_Param> /* value */, |
| 507 bool /* result */) | 507 bool /* result */) |
| 508 | 508 |
| 509 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 509 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
| 510 std::vector<NPVariant_Param> /* args */, | 510 std::vector<content::NPVariant_Param> /* args */, |
| 511 NPVariant_Param /* result_param */, | 511 content::NPVariant_Param /* result_param */, |
| 512 bool /* result */) | 512 bool /* result */) |
| 513 | 513 |
| 514 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 514 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 515 std::string /* script */, | 515 std::string /* script */, |
| 516 bool /* popups_allowed */, | 516 bool /* popups_allowed */, |
| 517 NPVariant_Param /* result_param */, | 517 content::NPVariant_Param /* result_param */, |
| 518 bool /* result */) | 518 bool /* result */) |
| OLD | NEW |