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

Side by Side Diff: ppapi/proxy/ppp_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, 11 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_url_response_info_proxy.cc ('k') | ppapi/proxy/ppp_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) 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_PROXY_PPP_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPP_INSTANCE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ppapi/c/pp_instance.h" 11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/pp_var.h" 13 #include "ppapi/c/pp_var.h"
14 #include "ppapi/proxy/host_resource.h"
14 #include "ppapi/proxy/interface_proxy.h" 15 #include "ppapi/proxy/interface_proxy.h"
15 16
16 struct PP_InputEvent; 17 struct PP_InputEvent;
17 struct PP_Rect; 18 struct PP_Rect;
18 struct PPP_Instance; 19 struct PPP_Instance;
19 20
20 namespace pp { 21 namespace pp {
21 namespace proxy { 22 namespace proxy {
22 23
23 class SerializedVarReturnValue; 24 class SerializedVarReturnValue;
(...skipping 20 matching lines...) Expand all
44 PP_Bool* result); 45 PP_Bool* result);
45 void OnMsgDidDestroy(PP_Instance instance); 46 void OnMsgDidDestroy(PP_Instance instance);
46 void OnMsgDidChangeView(PP_Instance instance, 47 void OnMsgDidChangeView(PP_Instance instance,
47 const PP_Rect& position, 48 const PP_Rect& position,
48 const PP_Rect& clip); 49 const PP_Rect& clip);
49 void OnMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus); 50 void OnMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus);
50 void OnMsgHandleInputEvent(PP_Instance instance, 51 void OnMsgHandleInputEvent(PP_Instance instance,
51 const PP_InputEvent& event, 52 const PP_InputEvent& event,
52 PP_Bool* result); 53 PP_Bool* result);
53 void OnMsgHandleDocumentLoad(PP_Instance instance, 54 void OnMsgHandleDocumentLoad(PP_Instance instance,
54 PP_Resource url_loader, 55 const HostResource& url_loader,
55 PP_Bool* result); 56 PP_Bool* result);
56 void OnMsgGetInstanceObject(PP_Instance instance, 57 void OnMsgGetInstanceObject(PP_Instance instance,
57 SerializedVarReturnValue result); 58 SerializedVarReturnValue result);
58 }; 59 };
59 60
60 } // namespace proxy 61 } // namespace proxy
61 } // namespace pp 62 } // namespace pp
62 63
63 #endif // PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ 64 #endif // PPAPI_PROXY_PPP_INSTANCE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_url_response_info_proxy.cc ('k') | ppapi/proxy/ppp_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698