Home
last modified time | relevance | path

Searched refs:npVariantData (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebKit2/Shared/Plugins/
DNPVariantData.cpp55 NPVariantData npVariantData; in makeNull() local
57 npVariantData.m_type = NPVariantData::Null; in makeNull()
59 return npVariantData; in makeNull()
64 NPVariantData npVariantData; in makeBool() local
66 npVariantData.m_type = NPVariantData::Bool; in makeBool()
67 npVariantData.m_boolValue = value; in makeBool()
69 return npVariantData; in makeBool()
74 NPVariantData npVariantData; in makeInt32() local
76 npVariantData.m_type = NPVariantData::Int32; in makeInt32()
77 npVariantData.m_int32Value = value; in makeInt32()
[all …]
DNPRemoteObjectMap.cpp136 NPVariant NPRemoteObjectMap::npVariantDataToNPVariant(const NPVariantData& npVariantData, Plugin* p… in npVariantDataToNPVariant() argument
140 switch (npVariantData.type()) { in npVariantDataToNPVariant()
148 BOOLEAN_TO_NPVARIANT(npVariantData.boolValue(), npVariant); in npVariantDataToNPVariant()
151 INT32_TO_NPVARIANT(npVariantData.int32Value(), npVariant); in npVariantDataToNPVariant()
154 DOUBLE_TO_NPVARIANT(npVariantData.doubleValue(), npVariant); in npVariantDataToNPVariant()
157 NPString npString = createNPString(npVariantData.stringValue()); in npVariantDataToNPVariant()
162 uint64_t npObjectID = npVariantData.localNPObjectIDValue(); in npVariantDataToNPVariant()
180 … NPObject* npObjectProxy = createNPObjectProxy(npVariantData.remoteNPObjectIDValue(), plugin); in npVariantDataToNPVariant()