| Index: ppapi/cpp/var_array.h
|
| diff --git a/ppapi/cpp/dev/var_array_dev.h b/ppapi/cpp/var_array.h
|
| similarity index 77%
|
| rename from ppapi/cpp/dev/var_array_dev.h
|
| rename to ppapi/cpp/var_array.h
|
| index 17a3277029a2a95525d88e5b31b1f4da9cfb5901..a2e6638ec4d937625e24f92a5850ae62592a637f 100644
|
| --- a/ppapi/cpp/dev/var_array_dev.h
|
| +++ b/ppapi/cpp/var_array.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PPAPI_CPP_DEV_VAR_ARRAY_DEV_H_
|
| -#define PPAPI_CPP_DEV_VAR_ARRAY_DEV_H_
|
| +#ifndef PPAPI_CPP_VAR_ARRAY_H_
|
| +#define PPAPI_CPP_VAR_ARRAY_H_
|
|
|
| #include "ppapi/c/pp_bool.h"
|
| #include "ppapi/c/pp_stdint.h"
|
| @@ -14,38 +14,38 @@
|
|
|
| namespace pp {
|
|
|
| -class VarArray_Dev : public Var {
|
| +class VarArray : public Var {
|
| public:
|
| /// Constructs a new array var.
|
| - VarArray_Dev();
|
| + VarArray();
|
|
|
| - /// Constructs a <code>VarArray_Dev</code> given a var for which is_array() is
|
| + /// Constructs a <code>VarArray</code> given a var for which is_array() is
|
| /// true. This will refer to the same array var, but allow you to access
|
| /// methods specific to arrays.
|
| ///
|
| /// @param[in] var An array var.
|
| - explicit VarArray_Dev(const Var& var);
|
| + explicit VarArray(const Var& var);
|
|
|
| - /// Constructs a <code>VarArray_Dev</code> given a <code>PP_Var</code> of type
|
| + /// Constructs a <code>VarArray</code> given a <code>PP_Var</code> of type
|
| /// PP_VARTYPE_ARRAY.
|
| ///
|
| /// @param[in] var A <code>PP_Var</code> of type PP_VARTYPE_ARRAY.
|
| - explicit VarArray_Dev(const PP_Var& var);
|
| + explicit VarArray(const PP_Var& var);
|
|
|
| /// Copy constructor.
|
| - VarArray_Dev(const VarArray_Dev& other);
|
| + VarArray(const VarArray& other);
|
|
|
| - virtual ~VarArray_Dev();
|
| + virtual ~VarArray();
|
|
|
| /// Assignment operator.
|
| - VarArray_Dev& operator=(const VarArray_Dev& other);
|
| + VarArray& operator=(const VarArray& other);
|
|
|
| /// The <code>Var</code> assignment operator is overridden here so that we can
|
| - /// check for assigning a non-array var to a <code>VarArray_Dev</code>.
|
| + /// check for assigning a non-array var to a <code>VarArray</code>.
|
| ///
|
| /// @param[in] other The array var to be assigned.
|
| ///
|
| - /// @return The resulting <code>VarArray_Dev</code> (as a <code>Var</code>&).
|
| + /// @return The resulting <code>VarArray</code> (as a <code>Var</code>&).
|
| virtual Var& operator=(const Var& other);
|
|
|
| /// Gets an element from the array.
|
| @@ -87,4 +87,4 @@ class VarArray_Dev : public Var {
|
|
|
| } // namespace pp
|
|
|
| -#endif // PPAPI_CPP_DEV_VAR_ARRAY_DEV_H_
|
| +#endif // PPAPI_CPP_VAR_ARRAY_H_
|
|
|