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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 PP_FileHandle* file) = 0; | 93 PP_FileHandle* file) = 0; |
94 | 94 |
95 // FlashFile_FileRef. | 95 // FlashFile_FileRef. |
96 virtual int32_t OpenFileRef(PP_Instance instance, | 96 virtual int32_t OpenFileRef(PP_Instance instance, |
97 PP_Resource file_ref, | 97 PP_Resource file_ref, |
98 int32_t mode, | 98 int32_t mode, |
99 PP_FileHandle* file) = 0; | 99 PP_FileHandle* file) = 0; |
100 virtual int32_t QueryFileRef(PP_Instance instance, | 100 virtual int32_t QueryFileRef(PP_Instance instance, |
101 PP_Resource file_ref, | 101 PP_Resource file_ref, |
102 PP_FileInfo* info) = 0; | 102 PP_FileInfo* info) = 0; |
103 | |
104 // FlashFullscreen. | |
105 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | |
106 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | |
107 PP_Bool fullscreen) = 0; | |
108 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | |
109 }; | 103 }; |
110 | 104 |
111 } // namespace thunk | 105 } // namespace thunk |
112 } // namespace ppapi | 106 } // namespace ppapi |
113 | 107 |
114 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ | 108 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ |
OLD | NEW |