Commit d0242a5f authored by peria's avatar peria Committed by Commit bot

Expose NamedConstructorAttributeGetter methods

BUG=617892

Review-Url: https://codereview.chromium.org/2745513002
Cr-Commit-Position: refs/heads/master@{#455736}
parent ff7240f2
...@@ -21,7 +21,7 @@ class {{v8_class}}Constructor { ...@@ -21,7 +21,7 @@ class {{v8_class}}Constructor {
STATIC_ONLY({{v8_class}}Constructor); STATIC_ONLY({{v8_class}}Constructor);
public: public:
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&); static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info); {{exported}}static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info);
{{exported}}static const WrapperTypeInfo wrapperTypeInfo; {{exported}}static const WrapperTypeInfo wrapperTypeInfo;
}; };
......
...@@ -30,7 +30,7 @@ class V8TestInterfaceConstructorConstructor { ...@@ -30,7 +30,7 @@ class V8TestInterfaceConstructorConstructor {
STATIC_ONLY(V8TestInterfaceConstructorConstructor); STATIC_ONLY(V8TestInterfaceConstructorConstructor);
public: public:
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&); static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info); CORE_EXPORT static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
}; };
......
...@@ -30,7 +30,7 @@ class V8TestInterfaceEventTargetConstructor { ...@@ -30,7 +30,7 @@ class V8TestInterfaceEventTargetConstructor {
STATIC_ONLY(V8TestInterfaceEventTargetConstructor); STATIC_ONLY(V8TestInterfaceEventTargetConstructor);
public: public:
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&); static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info); CORE_EXPORT static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
}; };
......
...@@ -29,7 +29,7 @@ class V8TestInterfaceNamedConstructorConstructor { ...@@ -29,7 +29,7 @@ class V8TestInterfaceNamedConstructorConstructor {
STATIC_ONLY(V8TestInterfaceNamedConstructorConstructor); STATIC_ONLY(V8TestInterfaceNamedConstructorConstructor);
public: public:
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&); static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info); CORE_EXPORT static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
}; };
......
...@@ -29,7 +29,7 @@ class V8TestInterfaceNamedConstructor2Constructor { ...@@ -29,7 +29,7 @@ class V8TestInterfaceNamedConstructor2Constructor {
STATIC_ONLY(V8TestInterfaceNamedConstructor2Constructor); STATIC_ONLY(V8TestInterfaceNamedConstructor2Constructor);
public: public:
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&); static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info); CORE_EXPORT static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment