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

Unified Diff: ppapi/api/pp_var.idl

Issue 8538038: Add values to all (non-dev, non-private) Pepper .idl enumerations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/api/pp_file_info.idl ('k') | ppapi/api/ppb_url_request_info.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/pp_var.idl
diff --git a/ppapi/api/pp_var.idl b/ppapi/api/pp_var.idl
index 5927cbcf5435f8083c5988a9cedd9461688ad96e..1a6ad7e62b3f6b6cc7712c8148bf9ae2fde7d2a9 100644
--- a/ppapi/api/pp_var.idl
+++ b/ppapi/api/pp_var.idl
@@ -17,42 +17,42 @@ enum PP_VarType {
/**
* An undefined value.
*/
- PP_VARTYPE_UNDEFINED,
+ PP_VARTYPE_UNDEFINED = 0,
/**
* A NULL value. This is similar to undefined, but JavaScript differentiates
* the two so it is exposed here as well.
*/
- PP_VARTYPE_NULL,
+ PP_VARTYPE_NULL = 1,
/**
* A boolean value, use the <code>as_bool</code> member of the var.
*/
- PP_VARTYPE_BOOL,
+ PP_VARTYPE_BOOL = 2,
/**
* A 32-bit integer value. Use the <code>as_int</code> member of the var.
*/
- PP_VARTYPE_INT32,
+ PP_VARTYPE_INT32 = 3,
/**
* A double-precision floating point value. Use the <code>as_double</code>
* member of the var.
*/
- PP_VARTYPE_DOUBLE,
+ PP_VARTYPE_DOUBLE = 4,
/**
* The Var represents a string. The <code>as_id</code> field is used to
* identify the string, which may be created and retrieved from the
* <code>PPB_Var</code> interface.
*/
- PP_VARTYPE_STRING,
+ PP_VARTYPE_STRING = 5,
/**
* Represents a JavaScript object. This vartype is not currently usable
* from modules, although it is used internally for some tasks.
*/
- PP_VARTYPE_OBJECT,
+ PP_VARTYPE_OBJECT = 6,
/**
* Arrays and dictionaries are not currently supported but will be added
@@ -60,8 +60,8 @@ enum PP_VarType {
* to properly AddRef/Release them as you would with strings to ensure your
* module will continue to work with future versions of the API.
*/
- PP_VARTYPE_ARRAY,
- PP_VARTYPE_DICTIONARY
+ PP_VARTYPE_ARRAY = 7,
+ PP_VARTYPE_DICTIONARY = 8
};
« no previous file with comments | « ppapi/api/pp_file_info.idl ('k') | ppapi/api/ppb_url_request_info.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698