Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 2304453004: [Bindings] Expose V8 callback functions in generated code (Closed)
Patch Set: Expose call Callback functions in binding scripts Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
index 0d91ab3752f53355b3cf37055ca423b895f92262..b73707f50a842f2b42c66b262ce769dc06df07ed 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
@@ -61,7 +61,7 @@ static void testInterfaceAttributeAttributeGetter(const v8::FunctionCallbackInfo
v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl);
}
-static void testInterfaceAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void testInterfaceAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeGetter(info);
}
@@ -79,7 +79,7 @@ static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
impl->setTestInterfaceAttribute(cppValue);
}
-static void testInterfaceAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void testInterfaceAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::testInterfaceAttributeAttributeSetter(v8Value, info);
@@ -92,7 +92,7 @@ static void doubleAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Va
v8SetReturnValue(info, impl->doubleAttribute());
}
-static void doubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void doubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::doubleAttributeAttributeGetter(info);
}
@@ -108,7 +108,7 @@ static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v
impl->setDoubleAttribute(cppValue);
}
-static void doubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void doubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::doubleAttributeAttributeSetter(v8Value, info);
@@ -121,7 +121,7 @@ static void floatAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Val
v8SetReturnValue(info, impl->floatAttribute());
}
-static void floatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void floatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::floatAttributeAttributeGetter(info);
}
@@ -137,7 +137,7 @@ static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8
impl->setFloatAttribute(cppValue);
}
-static void floatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void floatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::floatAttributeAttributeSetter(v8Value, info);
@@ -150,7 +150,7 @@ static void unrestrictedDoubleAttributeAttributeGetter(const v8::FunctionCallbac
v8SetReturnValue(info, impl->unrestrictedDoubleAttribute());
}
-static void unrestrictedDoubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void unrestrictedDoubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeGetter(info);
}
@@ -166,7 +166,7 @@ static void unrestrictedDoubleAttributeAttributeSetter(v8::Local<v8::Value> v8Va
impl->setUnrestrictedDoubleAttribute(cppValue);
}
-static void unrestrictedDoubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void unrestrictedDoubleAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::unrestrictedDoubleAttributeAttributeSetter(v8Value, info);
@@ -179,7 +179,7 @@ static void unrestrictedFloatAttributeAttributeGetter(const v8::FunctionCallback
v8SetReturnValue(info, impl->unrestrictedFloatAttribute());
}
-static void unrestrictedFloatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void unrestrictedFloatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeGetter(info);
}
@@ -195,7 +195,7 @@ static void unrestrictedFloatAttributeAttributeSetter(v8::Local<v8::Value> v8Val
impl->setUnrestrictedFloatAttribute(cppValue);
}
-static void unrestrictedFloatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void unrestrictedFloatAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::unrestrictedFloatAttributeAttributeSetter(v8Value, info);
@@ -206,7 +206,7 @@ static void staticStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<
v8SetReturnValueString(info, TestInterface5Implementation::staticStringAttribute(), info.GetIsolate());
}
-static void staticStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void staticStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::staticStringAttributeAttributeGetter(info);
}
@@ -219,7 +219,7 @@ static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c
TestInterface5Implementation::setStaticStringAttribute(cppValue);
}
-static void staticStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void staticStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::staticStringAttributeAttributeSetter(v8Value, info);
@@ -232,7 +232,7 @@ static void alwaysExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo
v8SetReturnValueInt(info, impl->alwaysExposedAttribute());
}
-static void alwaysExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void alwaysExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeGetter(info);
}
@@ -248,7 +248,7 @@ static void alwaysExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
impl->setAlwaysExposedAttribute(cppValue);
}
-static void alwaysExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void alwaysExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::alwaysExposedAttributeAttributeSetter(v8Value, info);
@@ -261,7 +261,7 @@ static void workerExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo
v8SetReturnValueInt(info, impl->workerExposedAttribute());
}
-static void workerExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void workerExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeGetter(info);
}
@@ -277,7 +277,7 @@ static void workerExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
impl->setWorkerExposedAttribute(cppValue);
}
-static void workerExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void workerExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::workerExposedAttributeAttributeSetter(v8Value, info);
@@ -290,7 +290,7 @@ static void windowExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo
v8SetReturnValueInt(info, impl->windowExposedAttribute());
}
-static void windowExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void windowExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeGetter(info);
}
@@ -306,7 +306,7 @@ static void windowExposedAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
impl->setWindowExposedAttribute(cppValue);
}
-static void windowExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
+void windowExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TestInterface5ImplementationV8Internal::windowExposedAttributeAttributeSetter(v8Value, info);
@@ -645,7 +645,7 @@ static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo
v8SetReturnValueString(info, result, info.GetIsolate());
}
-static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
+void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::indexedPropertyGetter(index, info);
}
@@ -662,7 +662,7 @@ static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> v8Value,
v8SetReturnValue(info, v8Value);
}
-static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
+void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestInterface5ImplementationV8Internal::indexedPropertySetter(index, v8Value, info);
}
@@ -675,7 +675,7 @@ static void indexedPropertyDeleter(uint32_t index, const v8::PropertyCallbackInf
return v8SetReturnValueBool(info, result == DeleteSuccess);
}
-static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
+void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
{
TestInterface5ImplementationV8Internal::indexedPropertyDeleter(index, info);
}
@@ -691,7 +691,7 @@ static void namedPropertyGetter(v8::Local<v8::Name> name, const v8::PropertyCall
v8SetReturnValueString(info, result, info.GetIsolate());
}
-static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info)
+void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
if (!name->IsString())
return;
@@ -714,7 +714,7 @@ static void namedPropertySetter(v8::Local<v8::Name> name, v8::Local<v8::Value> v
v8SetReturnValue(info, v8Value);
}
-static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
+void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
{
if (!name->IsString())
return;
@@ -735,7 +735,7 @@ static void namedPropertyQuery(v8::Local<v8::Name> name, const v8::PropertyCallb
v8SetReturnValueInt(info, v8::None);
}
-static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
+void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
{
if (!name->IsString())
return;
@@ -751,7 +751,7 @@ static void namedPropertyDeleter(v8::Local<v8::Name> name, const v8::PropertyCal
return v8SetReturnValueBool(info, result == DeleteSuccess);
}
-static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
+void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
{
if (!name->IsString())
return;
@@ -774,7 +774,7 @@ static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& i
v8SetReturnValue(info, v8names);
}
-static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info)
+void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info)
{
TestInterface5ImplementationV8Internal::namedPropertyEnumerator(info);
}

Powered by Google App Engine
This is Rietveld 408576698