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

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

Issue 6334016: Refactor PPAPI proxy resource handling to maintain which host they came from,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/ppb_instance_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) 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_PROXY_PPB_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
10 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
11 #include "ppapi/proxy/host_resource.h"
11 #include "ppapi/proxy/interface_proxy.h" 12 #include "ppapi/proxy/interface_proxy.h"
12 13
13 struct PPB_Instance; 14 struct PPB_Instance;
14 15
15 namespace pp { 16 namespace pp {
16 namespace proxy { 17 namespace proxy {
17 18
18 class SerializedVarReceiveInput; 19 class SerializedVarReceiveInput;
19 class SerializedVarOutParam; 20 class SerializedVarOutParam;
20 class SerializedVarReturnValue; 21 class SerializedVarReturnValue;
(...skipping 12 matching lines...) Expand all
33 virtual InterfaceID GetInterfaceId() const; 34 virtual InterfaceID GetInterfaceId() const;
34 virtual bool OnMessageReceived(const IPC::Message& msg); 35 virtual bool OnMessageReceived(const IPC::Message& msg);
35 36
36 private: 37 private:
37 // Message handlers. 38 // Message handlers.
38 void OnMsgGetWindowObject(PP_Instance instance, 39 void OnMsgGetWindowObject(PP_Instance instance,
39 SerializedVarReturnValue result); 40 SerializedVarReturnValue result);
40 void OnMsgGetOwnerElementObject(PP_Instance instance, 41 void OnMsgGetOwnerElementObject(PP_Instance instance,
41 SerializedVarReturnValue result); 42 SerializedVarReturnValue result);
42 void OnMsgBindGraphics(PP_Instance instance, 43 void OnMsgBindGraphics(PP_Instance instance,
43 PP_Resource device, 44 HostResource device,
44 PP_Bool* result); 45 PP_Bool* result);
45 void OnMsgIsFullFrame(PP_Instance instance, PP_Bool* result); 46 void OnMsgIsFullFrame(PP_Instance instance, PP_Bool* result);
46 void OnMsgExecuteScript(PP_Instance instance, 47 void OnMsgExecuteScript(PP_Instance instance,
47 SerializedVarReceiveInput script, 48 SerializedVarReceiveInput script,
48 SerializedVarOutParam out_exception, 49 SerializedVarOutParam out_exception,
49 SerializedVarReturnValue result); 50 SerializedVarReturnValue result);
50 }; 51 };
51 52
52 } // namespace proxy 53 } // namespace proxy
53 } // namespace pp 54 } // namespace pp
54 55
55 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 56 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698