| 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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
| 6 |
| 7 #include <stdint.h> |
| 8 |
| 6 #include <map> | 9 #include <map> |
| 7 #include <string> | 10 #include <string> |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 12 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
| 13 #include "base/process/process.h" | 15 #include "base/process/process.h" |
| 14 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 15 #include "base/sync_socket.h" | 17 #include "base/sync_socket.h" |
| 18 #include "build/build_config.h" |
| 16 #include "gpu/command_buffer/common/command_buffer.h" | 19 #include "gpu/command_buffer/common/command_buffer.h" |
| 17 #include "gpu/command_buffer/common/mailbox.h" | 20 #include "gpu/command_buffer/common/mailbox.h" |
| 18 #include "gpu/command_buffer/common/sync_token.h" | 21 #include "gpu/command_buffer/common/sync_token.h" |
| 19 #include "gpu/ipc/gpu_command_buffer_traits.h" | 22 #include "gpu/ipc/gpu_command_buffer_traits.h" |
| 20 #include "ipc/ipc_channel_handle.h" | 23 #include "ipc/ipc_channel_handle.h" |
| 21 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
| 22 #include "ipc/ipc_message_utils.h" | 25 #include "ipc/ipc_message_utils.h" |
| 23 #include "ipc/ipc_platform_file.h" | 26 #include "ipc/ipc_platform_file.h" |
| 24 #include "ppapi/c/dev/pp_video_capture_dev.h" | 27 #include "ppapi/c/dev/pp_video_capture_dev.h" |
| 25 #include "ppapi/c/dev/pp_video_dev.h" | 28 #include "ppapi/c/dev/pp_video_dev.h" |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 538 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
| 536 // Network state notification from the browser for implementing | 539 // Network state notification from the browser for implementing |
| 537 // PPP_NetworkState_Dev. | 540 // PPP_NetworkState_Dev. |
| 538 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, | 541 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
| 539 bool /* online */) | 542 bool /* online */) |
| 540 | 543 |
| 541 // Requests a list of sites that have data stored from the plugin. The plugin | 544 // Requests a list of sites that have data stored from the plugin. The plugin |
| 542 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used | 545 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used |
| 543 // for Flash. | 546 // for Flash. |
| 544 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, | 547 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, |
| 545 uint32 /* request_id */, | 548 uint32_t /* request_id */, |
| 546 base::FilePath /* plugin_data_path */) | 549 base::FilePath /* plugin_data_path */) |
| 547 IPC_MESSAGE_CONTROL2(PpapiHostMsg_GetSitesWithDataResult, | 550 IPC_MESSAGE_CONTROL2(PpapiHostMsg_GetSitesWithDataResult, |
| 548 uint32 /* request_id */, | 551 uint32_t /* request_id */, |
| 549 std::vector<std::string> /* sites */) | 552 std::vector<std::string> /* sites */) |
| 550 | 553 |
| 551 // Instructs the plugin to clear data for the given site & time. The plugin | 554 // Instructs the plugin to clear data for the given site & time. The plugin |
| 552 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used | 555 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used |
| 553 // for Flash. | 556 // for Flash. |
| 554 IPC_MESSAGE_CONTROL5(PpapiMsg_ClearSiteData, | 557 IPC_MESSAGE_CONTROL5(PpapiMsg_ClearSiteData, |
| 555 uint32 /* request_id */, | 558 uint32_t /* request_id */, |
| 556 base::FilePath /* plugin_data_path */, | 559 base::FilePath /* plugin_data_path */, |
| 557 std::string /* site */, | 560 std::string /* site */, |
| 558 uint64 /* flags */, | 561 uint64_t /* flags */, |
| 559 uint64 /* max_age */) | 562 uint64_t /* max_age */) |
| 560 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ClearSiteDataResult, | 563 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ClearSiteDataResult, |
| 561 uint32 /* request_id */, | 564 uint32_t /* request_id */, |
| 562 bool /* success */) | 565 bool /* success */) |
| 563 | 566 |
| 564 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, | 567 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |
| 565 uint32 /* request_id */, | 568 uint32_t /* request_id */, |
| 566 base::FilePath /* plugin_data_path */) | 569 base::FilePath /* plugin_data_path */) |
| 567 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, | 570 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, |
| 568 uint32 /* request_id */, | 571 uint32_t /* request_id */, |
| 569 bool /* success */) | 572 bool /* success */) |
| 570 | 573 |
| 571 IPC_MESSAGE_CONTROL3(PpapiMsg_GetPermissionSettings, | 574 IPC_MESSAGE_CONTROL3(PpapiMsg_GetPermissionSettings, |
| 572 uint32 /* request_id */, | 575 uint32_t /* request_id */, |
| 573 base::FilePath /* plugin_data_path */, | 576 base::FilePath /* plugin_data_path */, |
| 574 PP_Flash_BrowserOperations_SettingType /* setting_type */) | 577 PP_Flash_BrowserOperations_SettingType /* setting_type */) |
| 575 IPC_MESSAGE_CONTROL4( | 578 IPC_MESSAGE_CONTROL4( |
| 576 PpapiHostMsg_GetPermissionSettingsResult, | 579 PpapiHostMsg_GetPermissionSettingsResult, |
| 577 uint32 /* request_id */, | 580 uint32_t /* request_id */, |
| 578 bool /* success */, | 581 bool /* success */, |
| 579 PP_Flash_BrowserOperations_Permission /* default_permission */, | 582 PP_Flash_BrowserOperations_Permission /* default_permission */, |
| 580 ppapi::FlashSiteSettings /* sites */) | 583 ppapi::FlashSiteSettings /* sites */) |
| 581 | 584 |
| 582 IPC_MESSAGE_CONTROL5(PpapiMsg_SetDefaultPermission, | 585 IPC_MESSAGE_CONTROL5(PpapiMsg_SetDefaultPermission, |
| 583 uint32 /* request_id */, | 586 uint32_t /* request_id */, |
| 584 base::FilePath /* plugin_data_path */, | 587 base::FilePath /* plugin_data_path */, |
| 585 PP_Flash_BrowserOperations_SettingType /* setting_type */, | 588 PP_Flash_BrowserOperations_SettingType /* setting_type */, |
| 586 PP_Flash_BrowserOperations_Permission /* permission */, | 589 PP_Flash_BrowserOperations_Permission /* permission */, |
| 587 bool /* clear_site_specific */) | 590 bool /* clear_site_specific */) |
| 588 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetDefaultPermissionResult, | 591 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetDefaultPermissionResult, |
| 589 uint32 /* request_id */, | 592 uint32_t /* request_id */, |
| 590 bool /* success */) | 593 bool /* success */) |
| 591 | 594 |
| 592 IPC_MESSAGE_CONTROL4(PpapiMsg_SetSitePermission, | 595 IPC_MESSAGE_CONTROL4(PpapiMsg_SetSitePermission, |
| 593 uint32 /* request_id */, | 596 uint32_t /* request_id */, |
| 594 base::FilePath /* plugin_data_path */, | 597 base::FilePath /* plugin_data_path */, |
| 595 PP_Flash_BrowserOperations_SettingType /* setting_type */, | 598 PP_Flash_BrowserOperations_SettingType /* setting_type */, |
| 596 ppapi::FlashSiteSettings /* sites */) | 599 ppapi::FlashSiteSettings /* sites */) |
| 597 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, | 600 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, |
| 598 uint32 /* request_id */, | 601 uint32_t /* request_id */, |
| 599 bool /* success */) | 602 bool /* success */) |
| 600 | 603 |
| 601 // Broker Process. | 604 // Broker Process. |
| 602 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 605 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
| 603 PP_Instance /* instance */, | 606 PP_Instance /* instance */, |
| 604 IPC::PlatformFileForTransit /* handle */, | 607 IPC::PlatformFileForTransit /* handle */, |
| 605 int32_t /* result */) | 608 int32_t /* result */) |
| 606 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 609 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| 607 | 610 |
| 608 // PPB_Audio. | 611 // PPB_Audio. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 629 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, | 632 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, |
| 630 ppapi::HostResource /* old_image_data */) | 633 ppapi::HostResource /* old_image_data */) |
| 631 | 634 |
| 632 // PPB_Instance. | 635 // PPB_Instance. |
| 633 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBInstance_MouseLockComplete, | 636 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBInstance_MouseLockComplete, |
| 634 PP_Instance /* instance */, | 637 PP_Instance /* instance */, |
| 635 int32_t /* result */) | 638 int32_t /* result */) |
| 636 | 639 |
| 637 // PPP_Class. | 640 // PPP_Class. |
| 638 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, | 641 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, |
| 639 int64 /* ppp_class */, | 642 int64_t /* ppp_class */, |
| 640 int64 /* object */, | 643 int64_t /* object */, |
| 641 ppapi::proxy::SerializedVar /* property */, | 644 ppapi::proxy::SerializedVar /* property */, |
| 642 ppapi::proxy::SerializedVar /* out_exception */, | 645 ppapi::proxy::SerializedVar /* out_exception */, |
| 643 bool /* result */) | 646 bool /* result */) |
| 644 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, | 647 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, |
| 645 int64 /* ppp_class */, | 648 int64_t /* ppp_class */, |
| 646 int64 /* object */, | 649 int64_t /* object */, |
| 647 ppapi::proxy::SerializedVar /* method */, | 650 ppapi::proxy::SerializedVar /* method */, |
| 648 ppapi::proxy::SerializedVar /* out_exception */, | 651 ppapi::proxy::SerializedVar /* out_exception */, |
| 649 bool /* result */) | 652 bool /* result */) |
| 650 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_GetProperty, | 653 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_GetProperty, |
| 651 int64 /* ppp_class */, | 654 int64_t /* ppp_class */, |
| 652 int64 /* object */, | 655 int64_t /* object */, |
| 653 ppapi::proxy::SerializedVar /* property */, | 656 ppapi::proxy::SerializedVar /* property */, |
| 654 ppapi::proxy::SerializedVar /* out_exception */, | 657 ppapi::proxy::SerializedVar /* out_exception */, |
| 655 ppapi::proxy::SerializedVar /* result */) | 658 ppapi::proxy::SerializedVar /* result */) |
| 656 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiMsg_PPPClass_EnumerateProperties, | 659 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiMsg_PPPClass_EnumerateProperties, |
| 657 int64 /* ppp_class */, | 660 int64_t /* ppp_class */, |
| 658 int64 /* object */, | 661 int64_t /* object */, |
| 659 std::vector<ppapi::proxy::SerializedVar> /* props */, | 662 std::vector<ppapi::proxy::SerializedVar> /* props */, |
| 660 ppapi::proxy::SerializedVar /* out_exception */) | 663 ppapi::proxy::SerializedVar /* out_exception */) |
| 661 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiMsg_PPPClass_SetProperty, | 664 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiMsg_PPPClass_SetProperty, |
| 662 int64 /* ppp_class */, | 665 int64_t /* ppp_class */, |
| 663 int64 /* object */, | 666 int64_t /* object */, |
| 664 ppapi::proxy::SerializedVar /* name */, | 667 ppapi::proxy::SerializedVar /* name */, |
| 665 ppapi::proxy::SerializedVar /* value */, | 668 ppapi::proxy::SerializedVar /* value */, |
| 666 ppapi::proxy::SerializedVar /* out_exception */) | 669 ppapi::proxy::SerializedVar /* out_exception */) |
| 667 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPClass_RemoveProperty, | 670 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPClass_RemoveProperty, |
| 668 int64 /* ppp_class */, | 671 int64_t /* ppp_class */, |
| 669 int64 /* object */, | 672 int64_t /* object */, |
| 670 ppapi::proxy::SerializedVar /* property */, | 673 ppapi::proxy::SerializedVar /* property */, |
| 671 ppapi::proxy::SerializedVar /* out_exception */) | 674 ppapi::proxy::SerializedVar /* out_exception */) |
| 672 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiMsg_PPPClass_Call, | 675 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiMsg_PPPClass_Call, |
| 673 int64 /* ppp_class */, | 676 int64_t /* ppp_class */, |
| 674 int64 /* object */, | 677 int64_t /* object */, |
| 675 ppapi::proxy::SerializedVar /* method_name */, | 678 ppapi::proxy::SerializedVar /* method_name */, |
| 676 std::vector<ppapi::proxy::SerializedVar> /* args */, | 679 std::vector<ppapi::proxy::SerializedVar> /* args */, |
| 677 ppapi::proxy::SerializedVar /* out_exception */, | 680 ppapi::proxy::SerializedVar /* out_exception */, |
| 678 ppapi::proxy::SerializedVar /* result */) | 681 ppapi::proxy::SerializedVar /* result */) |
| 679 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_Construct, | 682 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_Construct, |
| 680 int64 /* ppp_class */, | 683 int64_t /* ppp_class */, |
| 681 int64 /* object */, | 684 int64_t /* object */, |
| 682 std::vector<ppapi::proxy::SerializedVar> /* args */, | 685 std::vector<ppapi::proxy::SerializedVar> /* args */, |
| 683 ppapi::proxy::SerializedVar /* out_exception */, | 686 ppapi::proxy::SerializedVar /* out_exception */, |
| 684 ppapi::proxy::SerializedVar /* result */) | 687 ppapi::proxy::SerializedVar /* result */) |
| 685 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPClass_Deallocate, | 688 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPClass_Deallocate, |
| 686 int64 /* ppp_class */, | 689 int64_t /* ppp_class */, |
| 687 int64 /* object */) | 690 int64_t /* object */) |
| 688 | 691 |
| 689 // PPP_Graphics3D_Dev. | 692 // PPP_Graphics3D_Dev. |
| 690 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPGraphics3D_ContextLost, | 693 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPGraphics3D_ContextLost, |
| 691 PP_Instance /* instance */) | 694 PP_Instance /* instance */) |
| 692 | 695 |
| 693 // PPP_InputEvent. | 696 // PPP_InputEvent. |
| 694 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInputEvent_HandleInputEvent, | 697 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInputEvent_HandleInputEvent, |
| 695 PP_Instance /* instance */, | 698 PP_Instance /* instance */, |
| 696 ppapi::InputEventData /* data */) | 699 ppapi::InputEventData /* data */) |
| 697 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInputEvent_HandleFilteredInputEvent, | 700 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInputEvent_HandleFilteredInputEvent, |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 IPC_SYNC_MESSAGE_ROUTED3_4(PpapiHostMsg_PPBGraphics3D_Create, | 960 IPC_SYNC_MESSAGE_ROUTED3_4(PpapiHostMsg_PPBGraphics3D_Create, |
| 958 PP_Instance /* instance */, | 961 PP_Instance /* instance */, |
| 959 ppapi::HostResource /* share_context */, | 962 ppapi::HostResource /* share_context */, |
| 960 std::vector<int32_t> /* attrib_list */, | 963 std::vector<int32_t> /* attrib_list */, |
| 961 ppapi::HostResource /* result */, | 964 ppapi::HostResource /* result */, |
| 962 gpu::Capabilities /* capabilities */, | 965 gpu::Capabilities /* capabilities */, |
| 963 ppapi::proxy::SerializedHandle /* shared_state */, | 966 ppapi::proxy::SerializedHandle /* shared_state */, |
| 964 uint64_t /* command_buffer_id */) | 967 uint64_t /* command_buffer_id */) |
| 965 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 968 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
| 966 ppapi::HostResource /* context */, | 969 ppapi::HostResource /* context */, |
| 967 int32 /* transfer_buffer_id */) | 970 int32_t /* transfer_buffer_id */) |
| 968 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForTokenInRange, | 971 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForTokenInRange, |
| 969 ppapi::HostResource /* context */, | 972 ppapi::HostResource /* context */, |
| 970 int32 /* start */, | 973 int32_t /* start */, |
| 971 int32 /* end */, | 974 int32_t /* end */, |
| 972 gpu::CommandBuffer::State /* state */, | 975 gpu::CommandBuffer::State /* state */, |
| 973 bool /* success */) | 976 bool /* success */) |
| 974 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForGetOffsetInRange, | 977 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForGetOffsetInRange, |
| 975 ppapi::HostResource /* context */, | 978 ppapi::HostResource /* context */, |
| 976 int32 /* start */, | 979 int32_t /* start */, |
| 977 int32 /* end */, | 980 int32_t /* end */, |
| 978 gpu::CommandBuffer::State /* state */, | 981 gpu::CommandBuffer::State /* state */, |
| 979 bool /* success */) | 982 bool /* success */) |
| 980 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, | 983 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, |
| 981 ppapi::HostResource /* context */, | 984 ppapi::HostResource /* context */, |
| 982 int32 /* put_offset */) | 985 int32_t /* put_offset */) |
| 983 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, | 986 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, |
| 984 ppapi::HostResource /* context */, | 987 ppapi::HostResource /* context */, |
| 985 uint32 /* size */, | 988 uint32_t /* size */, |
| 986 int32 /* id */, | 989 int32_t /* id */, |
| 987 ppapi::proxy::SerializedHandle /* transfer_buffer */) | 990 ppapi::proxy::SerializedHandle /* transfer_buffer */) |
| 988 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 991 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
| 989 ppapi::HostResource /* context */, | 992 ppapi::HostResource /* context */, |
| 990 int32 /* id */) | 993 int32_t /* id */) |
| 991 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 994 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
| 992 ppapi::HostResource /* graphics_3d */) | 995 ppapi::HostResource /* graphics_3d */) |
| 993 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_InsertSyncPoint, | 996 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_InsertSyncPoint, |
| 994 ppapi::HostResource /* context */, | 997 ppapi::HostResource /* context */, |
| 995 uint32 /* sync_point */) | 998 uint32_t /* sync_point */) |
| 996 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_InsertFutureSyncPoint, | 999 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_InsertFutureSyncPoint, |
| 997 ppapi::HostResource /* context */, | 1000 ppapi::HostResource /* context */, |
| 998 uint32 /* sync_point */) | 1001 uint32_t /* sync_point */) |
| 999 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_RetireSyncPoint, | 1002 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_RetireSyncPoint, |
| 1000 ppapi::HostResource /* context */, | 1003 ppapi::HostResource /* context */, |
| 1001 uint32 /* sync_point */) | 1004 uint32_t /* sync_point */) |
| 1002 | 1005 |
| 1003 // PPB_ImageData. | 1006 // PPB_ImageData. |
| 1004 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform, | 1007 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform, |
| 1005 PP_Instance /* instance */, | 1008 PP_Instance /* instance */, |
| 1006 int32 /* format */, | 1009 int32_t /* format */, |
| 1007 PP_Size /* size */, | 1010 PP_Size /* size */, |
| 1008 PP_Bool /* init_to_zero */, | 1011 PP_Bool /* init_to_zero */, |
| 1009 ppapi::HostResource /* result_resource */, | 1012 ppapi::HostResource /* result_resource */, |
| 1010 PP_ImageDataDesc /* image_data_desc */, | 1013 PP_ImageDataDesc /* image_data_desc */, |
| 1011 ppapi::proxy::ImageHandle /* result */) | 1014 ppapi::proxy::ImageHandle /* result */) |
| 1012 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateSimple, | 1015 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateSimple, |
| 1013 PP_Instance /* instance */, | 1016 PP_Instance /* instance */, |
| 1014 int32 /* format */, | 1017 int32_t /* format */, |
| 1015 PP_Size /* size */, | 1018 PP_Size /* size */, |
| 1016 PP_Bool /* init_to_zero */, | 1019 PP_Bool /* init_to_zero */, |
| 1017 ppapi::HostResource /* result_resource */, | 1020 ppapi::HostResource /* result_resource */, |
| 1018 PP_ImageDataDesc /* image_data_desc */, | 1021 PP_ImageDataDesc /* image_data_desc */, |
| 1019 ppapi::proxy::SerializedHandle /* result */) | 1022 ppapi::proxy::SerializedHandle /* result */) |
| 1020 | 1023 |
| 1021 // PPB_Instance. | 1024 // PPB_Instance. |
| 1022 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 1025 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
| 1023 PP_Instance /* instance */, | 1026 PP_Instance /* instance */, |
| 1024 ppapi::proxy::SerializedVar /* result */) | 1027 ppapi::proxy::SerializedVar /* result */) |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_CancelCompositionText, | 1109 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_CancelCompositionText, |
| 1107 PP_Instance /* instance */) | 1110 PP_Instance /* instance */) |
| 1108 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_UpdateSurroundingText, | 1111 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_UpdateSurroundingText, |
| 1109 PP_Instance /* instance */, | 1112 PP_Instance /* instance */, |
| 1110 std::string /* text */, | 1113 std::string /* text */, |
| 1111 uint32_t /* caret */, | 1114 uint32_t /* caret */, |
| 1112 uint32_t /* anchor */) | 1115 uint32_t /* anchor */) |
| 1113 | 1116 |
| 1114 // PPB_Var. | 1117 // PPB_Var. |
| 1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVar_AddRefObject, | 1118 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVar_AddRefObject, |
| 1116 int64 /* object_id */) | 1119 int64_t /* object_id */) |
| 1117 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, | 1120 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, int64_t /* object_id */) |
| 1118 int64 /* object_id */) | |
| 1119 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasProperty, | 1121 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasProperty, |
| 1120 ppapi::proxy::SerializedVar /* object */, | 1122 ppapi::proxy::SerializedVar /* object */, |
| 1121 ppapi::proxy::SerializedVar /* property */, | 1123 ppapi::proxy::SerializedVar /* property */, |
| 1122 ppapi::proxy::SerializedVar /* out_exception */, | 1124 ppapi::proxy::SerializedVar /* out_exception */, |
| 1123 PP_Bool /* result */) | 1125 PP_Bool /* result */) |
| 1124 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasMethodDeprecated, | 1126 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasMethodDeprecated, |
| 1125 ppapi::proxy::SerializedVar /* object */, | 1127 ppapi::proxy::SerializedVar /* object */, |
| 1126 ppapi::proxy::SerializedVar /* method */, | 1128 ppapi::proxy::SerializedVar /* method */, |
| 1127 ppapi::proxy::SerializedVar /* out_exception */, | 1129 ppapi::proxy::SerializedVar /* out_exception */, |
| 1128 PP_Bool /* result */) | 1130 PP_Bool /* result */) |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1151 std::vector<ppapi::proxy::SerializedVar> /* args */, | 1153 std::vector<ppapi::proxy::SerializedVar> /* args */, |
| 1152 ppapi::proxy::SerializedVar /* out_exception */, | 1154 ppapi::proxy::SerializedVar /* out_exception */, |
| 1153 ppapi::proxy::SerializedVar /* result */) | 1155 ppapi::proxy::SerializedVar /* result */) |
| 1154 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_Construct, | 1156 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_Construct, |
| 1155 ppapi::proxy::SerializedVar /* object */, | 1157 ppapi::proxy::SerializedVar /* object */, |
| 1156 std::vector<ppapi::proxy::SerializedVar> /* args */, | 1158 std::vector<ppapi::proxy::SerializedVar> /* args */, |
| 1157 ppapi::proxy::SerializedVar /* out_exception */, | 1159 ppapi::proxy::SerializedVar /* out_exception */, |
| 1158 ppapi::proxy::SerializedVar /* result */) | 1160 ppapi::proxy::SerializedVar /* result */) |
| 1159 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 1161 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
| 1160 ppapi::proxy::SerializedVar /* var */, | 1162 ppapi::proxy::SerializedVar /* var */, |
| 1161 int64 /* object_class */, | 1163 int64_t /* object_class */, |
| 1162 int64 /* object-data */, | 1164 int64_t /* object-data */, |
| 1163 PP_Bool /* result */) | 1165 PP_Bool /* result */) |
| 1164 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 1166 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
| 1165 PP_Instance /* instance */, | 1167 PP_Instance /* instance */, |
| 1166 int64 /* object_class */, | 1168 int64_t /* object_class */, |
| 1167 int64 /* object_data */, | 1169 int64_t /* object_data */, |
| 1168 ppapi::proxy::SerializedVar /* result */) | 1170 ppapi::proxy::SerializedVar /* result */) |
| 1169 | 1171 |
| 1170 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1172 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
| 1171 // PPB_Broker. | 1173 // PPB_Broker. |
| 1172 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, | 1174 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
| 1173 PP_Instance /* instance */, | 1175 PP_Instance /* instance */, |
| 1174 ppapi::HostResource /* result_resource */) | 1176 ppapi::HostResource /* result_resource */) |
| 1175 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 1177 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
| 1176 ppapi::HostResource /* broker */) | 1178 ppapi::HostResource /* broker */) |
| 1177 | 1179 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1250 | 1252 |
| 1251 // PPB_Testing. | 1253 // PPB_Testing. |
| 1252 IPC_SYNC_MESSAGE_ROUTED3_1( | 1254 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 1253 PpapiHostMsg_PPBTesting_ReadImageData, | 1255 PpapiHostMsg_PPBTesting_ReadImageData, |
| 1254 ppapi::HostResource /* device_context_2d */, | 1256 ppapi::HostResource /* device_context_2d */, |
| 1255 ppapi::HostResource /* image */, | 1257 ppapi::HostResource /* image */, |
| 1256 PP_Point /* top_left */, | 1258 PP_Point /* top_left */, |
| 1257 PP_Bool /* result */) | 1259 PP_Bool /* result */) |
| 1258 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, | 1260 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, |
| 1259 PP_Instance /* instance */, | 1261 PP_Instance /* instance */, |
| 1260 uint32 /* result */) | 1262 uint32_t /* result */) |
| 1261 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTesting_PostPowerSaverStatus, | 1263 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTesting_PostPowerSaverStatus, |
| 1262 PP_Instance /* instance */) | 1264 PP_Instance /* instance */) |
| 1263 IPC_SYNC_MESSAGE_ROUTED1_0( | 1265 IPC_SYNC_MESSAGE_ROUTED1_0( |
| 1264 PpapiHostMsg_PPBTesting_SubscribeToPowerSaverNotifications, | 1266 PpapiHostMsg_PPBTesting_SubscribeToPowerSaverNotifications, |
| 1265 PP_Instance /* instance */) | 1267 PP_Instance /* instance */) |
| 1266 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTesting_SimulateInputEvent, | 1268 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTesting_SimulateInputEvent, |
| 1267 PP_Instance /* instance */, | 1269 PP_Instance /* instance */, |
| 1268 ppapi::InputEventData /* input_event */) | 1270 ppapi::InputEventData /* input_event */) |
| 1269 IPC_SYNC_MESSAGE_ROUTED1_0( | 1271 IPC_SYNC_MESSAGE_ROUTED1_0( |
| 1270 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, | 1272 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, |
| 1271 uint32_t /* threshold */) | 1273 uint32_t /* threshold */) |
| 1272 | 1274 |
| 1273 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1275 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
| 1274 | 1276 |
| 1275 // PPB_VideoDecoder_Dev. | 1277 // PPB_VideoDecoder_Dev. |
| 1276 // (Messages from plugin to renderer.) | 1278 // (Messages from plugin to renderer.) |
| 1277 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, | 1279 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, |
| 1278 PP_Instance /* instance */, | 1280 PP_Instance /* instance */, |
| 1279 ppapi::HostResource /* context */, | 1281 ppapi::HostResource /* context */, |
| 1280 PP_VideoDecoder_Profile /* profile */, | 1282 PP_VideoDecoder_Profile /* profile */, |
| 1281 ppapi::HostResource /* result */) | 1283 ppapi::HostResource /* result */) |
| 1282 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, | 1284 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, |
| 1283 ppapi::HostResource /* video_decoder */, | 1285 ppapi::HostResource /* video_decoder */, |
| 1284 ppapi::HostResource /* bitstream buffer */, | 1286 ppapi::HostResource /* bitstream buffer */, |
| 1285 int32 /* bitstream buffer id */, | 1287 int32_t /* bitstream buffer id */, |
| 1286 uint32 /* size of buffer */) | 1288 uint32_t /* size of buffer */) |
| 1287 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, | 1289 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, |
| 1288 ppapi::HostResource /* video_decoder */, | 1290 ppapi::HostResource /* video_decoder */, |
| 1289 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1291 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1290 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1292 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1291 ppapi::HostResource /* video_decoder */, | 1293 ppapi::HostResource /* video_decoder */, |
| 1292 int32_t /* picture buffer id */) | 1294 int32_t /* picture buffer id */) |
| 1293 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1295 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1294 ppapi::HostResource /* video_decoder */) | 1296 ppapi::HostResource /* video_decoder */) |
| 1295 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1297 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1296 ppapi::HostResource /* video_decoder */) | 1298 ppapi::HostResource /* video_decoder */) |
| (...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2383 std::vector<ppapi::HostResource> /* buffers */, | 2385 std::vector<ppapi::HostResource> /* buffers */, |
| 2384 uint32_t /* buffer_size */) | 2386 uint32_t /* buffer_size */) |
| 2385 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2387 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 2386 uint32_t /* status */) | 2388 uint32_t /* status */) |
| 2387 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2389 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 2388 uint32_t /* error */) | 2390 uint32_t /* error */) |
| 2389 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2391 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 2390 uint32_t /* buffer */) | 2392 uint32_t /* buffer */) |
| 2391 | 2393 |
| 2392 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2394 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |