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 // Please see inteface_ppb_public_stable for the documentation on the format of | 5 // Please see inteface_ppb_public_stable for the documentation on the format of |
6 // this file. | 6 // this file. |
7 | 7 |
8 #include "ppapi/thunk/interfaces_preamble.h" | 8 #include "ppapi/thunk/interfaces_preamble.h" |
9 | 9 |
10 PROXIED_API(PPB_Broker) | 10 PROXIED_API(PPB_Broker) |
11 PROXIED_API(PPB_TCPSocket_Private) | 11 PROXIED_API(PPB_TCPSocket_Private) |
12 PROXIED_API(PPB_UDPSocket_Private) | 12 PROXIED_API(PPB_UDPSocket_Private) |
13 | 13 |
14 PROXIED_IFACE(PPB_Broker, PPB_BROKER_TRUSTED_INTERFACE_0_2, | 14 PROXIED_IFACE(PPB_Broker, PPB_BROKER_TRUSTED_INTERFACE_0_2, |
15 PPB_BrokerTrusted_0_2) | 15 PPB_BrokerTrusted_0_2) |
| 16 PROXIED_IFACE(PPB_Instance, PPB_BROWSERFONT_TRUSTED_INTERFACE_1_0, |
| 17 PPB_BrowserFont_Trusted_1_0) |
16 PROXIED_IFACE(PPB_Instance, PPB_CHARSET_TRUSTED_INTERFACE_1_0, | 18 PROXIED_IFACE(PPB_Instance, PPB_CHARSET_TRUSTED_INTERFACE_1_0, |
17 PPB_CharSet_Trusted_1_0) | 19 PPB_CharSet_Trusted_1_0) |
18 PROXIED_IFACE(PPB_FileRef, PPB_FILEREFPRIVATE_INTERFACE_0_1, | 20 PROXIED_IFACE(PPB_FileRef, PPB_FILEREFPRIVATE_INTERFACE_0_1, |
19 PPB_FileRefPrivate_0_1) | 21 PPB_FileRefPrivate_0_1) |
20 // This uses the FileIO API which is declared in the public stable file. | 22 // This uses the FileIO API which is declared in the public stable file. |
21 PROXIED_IFACE(PPB_FileIO, PPB_FILEIOTRUSTED_INTERFACE_0_4, | 23 PROXIED_IFACE(PPB_FileIO, PPB_FILEIOTRUSTED_INTERFACE_0_4, |
22 PPB_FileIOTrusted_0_4) | 24 PPB_FileIOTrusted_0_4) |
23 PROXIED_IFACE(PPB_Instance, PPB_FLASHFULLSCREEN_INTERFACE_0_1, | 25 PROXIED_IFACE(PPB_Instance, PPB_FLASHFULLSCREEN_INTERFACE_0_1, |
24 PPB_FlashFullscreen_0_1) | 26 PPB_FlashFullscreen_0_1) |
25 PROXIED_IFACE(NoAPIName, PPB_NETADDRESS_PRIVATE_INTERFACE_0_1, | 27 PROXIED_IFACE(NoAPIName, PPB_NETADDRESS_PRIVATE_INTERFACE_0_1, |
26 PPB_NetAddress_Private_0_1) | 28 PPB_NetAddress_Private_0_1) |
27 PROXIED_IFACE(NoAPIName, PPB_NETADDRESS_PRIVATE_INTERFACE_1_0, | 29 PROXIED_IFACE(NoAPIName, PPB_NETADDRESS_PRIVATE_INTERFACE_1_0, |
28 PPB_NetAddress_Private_1_0) | 30 PPB_NetAddress_Private_1_0) |
29 PROXIED_IFACE(PPB_TCPSocket_Private, PPB_TCPSOCKET_PRIVATE_INTERFACE_0_3, | 31 PROXIED_IFACE(PPB_TCPSocket_Private, PPB_TCPSOCKET_PRIVATE_INTERFACE_0_3, |
30 PPB_TCPSocket_Private_0_3) | 32 PPB_TCPSocket_Private_0_3) |
31 PROXIED_IFACE(PPB_UDPSocket_Private, PPB_UDPSOCKET_PRIVATE_INTERFACE_0_2, | 33 PROXIED_IFACE(PPB_UDPSocket_Private, PPB_UDPSOCKET_PRIVATE_INTERFACE_0_2, |
32 PPB_UDPSocket_Private_0_2) | 34 PPB_UDPSocket_Private_0_2) |
33 | 35 |
| 36 // Hack to keep font working. The Font 0.6 API is binary compatible with |
| 37 // BrowserFont 1.0, so just map the string to the same thing. |
| 38 // TODO(brettw) remove support for the old Font API. |
| 39 PROXIED_IFACE(PPB_Instance, PPB_FONT_DEV_INTERFACE_0_6, |
| 40 PPB_BrowserFont_Trusted_1_0) |
| 41 |
34 #include "ppapi/thunk/interfaces_postamble.h" | 42 #include "ppapi/thunk/interfaces_postamble.h" |
OLD | NEW |