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 25 matching lines...) Expand all Loading... |
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 CreateFileIO(PP_Instance instance) OVERRIDE; | 40 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
41 virtual PP_Resource CreateFileRef(PP_Instance instance, | 41 virtual PP_Resource CreateFileRef(PP_Instance instance, |
42 PP_Resource file_system, | 42 PP_Resource file_system, |
43 const char* path) OVERRIDE; | 43 const char* path) OVERRIDE; |
44 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 44 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
45 PP_FileSystemType type) OVERRIDE; | 45 PP_FileSystemType type) OVERRIDE; |
| 46 virtual PP_Resource CreateIsolatedFileSystem( |
| 47 PP_Instance instance, |
| 48 const char* fsid) OVERRIDE; |
46 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 49 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
47 PP_InputEvent_Type type, | 50 PP_InputEvent_Type type, |
48 PP_TimeTicks time_stamp, | 51 PP_TimeTicks time_stamp, |
49 struct PP_Var text, | 52 struct PP_Var text, |
50 uint32_t segment_number, | 53 uint32_t segment_number, |
51 const uint32_t* segment_offsets, | 54 const uint32_t* segment_offsets, |
52 int32_t target_segment, | 55 int32_t target_segment, |
53 uint32_t selection_start, | 56 uint32_t selection_start, |
54 uint32_t selection_end) OVERRIDE; | 57 uint32_t selection_end) OVERRIDE; |
55 virtual PP_Resource CreateKeyboardInputEvent( | 58 virtual PP_Resource CreateKeyboardInputEvent( |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 172 |
170 private: | 173 private: |
171 Connection GetConnection(); | 174 Connection GetConnection(); |
172 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 175 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
173 }; | 176 }; |
174 | 177 |
175 } // namespace proxy | 178 } // namespace proxy |
176 } // namespace ppapi | 179 } // namespace ppapi |
177 | 180 |
178 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 181 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |