Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: ppapi/shared_impl/api_id.h

Issue 10169040: Move the rest of the Flash functions to the thunk system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/shared_impl/ppb_flash_shared.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef PPAPI_SHARED_IMPL_API_ID_H_ 5 #ifndef PPAPI_SHARED_IMPL_API_ID_H_
6 #define PPAPI_SHARED_IMPL_API_ID_H_ 6 #define PPAPI_SHARED_IMPL_API_ID_H_
7 7
8 namespace ppapi { 8 namespace ppapi {
9 9
10 // These numbers must be all small integers. They are used in a lookup table 10 // These numbers must be all small integers. They are used in a lookup table
11 // to route messages to the appropriate message handler. 11 // to route messages to the appropriate message handler.
12 enum ApiID { 12 enum ApiID {
13 // Zero is reserved for control messages. 13 // Zero is reserved for control messages.
14 API_ID_NONE = 0, 14 API_ID_NONE = 0,
15 API_ID_PPB_AUDIO = 1, 15 API_ID_PPB_AUDIO = 1,
16 API_ID_PPB_AUDIO_CONFIG, 16 API_ID_PPB_AUDIO_CONFIG,
17 API_ID_PPB_AUDIO_INPUT_DEV, 17 API_ID_PPB_AUDIO_INPUT_DEV,
18 API_ID_PPB_BROKER, 18 API_ID_PPB_BROKER,
19 API_ID_PPB_BUFFER, 19 API_ID_PPB_BUFFER,
20 API_ID_PPB_CONTEXT_3D, 20 API_ID_PPB_CONTEXT_3D,
21 API_ID_PPB_CORE, 21 API_ID_PPB_CORE,
22 API_ID_PPB_CURSORCONTROL, 22 API_ID_PPB_CURSORCONTROL,
23 API_ID_PPB_FILE_CHOOSER, 23 API_ID_PPB_FILE_CHOOSER,
24 API_ID_PPB_FILE_IO, 24 API_ID_PPB_FILE_IO,
25 API_ID_PPB_FILE_REF, 25 API_ID_PPB_FILE_REF,
26 API_ID_PPB_FILE_SYSTEM, 26 API_ID_PPB_FILE_SYSTEM,
27 API_ID_PPB_FLASH, 27 API_ID_PPB_FLASH,
28 API_ID_PPB_FLASH_FILE_FILEREF,
29 API_ID_PPB_FLASH_FILE_MODULELOCAL,
30 API_ID_PPB_FLASH_MENU, 28 API_ID_PPB_FLASH_MENU,
31 API_ID_PPB_FLASH_MESSAGELOOP, 29 API_ID_PPB_FLASH_MESSAGELOOP,
32 API_ID_PPB_FONT, 30 API_ID_PPB_FONT,
33 API_ID_PPB_GRAPHICS_2D, 31 API_ID_PPB_GRAPHICS_2D,
34 API_ID_PPB_GRAPHICS_3D, 32 API_ID_PPB_GRAPHICS_3D,
35 API_ID_PPB_HOSTRESOLVER_PRIVATE, 33 API_ID_PPB_HOSTRESOLVER_PRIVATE,
36 API_ID_PPB_IMAGE_DATA, 34 API_ID_PPB_IMAGE_DATA,
37 API_ID_PPB_INSTANCE, 35 API_ID_PPB_INSTANCE,
38 API_ID_PPB_INSTANCE_PRIVATE, 36 API_ID_PPB_INSTANCE_PRIVATE,
39 API_ID_PPB_NETWORKMANAGER_PRIVATE, 37 API_ID_PPB_NETWORKMANAGER_PRIVATE,
(...skipping 28 matching lines...) Expand all
68 66
69 API_ID_RESOURCE_CREATION, 67 API_ID_RESOURCE_CREATION,
70 68
71 // Must be last to indicate the number of interface IDs. 69 // Must be last to indicate the number of interface IDs.
72 API_ID_COUNT 70 API_ID_COUNT
73 }; 71 };
74 72
75 } // namespace ppapi 73 } // namespace ppapi
76 74
77 #endif // PPAPI_SHARED_IMPL_API_ID_H_ 75 #endif // PPAPI_SHARED_IMPL_API_ID_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/shared_impl/ppb_flash_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698