Esempio n. 1
0
v8::Persistent<v8::FunctionTemplate> V8PerIsolateData::rawTemplate(WrapperTypeInfo* info, WrapperWorldType currentWorldType)
{
    TemplateMap& templates = rawTemplateMap(currentWorldType);
    TemplateMap::iterator result = templates.find(info);
    if (result != templates.end())
        return result->value;

    v8::HandleScope handleScope;
    v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate(m_isolate);
    templates.add(info, templ);
    return templ;
}
Esempio n. 2
0
v8::Persistent<v8::FunctionTemplate> V8TestException::GetRawTemplate()
{
    V8PerIsolateData* data = V8PerIsolateData::current();
    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
    if (result != data->rawTemplateMap().end())
        return result->value;

    v8::HandleScope handleScope;
    v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate();
    data->rawTemplateMap().add(&info, templ);
    return templ;
}
Esempio n. 3
0
v8::Persistent<v8::FunctionTemplate> V8SVGStopElement::GetRawTemplate()
{
    V8BindingPerIsolateData* data = V8BindingPerIsolateData::current();
    V8BindingPerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
    if (result != data->rawTemplateMap().end())
        return result->second;

    v8::HandleScope handleScope;
    v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate();
    data->rawTemplateMap().add(&info, templ);
    return templ;
}
Esempio n. 4
0
v8::Persistent<v8::FunctionTemplate> V8TestNamedConstructor::GetRawTemplate(v8::Isolate* isolate)
{
    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
    if (result != data->rawTemplateMap().end())
        return result->value;

    v8::HandleScope handleScope;
    v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate(isolate);
    data->rawTemplateMap().add(&info, templ);
    return templ;
}
Esempio n. 5
0
v8::Persistent<v8::FunctionTemplate> V8HTMLAnchorElement::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8HTMLAnchorElement_raw_cache_ = createRawTemplate();
  return V8HTMLAnchorElement_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8HTMLTableCaptionElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8HTMLTableCaptionElementRawCache = createRawTemplate();
    return V8HTMLTableCaptionElementRawCache;
}
Esempio n. 7
0
v8::Persistent<v8::FunctionTemplate> V8Float32Array::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8Float32ArrayRawCache = createRawTemplate();
    return V8Float32ArrayRawCache;
}
v8::Persistent<v8::FunctionTemplate> V8WebGLRenderbuffer::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8WebGLRenderbufferRawCache = createRawTemplate();
    return V8WebGLRenderbufferRawCache;
}
Esempio n. 9
0
v8::Persistent<v8::FunctionTemplate> V8ValidityState::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8ValidityState_raw_cache_ = createRawTemplate();
  return V8ValidityState_raw_cache_;
}
Esempio n. 10
0
v8::Persistent<v8::FunctionTemplate> V8SQLError::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SQLErrorRawCache = createRawTemplate();
    return V8SQLErrorRawCache;
}
Esempio n. 11
0
v8::Persistent<v8::FunctionTemplate> V8XMLHttpRequestUpload::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8XMLHttpRequestUpload_raw_cache_ = createRawTemplate();
  return V8XMLHttpRequestUpload_raw_cache_;
}
Esempio n. 12
0
v8::Persistent<v8::FunctionTemplate> V8DOMStringMap::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8DOMStringMapRawCache = createRawTemplate();
    return V8DOMStringMapRawCache;
}
Esempio n. 13
0
v8::Persistent<v8::FunctionTemplate> V8VoidCallback::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8VoidCallbackRawCache = createRawTemplate();
    return V8VoidCallbackRawCache;
}
v8::Persistent<v8::FunctionTemplate> V8HTMLDataGridColElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8HTMLDataGridColElementRawCache = createRawTemplate();
    return V8HTMLDataGridColElementRawCache;
}
Esempio n. 15
0
v8::Persistent<v8::FunctionTemplate> V8WebGLActiveInfo::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8WebGLActiveInfo_raw_cache_ = createRawTemplate();
  return V8WebGLActiveInfo_raw_cache_;
}
Esempio n. 16
0
v8::Persistent<v8::FunctionTemplate> V8IDBIndex::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8IDBIndexRawCache = createRawTemplate();
    return V8IDBIndexRawCache;
}
Esempio n. 17
0
v8::Persistent<v8::FunctionTemplate> V8Geolocation::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8GeolocationRawCache = createRawTemplate();
    return V8GeolocationRawCache;
}
Esempio n. 18
0
v8::Persistent<v8::FunctionTemplate> V8WebGLProgram::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8WebGLProgram_raw_cache_ = createRawTemplate();
  return V8WebGLProgram_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8HTMLBlockquoteElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8HTMLBlockquoteElementRawCache = createRawTemplate();
    return V8HTMLBlockquoteElementRawCache;
}
v8::Persistent<v8::FunctionTemplate> V8WebGLUniformLocation::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8WebGLUniformLocationRawCache = createRawTemplate();
    return V8WebGLUniformLocationRawCache;
}
v8::Persistent<v8::FunctionTemplate> V8SVGAnimatedBoolean::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SVGAnimatedBooleanRawCache = createRawTemplate();
    return V8SVGAnimatedBooleanRawCache;
}
Esempio n. 22
0
v8::Persistent<v8::FunctionTemplate> V8MediaError::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8MediaError_raw_cache_ = createRawTemplate();
  return V8MediaError_raw_cache_;
}
Esempio n. 23
0
v8::Persistent<v8::FunctionTemplate> V8MessageChannel::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8MessageChannel_raw_cache_ = createRawTemplate();
  return V8MessageChannel_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8SVGPathSegCurvetoQuadraticSmoothAbs::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SVGPathSegCurvetoQuadraticSmoothAbsRawCache = createRawTemplate();
    return V8SVGPathSegCurvetoQuadraticSmoothAbsRawCache;
}
Esempio n. 25
0
v8::Persistent<v8::FunctionTemplate> V8StyleMedia::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8StyleMediaRawCache = createRawTemplate();
    return V8StyleMediaRawCache;
}
Esempio n. 26
0
v8::Persistent<v8::FunctionTemplate> V8ImageData::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8ImageDataRawCache = createRawTemplate();
    return V8ImageDataRawCache;
}
Esempio n. 27
0
v8::Persistent<v8::FunctionTemplate> V8Rect::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8Rect_raw_cache_ = createRawTemplate();
  return V8Rect_raw_cache_;
}
Esempio n. 28
0
v8::Persistent<v8::FunctionTemplate> V8CSSFontFaceRule::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8CSSFontFaceRule_raw_cache_ = createRawTemplate();
  return V8CSSFontFaceRule_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8SVGFEFuncAElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SVGFEFuncAElementRawCache = createRawTemplate();
    return V8SVGFEFuncAElementRawCache;
}
Esempio n. 30
0
v8::Persistent<v8::FunctionTemplate> V8TreeWalker::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8TreeWalker_raw_cache_ = createRawTemplate();
  return V8TreeWalker_raw_cache_;
}