OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_API_ID_H_ |
| 6 #define PPAPI_SHARED_IMPL_API_ID_H_ |
| 7 |
| 8 namespace ppapi { |
| 9 |
| 10 // These numbers must be all small integers. They are used in a lookup table |
| 11 // to route messages to the appropriate message handler. |
| 12 enum ApiID { |
| 13 // Zero is reserved for control messages. |
| 14 API_ID_NONE = 0, |
| 15 API_ID_PPB_AUDIO = 1, |
| 16 API_ID_PPB_AUDIO_CONFIG, |
| 17 API_ID_PPB_BROKER, |
| 18 API_ID_PPB_BUFFER, |
| 19 API_ID_PPB_CONTEXT_3D, |
| 20 API_ID_PPB_CORE, |
| 21 API_ID_PPB_CURSORCONTROL, |
| 22 API_ID_PPB_FILE_CHOOSER, |
| 23 API_ID_PPB_FILE_REF, |
| 24 API_ID_PPB_FILE_SYSTEM, |
| 25 API_ID_PPB_FLASH, |
| 26 API_ID_PPB_FLASH_CLIPBOARD, |
| 27 API_ID_PPB_FLASH_FILE_FILEREF, |
| 28 API_ID_PPB_FLASH_FILE_MODULELOCAL, |
| 29 API_ID_PPB_FLASH_MENU, |
| 30 API_ID_PPB_FLASH_NETCONNECTOR, |
| 31 API_ID_PPB_FLASH_TCPSOCKET, |
| 32 API_ID_PPB_FLASH_UDPSOCKET, |
| 33 API_ID_PPB_FONT, |
| 34 API_ID_PPB_GRAPHICS_2D, |
| 35 API_ID_PPB_GRAPHICS_3D, |
| 36 API_ID_PPB_INSTANCE, |
| 37 API_ID_PPB_INSTANCE_PRIVATE, |
| 38 API_ID_PPB_OPENGLES2, |
| 39 API_ID_PPB_PDF, |
| 40 API_ID_PPB_SURFACE_3D, |
| 41 API_ID_PPB_TESTING, |
| 42 API_ID_PPB_TEXT_INPUT, |
| 43 API_ID_PPB_URL_LOADER, |
| 44 API_ID_PPB_URL_RESPONSE_INFO, |
| 45 API_ID_PPB_VAR_DEPRECATED, |
| 46 API_ID_PPB_VIDEO_CAPTURE_DEV, |
| 47 API_ID_PPB_VIDEO_DECODER_DEV, |
| 48 |
| 49 API_ID_PPP_CLASS, |
| 50 API_ID_PPP_GRAPHICS_3D, |
| 51 API_ID_PPP_INPUT_EVENT, |
| 52 API_ID_PPP_INSTANCE, |
| 53 API_ID_PPP_INSTANCE_PRIVATE, |
| 54 API_ID_PPP_MESSAGING, |
| 55 API_ID_PPP_MOUSE_LOCK, |
| 56 API_ID_PPP_VIDEO_CAPTURE_DEV, |
| 57 API_ID_PPP_VIDEO_DECODER_DEV, |
| 58 |
| 59 API_ID_RESOURCE_CREATION, |
| 60 |
| 61 // Must be last to indicate the number of interface IDs. |
| 62 API_ID_COUNT |
| 63 }; |
| 64 |
| 65 } // namespace ppapi |
| 66 |
| 67 #endif // PPAPI_SHARED_IMPL_API_ID_H_ |
OLD | NEW |