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 #include "ppapi/thunk/interfaces_preamble.h" | 5 #include "ppapi/thunk/interfaces_preamble.h" |
6 | 6 |
7 // This file contains lists of interfaces. It's intended to be included by | 7 // This file contains lists of interfaces. It's intended to be included by |
8 // another file which defines implementations of the macros. This allows files | 8 // another file which defines implementations of the macros. This allows files |
9 // to do specific registration tasks for each supported interface. | 9 // to do specific registration tasks for each supported interface. |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 // of these macros should handle this case. There can be more than one line | 42 // of these macros should handle this case. There can be more than one line |
43 // referring to the same api_name (typically different versions of the | 43 // referring to the same api_name (typically different versions of the |
44 // same interface). | 44 // same interface). |
45 // | 45 // |
46 // The interface_name is the string that corresponds to the interface. | 46 // The interface_name is the string that corresponds to the interface. |
47 // | 47 // |
48 // The interface_struct is the typename of the struct corresponding to the | 48 // The interface_struct is the typename of the struct corresponding to the |
49 // interface string. | 49 // interface string. |
50 // Note: Core is special and is registered manually. | 50 // Note: Core is special and is registered manually. |
51 PROXIED_IFACE(PPB_Audio, PPB_AUDIO_INTERFACE_1_0, PPB_Audio_1_0) | 51 PROXIED_IFACE(PPB_Audio, PPB_AUDIO_INTERFACE_1_0, PPB_Audio_1_0) |
52 PROXIED_IFACE(PPB_Instance, PPB_CONSOLE_INTERFACE_1_0, PPB_Console_1_0) | |
dmichael (off chromium)
2012/12/04 15:32:33
These should be sorted first by the API key (the f
Nick Bray (chromium)
2012/12/04 23:14:56
Done.
| |
52 PROXIED_IFACE(PPB_FileIO, PPB_FILEIO_INTERFACE_1_0, PPB_FileIO_1_0) | 53 PROXIED_IFACE(PPB_FileIO, PPB_FILEIO_INTERFACE_1_0, PPB_FileIO_1_0) |
53 PROXIED_IFACE(PPB_FileIO, PPB_FILEIO_INTERFACE_1_1, PPB_FileIO_1_1) | 54 PROXIED_IFACE(PPB_FileIO, PPB_FILEIO_INTERFACE_1_1, PPB_FileIO_1_1) |
54 PROXIED_IFACE(PPB_FileRef, PPB_FILEREF_INTERFACE_1_0, PPB_FileRef_1_0) | 55 PROXIED_IFACE(PPB_FileRef, PPB_FILEREF_INTERFACE_1_0, PPB_FileRef_1_0) |
55 PROXIED_IFACE(PPB_FileSystem, PPB_FILESYSTEM_INTERFACE_1_0, PPB_FileSystem_1_0) | 56 PROXIED_IFACE(PPB_FileSystem, PPB_FILESYSTEM_INTERFACE_1_0, PPB_FileSystem_1_0) |
56 PROXIED_IFACE(PPB_Graphics2D, PPB_GRAPHICS_2D_INTERFACE_1_0, PPB_Graphics2D_1_0) | 57 PROXIED_IFACE(PPB_Graphics2D, PPB_GRAPHICS_2D_INTERFACE_1_0, PPB_Graphics2D_1_0) |
57 PROXIED_IFACE(PPB_Graphics3D, PPB_GRAPHICS_3D_INTERFACE_1_0, PPB_Graphics3D_1_0) | 58 PROXIED_IFACE(PPB_Graphics3D, PPB_GRAPHICS_3D_INTERFACE_1_0, PPB_Graphics3D_1_0) |
58 PROXIED_IFACE(PPB_ImageData, PPB_IMAGEDATA_INTERFACE_1_0, PPB_ImageData_1_0) | 59 PROXIED_IFACE(PPB_ImageData, PPB_IMAGEDATA_INTERFACE_1_0, PPB_ImageData_1_0) |
59 PROXIED_IFACE(PPB_Instance, PPB_GAMEPAD_INTERFACE_1_0, PPB_Gamepad_1_0) | 60 PROXIED_IFACE(PPB_Instance, PPB_GAMEPAD_INTERFACE_1_0, PPB_Gamepad_1_0) |
60 PROXIED_IFACE(PPB_Instance, PPB_INSTANCE_INTERFACE_1_0, PPB_Instance_1_0) | 61 PROXIED_IFACE(PPB_Instance, PPB_INSTANCE_INTERFACE_1_0, PPB_Instance_1_0) |
61 PROXIED_IFACE(NoAPIName, PPB_INPUT_EVENT_INTERFACE_1_0, PPB_InputEvent_1_0) | 62 PROXIED_IFACE(NoAPIName, PPB_INPUT_EVENT_INTERFACE_1_0, PPB_InputEvent_1_0) |
(...skipping 19 matching lines...) Expand all Loading... | |
81 PROXIED_IFACE(NoAPIName, PPB_WEBSOCKET_INTERFACE_1_0, PPB_WebSocket_1_0) | 82 PROXIED_IFACE(NoAPIName, PPB_WEBSOCKET_INTERFACE_1_0, PPB_WebSocket_1_0) |
82 | 83 |
83 // Note: PPB_Var and PPB_VarArrayBuffer are special and registered manually. | 84 // Note: PPB_Var and PPB_VarArrayBuffer are special and registered manually. |
84 PROXIED_IFACE(NoAPIName, PPB_VIEW_INTERFACE_1_0, PPB_View_1_0) | 85 PROXIED_IFACE(NoAPIName, PPB_VIEW_INTERFACE_1_0, PPB_View_1_0) |
85 | 86 |
86 // This has no corresponding _Proxy object since it does no IPC. | 87 // This has no corresponding _Proxy object since it does no IPC. |
87 PROXIED_IFACE(NoAPIName, PPB_AUDIO_CONFIG_INTERFACE_1_0, PPB_AudioConfig_1_0) | 88 PROXIED_IFACE(NoAPIName, PPB_AUDIO_CONFIG_INTERFACE_1_0, PPB_AudioConfig_1_0) |
88 PROXIED_IFACE(NoAPIName, PPB_AUDIO_CONFIG_INTERFACE_1_1, PPB_AudioConfig_1_1) | 89 PROXIED_IFACE(NoAPIName, PPB_AUDIO_CONFIG_INTERFACE_1_1, PPB_AudioConfig_1_1) |
89 | 90 |
90 #include "ppapi/thunk/interfaces_postamble.h" | 91 #include "ppapi/thunk/interfaces_postamble.h" |
OLD | NEW |