Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 6673098: Remove PPB_Var interface's scripting functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing convert. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/process.h" 11 #include "base/process.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/sync_socket.h" 14 #include "base/sync_socket.h"
15 #include "gpu/command_buffer/common/command_buffer.h" 15 #include "gpu/command_buffer/common/command_buffer.h"
16 #include "gpu/ipc/gpu_command_buffer_traits.h" 16 #include "gpu/ipc/gpu_command_buffer_traits.h"
17 #include "ipc/ipc_channel_handle.h" 17 #include "ipc/ipc_channel_handle.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_message_utils.h" 19 #include "ipc/ipc_message_utils.h"
20 #include "ipc/ipc_platform_file.h" 20 #include "ipc/ipc_platform_file.h"
21 #include "ppapi/c/dev/pp_file_info_dev.h" 21 #include "ppapi/c/dev/pp_file_info_dev.h"
22 #include "ppapi/c/pp_bool.h" 22 #include "ppapi/c/pp_bool.h"
23 #include "ppapi/c/pp_instance.h" 23 #include "ppapi/c/pp_instance.h"
24 #include "ppapi/c/pp_module.h" 24 #include "ppapi/c/pp_module.h"
25 #include "ppapi/c/pp_resource.h" 25 #include "ppapi/c/pp_resource.h"
26 #include "ppapi/c/ppb_var.h"
27 #include "ppapi/proxy/ppapi_param_traits.h" 26 #include "ppapi/proxy/ppapi_param_traits.h"
28 #include "ppapi/proxy/serialized_flash_menu.h" 27 #include "ppapi/proxy/serialized_flash_menu.h"
29 #include "ppapi/proxy/serialized_structs.h" 28 #include "ppapi/proxy/serialized_structs.h"
30 29
31 #define IPC_MESSAGE_START PpapiMsgStart 30 #define IPC_MESSAGE_START PpapiMsgStart
32 31
33 // These are from the plugin to the renderer 32 // These are from the plugin to the renderer
34 // Loads the given plugin. 33 // Loads the given plugin.
35 IPC_MESSAGE_CONTROL1(PpapiMsg_LoadPlugin, FilePath /* path */) 34 IPC_MESSAGE_CONTROL1(PpapiMsg_LoadPlugin, FilePath /* path */)
36 35
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject, 670 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject,
672 int64 /* object_id */) 671 int64 /* object_id */)
673 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, 672 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject,
674 int64 /* object_id */) 673 int64 /* object_id */)
675 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType, 674 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType,
676 PP_Instance /* instance */, 675 PP_Instance /* instance */,
677 pp::proxy::SerializedVar /* var */, 676 pp::proxy::SerializedVar /* var */,
678 int /* new_type */, 677 int /* new_type */,
679 pp::proxy::SerializedVar /* exception */, 678 pp::proxy::SerializedVar /* exception */,
680 pp::proxy::SerializedVar /* result */) 679 pp::proxy::SerializedVar /* result */)
681 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVar_DefineProperty,
682 pp::proxy::SerializedVar /* object */,
683 PP_ObjectProperty /* property */,
684 pp::proxy::SerializedVar /* out_exception */)
685 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasProperty, 680 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasProperty,
686 pp::proxy::SerializedVar /* object */, 681 pp::proxy::SerializedVar /* object */,
687 pp::proxy::SerializedVar /* property */, 682 pp::proxy::SerializedVar /* property */,
688 pp::proxy::SerializedVar /* out_exception */, 683 pp::proxy::SerializedVar /* out_exception */,
689 PP_Bool /* result */) 684 PP_Bool /* result */)
690 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasMethodDeprecated, 685 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasMethodDeprecated,
691 pp::proxy::SerializedVar /* object */, 686 pp::proxy::SerializedVar /* object */,
692 pp::proxy::SerializedVar /* method */, 687 pp::proxy::SerializedVar /* method */,
693 pp::proxy::SerializedVar /* out_exception */, 688 pp::proxy::SerializedVar /* out_exception */,
694 PP_Bool /* result */) 689 PP_Bool /* result */)
695 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_GetProperty, 690 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_GetProperty,
696 pp::proxy::SerializedVar /* object */, 691 pp::proxy::SerializedVar /* object */,
697 pp::proxy::SerializedVar /* property */, 692 pp::proxy::SerializedVar /* property */,
698 pp::proxy::SerializedVar /* out_exception */, 693 pp::proxy::SerializedVar /* out_exception */,
699 pp::proxy::SerializedVar /* result */) 694 pp::proxy::SerializedVar /* result */)
700 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_DeleteProperty, 695 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_DeleteProperty,
701 pp::proxy::SerializedVar /* object */, 696 pp::proxy::SerializedVar /* object */,
702 pp::proxy::SerializedVar /* property */, 697 pp::proxy::SerializedVar /* property */,
703 pp::proxy::SerializedVar /* out_exception */, 698 pp::proxy::SerializedVar /* out_exception */,
704 PP_Bool /* result */) 699 PP_Bool /* result */)
705 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBVar_EnumerateProperties, 700 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBVar_EnumerateProperties,
706 pp::proxy::SerializedVar /* object */, 701 pp::proxy::SerializedVar /* object */,
707 std::vector<pp::proxy::SerializedVar> /* props */, 702 std::vector<pp::proxy::SerializedVar> /* props */,
708 pp::proxy::SerializedVar /* out_exception */) 703 pp::proxy::SerializedVar /* out_exception */)
709 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_SetPropertyDeprecated, 704 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_SetPropertyDeprecated,
710 pp::proxy::SerializedVar /* object */, 705 pp::proxy::SerializedVar /* object */,
711 pp::proxy::SerializedVar /* name */, 706 pp::proxy::SerializedVar /* name */,
712 pp::proxy::SerializedVar /* value */, 707 pp::proxy::SerializedVar /* value */,
713 pp::proxy::SerializedVar /* out_exception */) 708 pp::proxy::SerializedVar /* out_exception */)
714 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVar_IsCallable,
715 pp::proxy::SerializedVar /* object */,
716 PP_Bool /* result */)
717 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBVar_Call,
718 pp::proxy::SerializedVar /* object */,
719 pp::proxy::SerializedVar /* this_object */,
720 pp::proxy::SerializedVar /* method_name */,
721 std::vector<pp::proxy::SerializedVar> /* args */,
722 pp::proxy::SerializedVar /* out_exception */,
723 pp::proxy::SerializedVar /* result */)
724 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_CallDeprecated, 709 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_CallDeprecated,
725 pp::proxy::SerializedVar /* object */, 710 pp::proxy::SerializedVar /* object */,
726 pp::proxy::SerializedVar /* method_name */, 711 pp::proxy::SerializedVar /* method_name */,
727 std::vector<pp::proxy::SerializedVar> /* args */, 712 std::vector<pp::proxy::SerializedVar> /* args */,
728 pp::proxy::SerializedVar /* out_exception */, 713 pp::proxy::SerializedVar /* out_exception */,
729 pp::proxy::SerializedVar /* result */) 714 pp::proxy::SerializedVar /* result */)
730 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_Construct, 715 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_Construct,
731 pp::proxy::SerializedVar /* object */, 716 pp::proxy::SerializedVar /* object */,
732 std::vector<pp::proxy::SerializedVar> /* args */, 717 std::vector<pp::proxy::SerializedVar> /* args */,
733 pp::proxy::SerializedVar /* out_exception */, 718 pp::proxy::SerializedVar /* out_exception */,
734 pp::proxy::SerializedVar /* result */) 719 pp::proxy::SerializedVar /* result */)
735 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, 720 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated,
736 pp::proxy::SerializedVar /* var */, 721 pp::proxy::SerializedVar /* var */,
737 int64 /* object_class */, 722 int64 /* object_class */,
738 int64 /* object-data */, 723 int64 /* object-data */,
739 PP_Bool /* result */) 724 PP_Bool /* result */)
740 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 725 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
741 PP_Instance /* instance */, 726 PP_Instance /* instance */,
742 int64 /* object_class */, 727 int64 /* object_class */,
743 int64 /* object_data */, 728 int64 /* object_data */,
744 pp::proxy::SerializedVar /* result */) 729 pp::proxy::SerializedVar /* result */)
OLDNEW
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698