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

Side by Side Diff: Source/bindings/tests/results/V8TestActiveDOMObject.cpp

Issue 16924018: [Binding] Remove signature from domAttribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 TestActiveDOMObject* imp = V8TestActiveDOMObject::toNative(holder); 169 TestActiveDOMObject* imp = V8TestActiveDOMObject::toNative(holder);
170 if (!BindingSecurity::shouldAllowAccessToFrame(imp->frame())) 170 if (!BindingSecurity::shouldAllowAccessToFrame(imp->frame()))
171 return; 171 return;
172 172
173 info.This()->SetHiddenValue(name, value); 173 info.This()->SetHiddenValue(name, value);
174 } 174 }
175 175
176 } // namespace TestActiveDOMObjectV8Internal 176 } // namespace TestActiveDOMObjectV8Internal
177 177
178 static const V8DOMConfiguration::BatchedAttribute V8TestActiveDOMObjectAttrs[] = { 178 static const V8DOMConfiguration::BatchedAttribute V8TestActiveDOMObjectAttrs[] = {
179 // Attribute 'excitingAttr' (Type: 'attribute' ExtAttr: '') 179 // Attribute 'excitingAttr' (Type: 'long' ExtAttr: '')
kojih 2013/06/17 04:44:33 Originally attribute->type was always 'attribute'
haraken 2013/06/17 04:49:08 Actually, I think we can simply remove the '(Type:
180 {"excitingAttr", TestActiveDOMObjectV8Internal::excitingAttrAttrGetterCallba ck, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 180 {"excitingAttr", TestActiveDOMObjectV8Internal::excitingAttrAttrGetterCallba ck, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
181 }; 181 };
182 182
183 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestActiveDOMObjectTemplate(v 8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cur rentWorldType) 183 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestActiveDOMObjectTemplate(v 8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cur rentWorldType)
184 { 184 {
185 desc->ReadOnlyPrototype(); 185 desc->ReadOnlyPrototype();
186 186
187 v8::Local<v8::Signature> defaultSignature; 187 v8::Local<v8::Signature> defaultSignature;
188 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestActiveDO MObject", v8::Local<v8::FunctionTemplate>(), V8TestActiveDOMObject::internalFiel dCount, 188 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestActiveDO MObject", v8::Local<v8::FunctionTemplate>(), V8TestActiveDOMObject::internalFiel dCount,
189 V8TestActiveDOMObjectAttrs, WTF_ARRAY_LENGTH(V8TestActiveDOMObjectAttrs) , 189 V8TestActiveDOMObjectAttrs, WTF_ARRAY_LENGTH(V8TestActiveDOMObjectAttrs) ,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 installPerContextProperties(wrapper, impl.get(), isolate); 248 installPerContextProperties(wrapper, impl.get(), isolate);
249 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent); 249 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent);
250 return wrapper; 250 return wrapper;
251 } 251 }
252 void V8TestActiveDOMObject::derefObject(void* object) 252 void V8TestActiveDOMObject::derefObject(void* object)
253 { 253 {
254 static_cast<TestActiveDOMObject*>(object)->deref(); 254 static_cast<TestActiveDOMObject*>(object)->deref();
255 } 255 }
256 256
257 } // namespace WebCore 257 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/scripts/generate-bindings.pl ('k') | Source/bindings/tests/results/V8TestEventConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698