OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:functionDescriptor
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
V8DOMConfiguration.cpp
68
void V8DOMConfiguration::installConstants(v8::Handle<v8::FunctionTemplate>
functionDescriptor
, v8::Handle<v8::ObjectTemplate> prototype, const ConstantConfiguration* constants, size_t constantCount, v8::Isolate* isolate)
72
functionDescriptor
->Set(v8::String::NewFromUtf8(isolate, constant->name, v8::String::kInternalizedString), v8::Integer::New(isolate, constant->value), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete));
89
v8::Local<v8::Signature> V8DOMConfiguration::installDOMClassTemplate(v8::Handle<v8::FunctionTemplate>
functionDescriptor
, const char* interfaceName, v8::Handle<v8::FunctionTemplate> parentClass, size_t fieldCount,
95
functionDescriptor
->SetClassName(v8::String::NewFromUtf8(isolate, interfaceName, v8::String::kInternalizedString));
96
v8::Local<v8::ObjectTemplate> instanceTemplate =
functionDescriptor
->InstanceTemplate();
99
functionDescriptor
->Inherit(parentClass);
103
v8::Local<v8::ObjectTemplate> prototype =
functionDescriptor
->PrototypeTemplate();
107
v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate,
functionDescriptor
);
109
installAttributes(instanceTemplate,
functionDescriptor
->PrototypeTemplate(), attributes, attributeCount, isolate, currentWorldType);
111
installAccessors(
functionDescriptor
->PrototypeTemplate(), defaultSignature, accessors, accessorCount, isolate, currentWorldType)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8PromiseCustom.cpp
63
v8::Handle<v8::FunctionTemplate>
functionDescriptor
= data->privateTemplateIfExists(currentWorldType, privateTemplateUniqueKey);
64
if (!
functionDescriptor
.IsEmpty())
65
return
functionDescriptor
->InstanceTemplate();
67
functionDescriptor
= v8::FunctionTemplate::New(isolate);
68
v8::Local<v8::ObjectTemplate> instanceTemplate =
functionDescriptor
->InstanceTemplate();
70
data->setPrivateTemplate(currentWorldType, privateTemplateUniqueKey,
functionDescriptor
);
[
all
...]
Completed in 44 milliseconds