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

Side by Side Diff: ppapi/proxy/interface_id.h

Issue 7105013: Convert more interfaces to the new thunk system. This goes up to and including (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/enter_proxy.h ('k') | ppapi/proxy/plugin_resource_tracker.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) 2011 The Chromium Authors. All rights reserved. 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 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_PROXY_INTERFACE_ID_H_ 5 #ifndef PPAPI_PROXY_INTERFACE_ID_H_
6 #define PPAPI_PROXY_INTERFACE_ID_H_ 6 #define PPAPI_PROXY_INTERFACE_ID_H_
7 7
8 namespace pp { 8 namespace pp {
9 namespace proxy { 9 namespace proxy {
10 10
11 // These numbers must be all small integers. They are used in a lookup table 11 // These numbers must be all small integers. They are used in a lookup table
12 // to route messages to the appropriate message handler. 12 // to route messages to the appropriate message handler.
13 enum InterfaceID { 13 enum InterfaceID {
14 // Zero is reserved for control messages. 14 // Zero is reserved for control messages.
15 INTERFACE_ID_NONE = 0, 15 INTERFACE_ID_NONE = 0,
16 INTERFACE_ID_PPB_AUDIO = 1, 16 INTERFACE_ID_PPB_AUDIO = 1,
17 INTERFACE_ID_PPB_AUDIO_CONFIG, 17 INTERFACE_ID_PPB_AUDIO_CONFIG,
18 INTERFACE_ID_PPB_BROKER, 18 INTERFACE_ID_PPB_BROKER,
19 INTERFACE_ID_PPB_BUFFER, 19 INTERFACE_ID_PPB_BUFFER,
20 INTERFACE_ID_PPB_CHAR_SET, 20 INTERFACE_ID_PPB_CHAR_SET,
21 INTERFACE_ID_PPB_CONSOLE, 21 INTERFACE_ID_PPB_CONSOLE,
22 INTERFACE_ID_PPB_CONTEXT_3D, 22 INTERFACE_ID_PPB_CONTEXT_3D,
23 INTERFACE_ID_PPB_CORE, 23 INTERFACE_ID_PPB_CORE,
24 INTERFACE_ID_PPB_CRYPTO, 24 INTERFACE_ID_PPB_CRYPTO,
25 INTERFACE_ID_PPB_CURSORCONTROL, 25 INTERFACE_ID_PPB_CURSORCONTROL,
26 INTERFACE_ID_PPB_FILE_CHOOSER, 26 INTERFACE_ID_PPB_FILE_CHOOSER,
27 INTERFACE_ID_PPB_FILE_REF, 27 INTERFACE_ID_PPB_FILE_REF,
28 INTERFACE_ID_PPB_FILE_SYSTEM, 28 INTERFACE_ID_PPB_FILE_SYSTEM,
29 INTERFACE_ID_PPB_FIND,
29 INTERFACE_ID_PPB_FLASH, 30 INTERFACE_ID_PPB_FLASH,
30 INTERFACE_ID_PPB_FLASH_CLIPBOARD, 31 INTERFACE_ID_PPB_FLASH_CLIPBOARD,
31 INTERFACE_ID_PPB_FLASH_FILE_FILEREF, 32 INTERFACE_ID_PPB_FLASH_FILE_FILEREF,
32 INTERFACE_ID_PPB_FLASH_FILE_MODULELOCAL, 33 INTERFACE_ID_PPB_FLASH_FILE_MODULELOCAL,
33 INTERFACE_ID_PPB_FLASH_MENU, 34 INTERFACE_ID_PPB_FLASH_MENU,
34 INTERFACE_ID_PPB_FLASH_NETCONNECTOR, 35 INTERFACE_ID_PPB_FLASH_NETCONNECTOR,
35 INTERFACE_ID_PPB_FONT, 36 INTERFACE_ID_PPB_FONT,
36 INTERFACE_ID_PPB_FULLSCREEN, 37 INTERFACE_ID_PPB_FULLSCREEN,
37 INTERFACE_ID_PPB_GLES_CHROMIUM_TM, 38 INTERFACE_ID_PPB_GLES_CHROMIUM_TM,
38 INTERFACE_ID_PPB_GRAPHICS_2D, 39 INTERFACE_ID_PPB_GRAPHICS_2D,
(...skipping 22 matching lines...) Expand all
61 INTERFACE_ID_RESOURCE_CREATION, 62 INTERFACE_ID_RESOURCE_CREATION,
62 63
63 // Must be last to indicate the number of interface IDs. 64 // Must be last to indicate the number of interface IDs.
64 INTERFACE_ID_COUNT 65 INTERFACE_ID_COUNT
65 }; 66 };
66 67
67 } // namespace proxy 68 } // namespace proxy
68 } // namespace pp 69 } // namespace pp
69 70
70 #endif // PPAPI_PROXY_INTERFACE_ID_H_ 71 #endif // PPAPI_PROXY_INTERFACE_ID_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/enter_proxy.h ('k') | ppapi/proxy/plugin_resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698