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

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

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/proxy/ppb_url_response_info_proxy.cc ('k') | ppapi/proxy/ppb_var_deprecated_proxy.cc » ('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) 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
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
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_url_response_info_proxy.cc ('k') | ppapi/proxy/ppb_var_deprecated_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698