| 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_THUNK_PPB_FLASH_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_FLASH_API_H_ |
| 6 #define PPAPI_THUNK_PPB_FLASH_API_H_ | 6 #define PPAPI_THUNK_PPB_FLASH_API_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/private/ppb_flash.h" | 8 #include "ppapi/c/private/ppb_flash.h" |
| 9 #include "ppapi/c/private/ppb_flash_clipboard.h" | 9 #include "ppapi/c/private/ppb_flash_clipboard.h" |
| 10 #include "ppapi/c/private/ppb_flash_file.h" | 10 #include "ppapi/c/private/ppb_flash_file.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 PP_Bool recursive) = 0; | 74 PP_Bool recursive) = 0; |
| 75 virtual int32_t CreateDir(PP_Instance instance, const char* path) = 0; | 75 virtual int32_t CreateDir(PP_Instance instance, const char* path) = 0; |
| 76 virtual int32_t QueryFile(PP_Instance instance, | 76 virtual int32_t QueryFile(PP_Instance instance, |
| 77 const char* path, | 77 const char* path, |
| 78 PP_FileInfo* info) = 0; | 78 PP_FileInfo* info) = 0; |
| 79 virtual int32_t GetDirContents(PP_Instance instance, | 79 virtual int32_t GetDirContents(PP_Instance instance, |
| 80 const char* path, | 80 const char* path, |
| 81 PP_DirContents_Dev** contents) = 0; | 81 PP_DirContents_Dev** contents) = 0; |
| 82 virtual void FreeDirContents(PP_Instance instance, | 82 virtual void FreeDirContents(PP_Instance instance, |
| 83 PP_DirContents_Dev* contents) = 0; | 83 PP_DirContents_Dev* contents) = 0; |
| 84 virtual int32_t CreateTemporaryFile(PP_Instance instance, |
| 85 PP_FileHandle* file) = 0; |
| 84 | 86 |
| 85 // FlashFile_FileRef. | 87 // FlashFile_FileRef. |
| 86 virtual int32_t OpenFileRef(PP_Instance instance, | 88 virtual int32_t OpenFileRef(PP_Instance instance, |
| 87 PP_Resource file_ref, | 89 PP_Resource file_ref, |
| 88 int32_t mode, | 90 int32_t mode, |
| 89 PP_FileHandle* file) = 0; | 91 PP_FileHandle* file) = 0; |
| 90 virtual int32_t QueryFileRef(PP_Instance instance, | 92 virtual int32_t QueryFileRef(PP_Instance instance, |
| 91 PP_Resource file_ref, | 93 PP_Resource file_ref, |
| 92 PP_FileInfo* info) = 0; | 94 PP_FileInfo* info) = 0; |
| 93 | 95 |
| 94 // FlashFullscreen. | 96 // FlashFullscreen. |
| 95 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | 97 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; |
| 96 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 98 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
| 97 PP_Bool fullscreen) = 0; | 99 PP_Bool fullscreen) = 0; |
| 98 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 100 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 99 }; | 101 }; |
| 100 | 102 |
| 101 } // namespace thunk | 103 } // namespace thunk |
| 102 } // namespace ppapi | 104 } // namespace ppapi |
| 103 | 105 |
| 104 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ | 106 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ |
| OLD | NEW |