| Index: ppapi/api/ppb_var_dictionary.idl
|
| diff --git a/ppapi/api/dev/ppb_var_dictionary_dev.idl b/ppapi/api/ppb_var_dictionary.idl
|
| similarity index 81%
|
| rename from ppapi/api/dev/ppb_var_dictionary_dev.idl
|
| rename to ppapi/api/ppb_var_dictionary.idl
|
| index f3e7407438ac430b94d51727ab6660d8890d108f..1464bc615a764066885b16eec1ee2d432bab02df 100644
|
| --- a/ppapi/api/dev/ppb_var_dictionary_dev.idl
|
| +++ b/ppapi/api/ppb_var_dictionary.idl
|
| @@ -4,12 +4,12 @@
|
| */
|
|
|
| /**
|
| - * This file defines the <code>PPB_VarDictionary_Dev</code> struct providing
|
| + * This file defines the <code>PPB_VarDictionary</code> struct providing
|
| * a way to interact with dictionary vars.
|
| */
|
|
|
| label Chrome {
|
| - M27 = 0.1
|
| + M29 = 1.0
|
| };
|
|
|
| /**
|
| @@ -17,8 +17,8 @@ label Chrome {
|
| * strings while the values can be arbitrary vars. Key comparison is always
|
| * done by value instead of by reference.
|
| */
|
| -[macro="PPB_VAR_DICTIONARY_DEV_INTERFACE"]
|
| -interface PPB_VarDictionary_Dev {
|
| +[macro="PPB_VAR_DICTIONARY_INTERFACE"]
|
| +interface PPB_VarDictionary {
|
| /**
|
| * Creates a dictionary var, i.e., a <code>PP_Var</code> with type set to
|
| * <code>PP_VARTYPE_DICTIONARY</code>.
|
| @@ -35,28 +35,29 @@ interface PPB_VarDictionary_Dev {
|
| * @param[in] key A string var.
|
| *
|
| * @return The value that is associated with <code>key</code>. The reference
|
| - * count is incremented on behalf of the caller. If <code>key</code> is not a
|
| - * string var, or it doesn't exist in <code>dict</code>, an undefined var is
|
| - * returned.
|
| + * count of the element returned is incremented on behalf of the caller. If
|
| + * <code>key</code> is not a string var, or it doesn't exist in
|
| + * <code>dict</code>, an undefined var is returned.
|
| */
|
| PP_Var Get([in] PP_Var dict, [in] PP_Var key);
|
|
|
| /**
|
| - * Sets the value associated with the specified key. The dictionary is
|
| - * responsible for holding references to its children to keep them alive.
|
| + * Sets the value associated with the specified key.
|
| *
|
| * @param[in] dict A dictionary var.
|
| * @param[in] key A string var. If this key hasn't existed in
|
| * <code>dict</code>, it is added and associated with <code>value</code>;
|
| * otherwise, the previous value is replaced with <code>value</code>.
|
| - * @param[in] value The value to set.
|
| + * @param[in] value The value to set. The dictionary holds a reference to it
|
| + * on success.
|
| *
|
| * @return A <code>PP_Bool</code> indicating whether the operation succeeds.
|
| */
|
| PP_Bool Set([in] PP_Var dict, [in] PP_Var key, [in] PP_Var value);
|
|
|
| /**
|
| - * Deletes the specified key and its associated value, if the key exists.
|
| + * Deletes the specified key and its associated value, if the key exists. The
|
| + * reference to the element will be released.
|
| *
|
| * @param[in] dict A dictionary var.
|
| * @param[in] key A string var.
|
|
|