| 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 22 matching lines...) Expand all Loading... |
| 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 CreateFileIO(PP_Instance instance) OVERRIDE; | 40 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
| 41 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 41 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
| 42 const char* path) OVERRIDE; | 42 const char* path) OVERRIDE; |
| 43 virtual PP_Resource CreateFileRef( |
| 44 const PPB_FileRef_CreateInfo& serialized) OVERRIDE; |
| 43 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 45 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
| 44 PP_FileSystemType type) OVERRIDE; | 46 PP_FileSystemType type) OVERRIDE; |
| 45 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 47 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
| 46 PP_InputEvent_Type type, | 48 PP_InputEvent_Type type, |
| 47 PP_TimeTicks time_stamp, | 49 PP_TimeTicks time_stamp, |
| 48 struct PP_Var text, | 50 struct PP_Var text, |
| 49 uint32_t segment_number, | 51 uint32_t segment_number, |
| 50 const uint32_t* segment_offsets, | 52 const uint32_t* segment_offsets, |
| 51 int32_t target_segment, | 53 int32_t target_segment, |
| 52 uint32_t selection_start, | 54 uint32_t selection_start, |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 167 |
| 166 private: | 168 private: |
| 167 Connection GetConnection(); | 169 Connection GetConnection(); |
| 168 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 170 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 169 }; | 171 }; |
| 170 | 172 |
| 171 } // namespace proxy | 173 } // namespace proxy |
| 172 } // namespace ppapi | 174 } // namespace ppapi |
| 173 | 175 |
| 174 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 176 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |