OLD | NEW |
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 #ifndef PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ | 5 #ifndef PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ |
6 #define PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ | 6 #define PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/task.h" | 10 #include "base/task.h" |
11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
12 #include "ppapi/proxy/interface_proxy.h" | 12 #include "ppapi/proxy/interface_proxy.h" |
13 | 13 |
14 struct PPB_Var_Deprecated; | 14 struct PPB_Var_Deprecated; |
15 | 15 |
16 namespace pp { | 16 namespace ppapi { |
17 namespace proxy { | 17 namespace proxy { |
18 | 18 |
19 class SerializedVar; | 19 class SerializedVar; |
20 class SerializedVarArray; | 20 class SerializedVarArray; |
21 class SerializedVarReceiveInput; | 21 class SerializedVarReceiveInput; |
22 class SerializedVarVectorOutParam; | 22 class SerializedVarVectorOutParam; |
23 class SerializedVarVectorReceiveInput; | 23 class SerializedVarVectorReceiveInput; |
24 class SerializedVarOutParam; | 24 class SerializedVarOutParam; |
25 class SerializedVarReturnValue; | 25 class SerializedVarReturnValue; |
26 | 26 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 SerializedVarReturnValue result); | 75 SerializedVarReturnValue result); |
76 void OnMsgCallDeprecated(SerializedVarReceiveInput object, | 76 void OnMsgCallDeprecated(SerializedVarReceiveInput object, |
77 SerializedVarReceiveInput method_name, | 77 SerializedVarReceiveInput method_name, |
78 SerializedVarVectorReceiveInput arg_vector, | 78 SerializedVarVectorReceiveInput arg_vector, |
79 SerializedVarOutParam exception, | 79 SerializedVarOutParam exception, |
80 SerializedVarReturnValue result); | 80 SerializedVarReturnValue result); |
81 void OnMsgConstruct(SerializedVarReceiveInput var, | 81 void OnMsgConstruct(SerializedVarReceiveInput var, |
82 SerializedVarVectorReceiveInput arg_vector, | 82 SerializedVarVectorReceiveInput arg_vector, |
83 SerializedVarOutParam exception, | 83 SerializedVarOutParam exception, |
84 SerializedVarReturnValue result); | 84 SerializedVarReturnValue result); |
85 void OnMsgIsInstanceOfDeprecated(pp::proxy::SerializedVarReceiveInput var, | 85 void OnMsgIsInstanceOfDeprecated(SerializedVarReceiveInput var, |
86 int64 ppp_class, | 86 int64 ppp_class, |
87 int64* ppp_class_data, | 87 int64* ppp_class_data, |
88 PP_Bool* result); | 88 PP_Bool* result); |
89 void OnMsgCreateObjectDeprecated(PP_Instance instance, | 89 void OnMsgCreateObjectDeprecated(PP_Instance instance, |
90 int64 ppp_class, | 90 int64 ppp_class, |
91 int64 ppp_class_data, | 91 int64 ppp_class_data, |
92 SerializedVarReturnValue result); | 92 SerializedVarReturnValue result); |
93 | 93 |
94 // Call in the host for messages that can be reentered. | 94 // Call in the host for messages that can be reentered. |
95 void SetAllowPluginReentrancy(); | 95 void SetAllowPluginReentrancy(); |
96 | 96 |
97 void DoReleaseObject(int64 object_id); | 97 void DoReleaseObject(int64 object_id); |
98 ScopedRunnableMethodFactory<PPB_Var_Deprecated_Proxy> task_factory_; | 98 ScopedRunnableMethodFactory<PPB_Var_Deprecated_Proxy> task_factory_; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace proxy | 101 } // namespace proxy |
102 } // namespace pp | 102 } // namespace ppapi |
103 | 103 |
104 #endif // PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ | 104 #endif // PPAPI_PPB_VAR_DEPRECATED_PROXY_H_ |
OLD | NEW |