OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 21 matching lines...) Expand all Loading... | |
32 explicit ResourceCreationProxy(Dispatcher* dispatcher); | 32 explicit ResourceCreationProxy(Dispatcher* dispatcher); |
33 virtual ~ResourceCreationProxy(); | 33 virtual ~ResourceCreationProxy(); |
34 | 34 |
35 // Factory function used for registration (normal code can just use the | 35 // Factory function used for registration (normal code can just use the |
36 // constructor). | 36 // constructor). |
37 static InterfaceProxy* Create(Dispatcher* dispatcher); | 37 static InterfaceProxy* Create(Dispatcher* dispatcher); |
38 | 38 |
39 // ResourceCreationAPI (called in plugin). | 39 // ResourceCreationAPI (called in plugin). |
40 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, | 40 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, |
41 PP_Resource directory_ref) OVERRIDE; | 41 PP_Resource directory_ref) OVERRIDE; |
42 virtual PP_Resource CreateExtCrxFileSystemPrivate(PP_Instance instance) | |
yzshen1
2013/05/06 17:34:57
As I said, I don't think you still need this. (And
victorhsieh
2013/05/06 18:32:02
Done.
| |
43 OVERRIDE; | |
42 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 44 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
43 virtual PP_Resource CreateFileRef(PP_Instance instance, | 45 virtual PP_Resource CreateFileRef(PP_Instance instance, |
44 PP_Resource file_system, | 46 PP_Resource file_system, |
45 const char* path) OVERRIDE; | 47 const char* path) OVERRIDE; |
46 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 48 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
47 PP_FileSystemType type) OVERRIDE; | 49 PP_FileSystemType type) OVERRIDE; |
50 virtual PP_Resource CreateIsolatedFileSystem( | |
51 PP_Instance instance, | |
52 const char* fsid) OVERRIDE; | |
48 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 53 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
49 PP_InputEvent_Type type, | 54 PP_InputEvent_Type type, |
50 PP_TimeTicks time_stamp, | 55 PP_TimeTicks time_stamp, |
51 struct PP_Var text, | 56 struct PP_Var text, |
52 uint32_t segment_number, | 57 uint32_t segment_number, |
53 const uint32_t* segment_offsets, | 58 const uint32_t* segment_offsets, |
54 int32_t target_segment, | 59 int32_t target_segment, |
55 uint32_t selection_start, | 60 uint32_t selection_start, |
56 uint32_t selection_end) OVERRIDE; | 61 uint32_t selection_end) OVERRIDE; |
57 virtual PP_Resource CreateKeyboardInputEvent( | 62 virtual PP_Resource CreateKeyboardInputEvent( |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
169 | 174 |
170 private: | 175 private: |
171 Connection GetConnection(); | 176 Connection GetConnection(); |
172 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 177 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
173 }; | 178 }; |
174 | 179 |
175 } // namespace proxy | 180 } // namespace proxy |
176 } // namespace ppapi | 181 } // namespace ppapi |
177 | 182 |
178 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 183 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |