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_file.h" | 9 #include "ppapi/c/private/ppb_flash_file.h" |
10 #include "ppapi/thunk/ppapi_thunk_export.h" | 10 #include "ppapi/thunk/ppapi_thunk_export.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 PP_FileHandle* file) = 0; | 88 PP_FileHandle* file) = 0; |
89 | 89 |
90 // FlashFile_FileRef. | 90 // FlashFile_FileRef. |
91 virtual int32_t OpenFileRef(PP_Instance instance, | 91 virtual int32_t OpenFileRef(PP_Instance instance, |
92 PP_Resource file_ref, | 92 PP_Resource file_ref, |
93 int32_t mode, | 93 int32_t mode, |
94 PP_FileHandle* file) = 0; | 94 PP_FileHandle* file) = 0; |
95 virtual int32_t QueryFileRef(PP_Instance instance, | 95 virtual int32_t QueryFileRef(PP_Instance instance, |
96 PP_Resource file_ref, | 96 PP_Resource file_ref, |
97 PP_FileInfo* info) = 0; | 97 PP_FileInfo* info) = 0; |
98 | |
99 // FlashFullscreen. | |
100 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | |
101 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | |
102 PP_Bool fullscreen) = 0; | |
103 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | |
104 }; | 98 }; |
105 | 99 |
106 } // namespace thunk | 100 } // namespace thunk |
107 } // namespace ppapi | 101 } // namespace ppapi |
108 | 102 |
109 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ | 103 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ |
OLD | NEW |