| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROXY_H_ | 5 #ifndef PPAPI_PPB_VAR_PROXY_H_ |
| 6 #define PPAPI_PPB_VAR_PROXY_H_ | 6 #define PPAPI_PPB_VAR_PROXY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 const void* target_interface); | 30 const void* target_interface); |
| 31 virtual ~PPB_Var_Deprecated_Proxy(); | 31 virtual ~PPB_Var_Deprecated_Proxy(); |
| 32 | 32 |
| 33 const PPB_Var_Deprecated* ppb_var_target() const { | 33 const PPB_Var_Deprecated* ppb_var_target() const { |
| 34 return reinterpret_cast<const PPB_Var_Deprecated*>(target_interface()); | 34 return reinterpret_cast<const PPB_Var_Deprecated*>(target_interface()); |
| 35 } | 35 } |
| 36 | 36 |
| 37 // InterfaceProxy implementation. | 37 // InterfaceProxy implementation. |
| 38 virtual const void* GetSourceInterface() const; | 38 virtual const void* GetSourceInterface() const; |
| 39 virtual InterfaceID GetInterfaceId() const; | 39 virtual InterfaceID GetInterfaceId() const; |
| 40 virtual void OnMessageReceived(const IPC::Message& msg); | 40 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 // Message handlers. | 43 // Message handlers. |
| 44 void OnMsgHasProperty(SerializedVarReceiveInput var, | 44 void OnMsgHasProperty(SerializedVarReceiveInput var, |
| 45 SerializedVarReceiveInput name, | 45 SerializedVarReceiveInput name, |
| 46 SerializedVarOutParam exception, | 46 SerializedVarOutParam exception, |
| 47 PP_Bool* result); | 47 PP_Bool* result); |
| 48 void OnMsgHasMethodDeprecated(SerializedVarReceiveInput var, | 48 void OnMsgHasMethodDeprecated(SerializedVarReceiveInput var, |
| 49 SerializedVarReceiveInput name, | 49 SerializedVarReceiveInput name, |
| 50 SerializedVarOutParam exception, | 50 SerializedVarOutParam exception, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void OnMsgCreateObjectDeprecated(PP_Module module_id, | 87 void OnMsgCreateObjectDeprecated(PP_Module module_id, |
| 88 int64 ppp_class, | 88 int64 ppp_class, |
| 89 int64 ppp_class_data, | 89 int64 ppp_class_data, |
| 90 SerializedVarReturnValue result); | 90 SerializedVarReturnValue result); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace proxy | 93 } // namespace proxy |
| 94 } // namespace pp | 94 } // namespace pp |
| 95 | 95 |
| 96 #endif // PPAPI_PPB_VAR_PROXY_H_ | 96 #endif // PPAPI_PPB_VAR_PROXY_H_ |
| OLD | NEW |