summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/var.h
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 20:42:50 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 20:42:50 +0000
commitd9e5f412f3f2ad4c04ab4cc29ebfbd7b139c33f0 (patch)
treece3941869e2e4e6ed9fba66eb87216d6dcb33095 /ppapi/shared_impl/var.h
parent3f4f7cbf4db193e77b538b22375339b19ca8f311 (diff)
downloadchromium_src-d9e5f412f3f2ad4c04ab4cc29ebfbd7b139c33f0.zip
chromium_src-d9e5f412f3f2ad4c04ab4cc29ebfbd7b139c33f0.tar.gz
chromium_src-d9e5f412f3f2ad4c04ab4cc29ebfbd7b139c33f0.tar.bz2
Add PPB_VarDictionary_Dev support - part 1.
It includes: - C/C++ interface implementation. - Conversions between PP_Var and base::Value. It dones't include: - Serialization code for IPC. BUG=None TEST=a new unittest Review URL: https://codereview.chromium.org/12387073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/var.h')
-rw-r--r--ppapi/shared_impl/var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/shared_impl/var.h b/ppapi/shared_impl/var.h
index 77f707c..76654b4 100644
--- a/ppapi/shared_impl/var.h
+++ b/ppapi/shared_impl/var.h
@@ -15,6 +15,7 @@
namespace ppapi {
class ArrayBufferVar;
+class DictionaryVar;
class NPObjectVar;
class ProxyObjectVar;
class StringVar;
@@ -34,6 +35,7 @@ class PPAPI_SHARED_EXPORT Var : public base::RefCounted<Var> {
virtual ArrayBufferVar* AsArrayBufferVar();
virtual NPObjectVar* AsNPObjectVar();
virtual ProxyObjectVar* AsProxyObjectVar();
+ virtual DictionaryVar* AsDictionaryVar();
// Creates a PP_Var corresponding to this object. The return value will have
// one reference addrefed on behalf of the caller.