Exemple #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;
}
Exemple #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;
}
Exemple #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;
}
Exemple #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;
}
Exemple #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;
}
Exemple #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;
}
Exemple #9
0
v8::Persistent<v8::FunctionTemplate> V8ValidityState::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8ValidityState_raw_cache_ = createRawTemplate();
  return V8ValidityState_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8SQLError::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SQLErrorRawCache = createRawTemplate();
    return V8SQLErrorRawCache;
}
Exemple #11
0
v8::Persistent<v8::FunctionTemplate> V8XMLHttpRequestUpload::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8XMLHttpRequestUpload_raw_cache_ = createRawTemplate();
  return V8XMLHttpRequestUpload_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8DOMStringMap::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8DOMStringMapRawCache = createRawTemplate();
    return V8DOMStringMapRawCache;
}
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;
}
Exemple #15
0
v8::Persistent<v8::FunctionTemplate> V8WebGLActiveInfo::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8WebGLActiveInfo_raw_cache_ = createRawTemplate();
  return V8WebGLActiveInfo_raw_cache_;
}
v8::Persistent<v8::FunctionTemplate> V8IDBIndex::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8IDBIndexRawCache = createRawTemplate();
    return V8IDBIndexRawCache;
}
v8::Persistent<v8::FunctionTemplate> V8Geolocation::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8GeolocationRawCache = createRawTemplate();
    return V8GeolocationRawCache;
}
Exemple #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;
}
Exemple #22
0
v8::Persistent<v8::FunctionTemplate> V8MediaError::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8MediaError_raw_cache_ = createRawTemplate();
  return V8MediaError_raw_cache_;
}
Exemple #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;
}
v8::Persistent<v8::FunctionTemplate> V8StyleMedia::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8StyleMediaRawCache = createRawTemplate();
    return V8StyleMediaRawCache;
}
v8::Persistent<v8::FunctionTemplate> V8ImageData::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8ImageDataRawCache = createRawTemplate();
    return V8ImageDataRawCache;
}
Exemple #27
0
v8::Persistent<v8::FunctionTemplate> V8Rect::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8Rect_raw_cache_ = createRawTemplate();
  return V8Rect_raw_cache_;
}
Exemple #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;
}
Exemple #30
0
v8::Persistent<v8::FunctionTemplate> V8TreeWalker::GetRawTemplate() {
  static v8::Persistent<v8::FunctionTemplate> V8TreeWalker_raw_cache_ = createRawTemplate();
  return V8TreeWalker_raw_cache_;
}