Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
|
bbudge
2011/08/16 22:40:49
2011
| |
| 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_PROXY_PPP_CLASS_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPP_CLASS_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_ | 6 #define PPAPI_PROXY_PPP_CLASS_PROXY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "ppapi/c/pp_module.h" | 11 #include "ppapi/c/pp_module.h" |
| 12 #include "ppapi/c/pp_var.h" | 12 #include "ppapi/c/pp_var.h" |
| 13 #include "ppapi/proxy/interface_proxy.h" | 13 #include "ppapi/proxy/interface_proxy.h" |
| 14 | 14 |
| 15 struct PPB_Var_Deprecated; | 15 struct PPB_Var_Deprecated; |
| 16 struct PPP_Class_Deprecated; | 16 struct PPP_Class_Deprecated; |
| 17 | 17 |
| 18 namespace pp { | 18 namespace ppapi { |
| 19 namespace proxy { | 19 namespace proxy { |
| 20 | 20 |
| 21 class SerializedVar; | 21 class SerializedVar; |
| 22 class SerializedVarReceiveInput; | 22 class SerializedVarReceiveInput; |
| 23 class SerializedVarVectorReceiveInput; | 23 class SerializedVarVectorReceiveInput; |
| 24 class SerializedVarOutParam; | 24 class SerializedVarOutParam; |
| 25 class SerializedVarReturnValue; | 25 class SerializedVarReturnValue; |
| 26 | 26 |
| 27 class PPP_Class_Proxy : public InterfaceProxy { | 27 class PPP_Class_Proxy : public InterfaceProxy { |
| 28 public: | 28 public: |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 51 void OnMsgHasMethod(int64 ppp_class, int64 object, | 51 void OnMsgHasMethod(int64 ppp_class, int64 object, |
| 52 SerializedVarReceiveInput property, | 52 SerializedVarReceiveInput property, |
| 53 SerializedVarOutParam exception, | 53 SerializedVarOutParam exception, |
| 54 bool* result); | 54 bool* result); |
| 55 void OnMsgGetProperty(int64 ppp_class, int64 object, | 55 void OnMsgGetProperty(int64 ppp_class, int64 object, |
| 56 SerializedVarReceiveInput property, | 56 SerializedVarReceiveInput property, |
| 57 SerializedVarOutParam exception, | 57 SerializedVarOutParam exception, |
| 58 SerializedVarReturnValue result); | 58 SerializedVarReturnValue result); |
| 59 void OnMsgEnumerateProperties( | 59 void OnMsgEnumerateProperties( |
| 60 int64 ppp_class, int64 object, | 60 int64 ppp_class, int64 object, |
| 61 std::vector<pp::proxy::SerializedVar>* props, | 61 std::vector<SerializedVar>* props, |
| 62 SerializedVarOutParam exception); | 62 SerializedVarOutParam exception); |
| 63 void OnMsgSetProperty(int64 ppp_class, int64 object, | 63 void OnMsgSetProperty(int64 ppp_class, int64 object, |
| 64 SerializedVarReceiveInput property, | 64 SerializedVarReceiveInput property, |
| 65 SerializedVarReceiveInput value, | 65 SerializedVarReceiveInput value, |
| 66 SerializedVarOutParam exception); | 66 SerializedVarOutParam exception); |
| 67 void OnMsgRemoveProperty(int64 ppp_class, int64 object, | 67 void OnMsgRemoveProperty(int64 ppp_class, int64 object, |
| 68 SerializedVarReceiveInput property, | 68 SerializedVarReceiveInput property, |
| 69 SerializedVarOutParam exception); | 69 SerializedVarOutParam exception); |
| 70 void OnMsgCall(int64 ppp_class, int64 object, | 70 void OnMsgCall(int64 ppp_class, int64 object, |
| 71 SerializedVarReceiveInput method_name, | 71 SerializedVarReceiveInput method_name, |
| 72 SerializedVarVectorReceiveInput arg_vector, | 72 SerializedVarVectorReceiveInput arg_vector, |
| 73 SerializedVarOutParam exception, | 73 SerializedVarOutParam exception, |
| 74 SerializedVarReturnValue result); | 74 SerializedVarReturnValue result); |
| 75 void OnMsgConstruct(int64 ppp_class, int64 object, | 75 void OnMsgConstruct(int64 ppp_class, int64 object, |
| 76 SerializedVarVectorReceiveInput arg_vector, | 76 SerializedVarVectorReceiveInput arg_vector, |
| 77 SerializedVarOutParam exception, | 77 SerializedVarOutParam exception, |
| 78 SerializedVarReturnValue result); | 78 SerializedVarReturnValue result); |
| 79 void OnMsgDeallocate(int64 ppp_class, int64 object); | 79 void OnMsgDeallocate(int64 ppp_class, int64 object); |
| 80 | 80 |
| 81 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy); | 81 DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace proxy | 84 } // namespace proxy |
| 85 } // namespace pp | 85 } // namespace ppapi |
| 86 | 86 |
| 87 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_ | 87 #endif // PPAPI_PROXY_PPP_CLASS_PROXY_H_ |
| OLD | NEW |