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