| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_THUNK_H_ | 5 #ifndef PPAPI_THUNK_THUNK_H_ |
| 6 #define PPAPI_THUNK_THUNK_H_ | 6 #define PPAPI_THUNK_THUNK_H_ |
| 7 | 7 |
| 8 #include "ppapi/thunk/ppapi_thunk_export.h" | 8 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 9 | 9 |
| 10 // Declares a getter for the interface thunk of the form: | 10 // Declares a getter for the interface thunk of the form: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #undef UNPROXIED_IFACE | 26 #undef UNPROXIED_IFACE |
| 27 #undef PROXIED_IFACE | 27 #undef PROXIED_IFACE |
| 28 #undef IFACE | 28 #undef IFACE |
| 29 | 29 |
| 30 struct PPB_AudioTrusted; | 30 struct PPB_AudioTrusted; |
| 31 struct PPB_BrokerTrusted; | 31 struct PPB_BrokerTrusted; |
| 32 struct PPB_BufferTrusted; | 32 struct PPB_BufferTrusted; |
| 33 struct PPB_Context3DTrusted_Dev; | 33 struct PPB_Context3DTrusted_Dev; |
| 34 struct PPB_FileChooserTrusted; | 34 struct PPB_FileChooserTrusted; |
| 35 struct PPB_FileIOTrusted; | 35 struct PPB_FileIOTrusted; |
| 36 struct PPB_Flash_Clipboard; |
| 36 struct PPB_Flash_Menu; | 37 struct PPB_Flash_Menu; |
| 37 struct PPB_Flash_NetConnector; | 38 struct PPB_Flash_NetConnector; |
| 38 struct PPB_Flash_TCPSocket; | 39 struct PPB_Flash_TCPSocket; |
| 39 struct PPB_Flash_UDPSocket; | 40 struct PPB_Flash_UDPSocket; |
| 40 struct PPB_Graphics3D; | 41 struct PPB_Graphics3D; |
| 41 struct PPB_Graphics3DTrusted; | 42 struct PPB_Graphics3DTrusted; |
| 42 struct PPB_ImageDataTrusted; | 43 struct PPB_ImageDataTrusted; |
| 43 struct PPB_Instance_Private; | 44 struct PPB_Instance_Private; |
| 44 struct PPB_URLLoaderTrusted; | 45 struct PPB_URLLoaderTrusted; |
| 45 | 46 |
| 46 typedef PPB_Instance PPB_Instance_1_0; | 47 typedef PPB_Instance PPB_Instance_1_0; |
| 47 | 48 |
| 48 namespace ppapi { | 49 namespace ppapi { |
| 49 namespace thunk { | 50 namespace thunk { |
| 50 | 51 |
| 51 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't | 52 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't |
| 52 // yet been converted to the new system). Otherwise, add the declaration to | 53 // yet been converted to the new system). Otherwise, add the declaration to |
| 53 // the appropriate interfaces_*.h file. | 54 // the appropriate interfaces_*.h file. |
| 54 PPAPI_THUNK_EXPORT const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); | 55 PPAPI_THUNK_EXPORT const PPB_AudioTrusted* GetPPB_AudioTrusted_Thunk(); |
| 55 PPAPI_THUNK_EXPORT const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); | 56 PPAPI_THUNK_EXPORT const PPB_BrokerTrusted* GetPPB_Broker_Thunk(); |
| 56 PPAPI_THUNK_EXPORT const PPB_BufferTrusted* GetPPB_BufferTrusted_Thunk(); | 57 PPAPI_THUNK_EXPORT const PPB_BufferTrusted* GetPPB_BufferTrusted_Thunk(); |
| 57 PPAPI_THUNK_EXPORT const PPB_Context3DTrusted_Dev* | 58 PPAPI_THUNK_EXPORT const PPB_Context3DTrusted_Dev* |
| 58 GetPPB_Context3DTrusted_Thunk(); | 59 GetPPB_Context3DTrusted_Thunk(); |
| 59 PPAPI_THUNK_EXPORT const PPB_FileChooserTrusted* | 60 PPAPI_THUNK_EXPORT const PPB_FileChooserTrusted* |
| 60 GetPPB_FileChooser_Trusted_Thunk(); | 61 GetPPB_FileChooser_Trusted_Thunk(); |
| 61 PPAPI_THUNK_EXPORT const PPB_FileIOTrusted* GetPPB_FileIOTrusted_Thunk(); | 62 PPAPI_THUNK_EXPORT const PPB_FileIOTrusted* GetPPB_FileIOTrusted_Thunk(); |
| 63 PPAPI_THUNK_EXPORT const PPB_Flash_Clipboard* GetPPB_Flash_Clipboard_Thunk(); |
| 62 PPAPI_THUNK_EXPORT const PPB_Flash_Menu* GetPPB_Flash_Menu_Thunk(); | 64 PPAPI_THUNK_EXPORT const PPB_Flash_Menu* GetPPB_Flash_Menu_Thunk(); |
| 63 PPAPI_THUNK_EXPORT const PPB_Flash_NetConnector* | 65 PPAPI_THUNK_EXPORT const PPB_Flash_NetConnector* |
| 64 GetPPB_Flash_NetConnector_Thunk(); | 66 GetPPB_Flash_NetConnector_Thunk(); |
| 65 PPAPI_THUNK_EXPORT const PPB_Flash_TCPSocket* GetPPB_Flash_TCPSocket_Thunk(); | 67 PPAPI_THUNK_EXPORT const PPB_Flash_TCPSocket* GetPPB_Flash_TCPSocket_Thunk(); |
| 66 PPAPI_THUNK_EXPORT const PPB_Flash_UDPSocket* GetPPB_Flash_UDPSocket_Thunk(); | 68 PPAPI_THUNK_EXPORT const PPB_Flash_UDPSocket* GetPPB_Flash_UDPSocket_Thunk(); |
| 67 PPAPI_THUNK_EXPORT const PPB_Graphics3DTrusted* | 69 PPAPI_THUNK_EXPORT const PPB_Graphics3DTrusted* |
| 68 GetPPB_Graphics3DTrusted_Thunk(); | 70 GetPPB_Graphics3DTrusted_Thunk(); |
| 69 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); | 71 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); |
| 70 PPAPI_THUNK_EXPORT const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); | 72 PPAPI_THUNK_EXPORT const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); |
| 71 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); | 73 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted* GetPPB_URLLoaderTrusted_Thunk(); |
| 72 | 74 |
| 73 } // namespace thunk | 75 } // namespace thunk |
| 74 } // namespace ppapi | 76 } // namespace ppapi |
| 75 | 77 |
| 76 #endif // PPAPI_THUNK_THUNK_H_ | 78 #endif // PPAPI_THUNK_THUNK_H_ |
| OLD | NEW |