Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8DOMConfiguration.cpp68 void V8DOMConfiguration::installConstants(v8::Handle<v8::FunctionTemplate> functionDescriptor, v8::… in installConstants() argument
72functionDescriptor->Set(v8::String::NewFromUtf8(isolate, constant->name, v8::String::kInternalized… in installConstants()
89 …guration::installDOMClassTemplate(v8::Handle<v8::FunctionTemplate> functionDescriptor, const char*… in installDOMClassTemplate() argument
95functionDescriptor->SetClassName(v8::String::NewFromUtf8(isolate, interfaceName, v8::String::kInte… in installDOMClassTemplate()
96 v8::Local<v8::ObjectTemplate> instanceTemplate = functionDescriptor->InstanceTemplate(); in installDOMClassTemplate()
99 functionDescriptor->Inherit(parentClass); in installDOMClassTemplate()
103 v8::Local<v8::ObjectTemplate> prototype = functionDescriptor->PrototypeTemplate(); in installDOMClassTemplate()
107 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate, functionDescriptor); in installDOMClassTemplate()
109 …installAttributes(instanceTemplate, functionDescriptor->PrototypeTemplate(), attributes, attribute… in installDOMClassTemplate()
111 …installAccessors(functionDescriptor->PrototypeTemplate(), defaultSignature, accessors, accessorCou… in installDOMClassTemplate()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8PromiseCustom.cpp63 …v8::Handle<v8::FunctionTemplate> functionDescriptor = data->privateTemplateIfExists(currentWorldTy… in cachedObjectTemplate() local
64 if (!functionDescriptor.IsEmpty()) in cachedObjectTemplate()
65 return functionDescriptor->InstanceTemplate(); in cachedObjectTemplate()
67 functionDescriptor = v8::FunctionTemplate::New(isolate); in cachedObjectTemplate()
68 v8::Local<v8::ObjectTemplate> instanceTemplate = functionDescriptor->InstanceTemplate(); in cachedObjectTemplate()
70 data->setPrivateTemplate(currentWorldType, privateTemplateUniqueKey, functionDescriptor); in cachedObjectTemplate()