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

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

Issue 6519057: Implement proxying for FileRef and FileChooser.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BUFFER, 18 INTERFACE_ID_PPB_BUFFER,
19 INTERFACE_ID_PPB_CHAR_SET, 19 INTERFACE_ID_PPB_CHAR_SET,
20 INTERFACE_ID_PPB_CONTEXT_3D, 20 INTERFACE_ID_PPB_CONTEXT_3D,
21 INTERFACE_ID_PPB_CORE, 21 INTERFACE_ID_PPB_CORE,
22 INTERFACE_ID_PPB_CURSORCONTROL, 22 INTERFACE_ID_PPB_CURSORCONTROL,
23 INTERFACE_ID_PPB_FILE_CHOOSER,
24 INTERFACE_ID_PPB_FILE_REF,
23 INTERFACE_ID_PPB_FLASH, 25 INTERFACE_ID_PPB_FLASH,
24 INTERFACE_ID_PPB_FONT, 26 INTERFACE_ID_PPB_FONT,
25 INTERFACE_ID_PPB_FULLSCREEN, 27 INTERFACE_ID_PPB_FULLSCREEN,
26 INTERFACE_ID_PPB_GLES_CHROMIUM_TM, 28 INTERFACE_ID_PPB_GLES_CHROMIUM_TM,
27 INTERFACE_ID_PPB_GRAPHICS_2D, 29 INTERFACE_ID_PPB_GRAPHICS_2D,
28 INTERFACE_ID_PPB_IMAGE_DATA, 30 INTERFACE_ID_PPB_IMAGE_DATA,
29 INTERFACE_ID_PPB_INSTANCE, 31 INTERFACE_ID_PPB_INSTANCE,
30 INTERFACE_ID_PPB_OPENGLES2, 32 INTERFACE_ID_PPB_OPENGLES2,
31 INTERFACE_ID_PPB_PDF, 33 INTERFACE_ID_PPB_PDF,
32 INTERFACE_ID_PPB_SURFACE_3D, 34 INTERFACE_ID_PPB_SURFACE_3D,
33 INTERFACE_ID_PPB_TESTING, 35 INTERFACE_ID_PPB_TESTING,
34 INTERFACE_ID_PPB_URL_LOADER, 36 INTERFACE_ID_PPB_URL_LOADER,
35 INTERFACE_ID_PPB_URL_LOADER_TRUSTED, 37 INTERFACE_ID_PPB_URL_LOADER_TRUSTED,
36 INTERFACE_ID_PPB_URL_REQUEST_INFO, 38 INTERFACE_ID_PPB_URL_REQUEST_INFO,
37 INTERFACE_ID_PPB_URL_RESPONSE_INFO, 39 INTERFACE_ID_PPB_URL_RESPONSE_INFO,
38 INTERFACE_ID_PPB_VAR, 40 INTERFACE_ID_PPB_VAR,
39 INTERFACE_ID_PPB_VAR_DEPRECATED, 41 INTERFACE_ID_PPB_VAR_DEPRECATED,
40 42
41 INTERFACE_ID_PPP_CLASS, 43 INTERFACE_ID_PPP_CLASS,
42 INTERFACE_ID_PPP_INSTANCE, 44 INTERFACE_ID_PPP_INSTANCE,
43 45
44 // Must be last to indicate the number of interface IDs. 46 // Must be last to indicate the number of interface IDs.
45 INTERFACE_ID_COUNT 47 INTERFACE_ID_COUNT
46 }; 48 };
47 49
48 } // namespace proxy 50 } // namespace proxy
49 } // namespace pp 51 } // namespace pp
50 52
51 #endif // PPAPI_PROXY_INTERFACE_ID_H_ 53 #endif // PPAPI_PROXY_INTERFACE_ID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698