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

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

Issue 6282007: First pass at making the proxy handle multiple renderers. This associates the... (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_cursor_control_proxy.cc ('k') | ppapi/proxy/ppb_flash_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_FLASH_PROXY_H_ 5 #ifndef PPAPI_PPB_FLASH_PROXY_H_
6 #define PPAPI_PPB_FLASH_PROXY_H_ 6 #define PPAPI_PPB_FLASH_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 34
35 // InterfaceProxy implementation. 35 // InterfaceProxy implementation.
36 virtual const void* GetSourceInterface() const; 36 virtual const void* GetSourceInterface() const;
37 virtual InterfaceID GetInterfaceId() const; 37 virtual InterfaceID GetInterfaceId() const;
38 virtual bool OnMessageReceived(const IPC::Message& msg); 38 virtual bool OnMessageReceived(const IPC::Message& msg);
39 39
40 private: 40 private:
41 // Message handlers. 41 // Message handlers.
42 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance, 42 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance,
43 bool on_top); 43 PP_Bool on_top);
44 void OnMsgDrawGlyphs(const pp::proxy::PPBFlash_DrawGlyphs_Params& params, 44 void OnMsgDrawGlyphs(const pp::proxy::PPBFlash_DrawGlyphs_Params& params,
45 bool* result); 45 PP_Bool* result);
46 void OnMsgGetProxyForURL(PP_Instance instance, 46 void OnMsgGetProxyForURL(PP_Instance instance,
47 const std::string& url, 47 const std::string& url,
48 SerializedVarReturnValue result); 48 SerializedVarReturnValue result);
49 void OnMsgOpenModuleLocalFile(PP_Instance instance, 49 void OnMsgOpenModuleLocalFile(PP_Instance instance,
50 const std::string& path, 50 const std::string& path,
51 int32_t mode, 51 int32_t mode,
52 IPC::PlatformFileForTransit* file_handle, 52 IPC::PlatformFileForTransit* file_handle,
53 int32_t* result); 53 int32_t* result);
54 void OnMsgRenameModuleLocalFile(PP_Instance instance, 54 void OnMsgRenameModuleLocalFile(PP_Instance instance,
55 const std::string& path_from, 55 const std::string& path_from,
56 const std::string& path_to, 56 const std::string& path_to,
57 int32_t* result); 57 int32_t* result);
58 void OnMsgDeleteModuleLocalFileOrDir(PP_Instance instance, 58 void OnMsgDeleteModuleLocalFileOrDir(PP_Instance instance,
59 const std::string& path, 59 const std::string& path,
60 bool recursive, 60 PP_Bool recursive,
61 int32_t* result); 61 int32_t* result);
62 void OnMsgCreateModuleLocalDir(PP_Instance instance, 62 void OnMsgCreateModuleLocalDir(PP_Instance instance,
63 const std::string& path, 63 const std::string& path,
64 int32_t* result); 64 int32_t* result);
65 void OnMsgQueryModuleLocalFile(PP_Instance instance, 65 void OnMsgQueryModuleLocalFile(PP_Instance instance,
66 const std::string& path, 66 const std::string& path,
67 PP_FileInfo_Dev* info, 67 PP_FileInfo_Dev* info,
68 int32_t* result); 68 int32_t* result);
69 void OnMsgGetModuleLocalDirContents( 69 void OnMsgGetModuleLocalDirContents(
70 PP_Instance instance, 70 PP_Instance instance,
71 const std::string& path, 71 const std::string& path,
72 std::vector<pp::proxy::SerializedDirEntry>* entries, 72 std::vector<pp::proxy::SerializedDirEntry>* entries,
73 int32_t* result); 73 int32_t* result);
74 void OnMsgNavigateToURL(PP_Instance instance, 74 void OnMsgNavigateToURL(PP_Instance instance,
75 const std::string& url, 75 const std::string& url,
76 const std::string& target, 76 const std::string& target,
77 bool* result); 77 PP_Bool* result);
78 }; 78 };
79 79
80 } // namespace proxy 80 } // namespace proxy
81 } // namespace pp 81 } // namespace pp
82 82
83 #endif // PPAPI_PPB_FLASH_PROXY_H_ 83 #endif // PPAPI_PPB_FLASH_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_cursor_control_proxy.cc ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698