| 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_PPB_FLASH_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 int format, | 153 int format, |
| 154 bool* result); | 154 bool* result); |
| 155 void OnHostMsgReadClipboardData(PP_Instance instance, | 155 void OnHostMsgReadClipboardData(PP_Instance instance, |
| 156 int clipboard_type, | 156 int clipboard_type, |
| 157 int format, | 157 int format, |
| 158 SerializedVarReturnValue result); | 158 SerializedVarReturnValue result); |
| 159 void OnHostMsgWriteClipboardData(PP_Instance instance, | 159 void OnHostMsgWriteClipboardData(PP_Instance instance, |
| 160 int clipboard_type, | 160 int clipboard_type, |
| 161 const std::vector<int>& formats, | 161 const std::vector<int>& formats, |
| 162 SerializedVarVectorReceiveInput data_items); | 162 SerializedVarVectorReceiveInput data_items); |
| 163 void OnHostMsgOpenFile(PP_Instance instance, | |
| 164 const std::string& path, | |
| 165 int32_t mode, | |
| 166 IPC::PlatformFileForTransit* file_handle, | |
| 167 int32_t* result); | |
| 168 void OnHostMsgRenameFile(PP_Instance instance, | |
| 169 const std::string& path_from, | |
| 170 const std::string& path_to, | |
| 171 int32_t* result); | |
| 172 void OnHostMsgDeleteFileOrDir(PP_Instance instance, | |
| 173 const std::string& path, | |
| 174 PP_Bool recursive, | |
| 175 int32_t* result); | |
| 176 void OnHostMsgCreateDir(PP_Instance instance, | |
| 177 const std::string& path, | |
| 178 int32_t* result); | |
| 179 void OnHostMsgQueryFile(PP_Instance instance, | |
| 180 const std::string& path, | |
| 181 PP_FileInfo* info, | |
| 182 int32_t* result); | |
| 183 void OnHostMsgGetDirContents(PP_Instance instance, | |
| 184 const std::string& path, | |
| 185 std::vector<SerializedDirEntry>* entries, | |
| 186 int32_t* result); | |
| 187 void OnHostMsgOpenFileRef(PP_Instance instance, | 163 void OnHostMsgOpenFileRef(PP_Instance instance, |
| 188 const ppapi::HostResource& host_resource, | 164 const ppapi::HostResource& host_resource, |
| 189 int32_t mode, | 165 int32_t mode, |
| 190 IPC::PlatformFileForTransit* file_handle, | 166 IPC::PlatformFileForTransit* file_handle, |
| 191 int32_t* result); | 167 int32_t* result); |
| 192 void OnHostMsgQueryFileRef(PP_Instance instance, | 168 void OnHostMsgQueryFileRef(PP_Instance instance, |
| 193 const ppapi::HostResource& host_resource, | 169 const ppapi::HostResource& host_resource, |
| 194 PP_FileInfo* info, | 170 PP_FileInfo* info, |
| 195 int32_t* result); | 171 int32_t* result); |
| 196 void OnHostMsgGetDeviceID(PP_Instance instance, | 172 void OnHostMsgGetDeviceID(PP_Instance instance, |
| 197 SerializedVarReturnValue id); | 173 SerializedVarReturnValue id); |
| 198 void OnHostMsgInvokePrinting(PP_Instance instance); | 174 void OnHostMsgInvokePrinting(PP_Instance instance); |
| 199 | 175 |
| 200 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); | 176 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); |
| 201 }; | 177 }; |
| 202 | 178 |
| 203 } // namespace proxy | 179 } // namespace proxy |
| 204 } // namespace ppapi | 180 } // namespace ppapi |
| 205 | 181 |
| 206 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ | 182 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ |
| OLD | NEW |