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
3 // found in the LICENSE file.
5 #ifndef PPAPI_SHARED_IMPL_API_ID_H_
6 #define PPAPI_SHARED_IMPL_API_ID_H_
10 // These numbers must be all small integers. They are used in a lookup table
11 // to route messages to the appropriate message handler.
13 // Zero is reserved for control messages.
16 API_ID_PPB_AUDIO_CONFIG
,
17 API_ID_PPB_AUDIO_INPUT_DEV
,
20 API_ID_PPB_CONTEXT_3D
,
22 API_ID_PPB_CURSORCONTROL
,
23 API_ID_PPB_FILE_CHOOSER
,
26 API_ID_PPB_FILE_SYSTEM
,
27 API_ID_PPB_FLASH_DEVICE_ID
,
28 API_ID_PPB_FLASH_FONTFILE
,
29 API_ID_PPB_FLASH_MENU
,
30 API_ID_PPB_FLASH_MESSAGELOOP
,
32 API_ID_PPB_GRAPHICS_2D
,
33 API_ID_PPB_GRAPHICS_3D
,
34 API_ID_PPB_HOSTRESOLVER_PRIVATE
,
35 API_ID_PPB_IMAGE_DATA
,
37 API_ID_PPB_INSTANCE_PRIVATE
,
40 API_ID_PPB_SURFACE_3D
,
43 API_ID_PPB_TEXT_INPUT
,
44 API_ID_PPB_URL_RESPONSE_INFO
,
45 API_ID_PPB_VAR_ARRAY_BUFFER
,
46 API_ID_PPB_VAR_DEPRECATED
,
47 API_ID_PPB_VIDEO_CAPTURE_DEV
,
48 API_ID_PPB_VIDEO_DECODER_DEV
,
49 API_ID_PPB_X509_CERTIFICATE_PRIVATE
,
52 // TODO(tomfinegan): Remove this after we refactor things to load the PPP
53 // interface struct from the PPB interface.
54 API_ID_PPP_CONTENT_DECRYPTOR_PRIVATE
,
55 API_ID_PPP_GRAPHICS_3D
,
56 API_ID_PPP_INPUT_EVENT
,
58 API_ID_PPP_INSTANCE_PRIVATE
,
60 API_ID_PPP_MOUSE_LOCK
,
62 API_ID_PPP_TEXT_INPUT
,
63 API_ID_PPP_VIDEO_CAPTURE_DEV
,
64 API_ID_PPP_VIDEO_DECODER_DEV
,
66 API_ID_RESOURCE_CREATION
,
68 // Must be last to indicate the number of interface IDs.
74 #endif // PPAPI_SHARED_IMPL_API_ID_H_