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

Side by Side Diff: Source/bindings/tests/results/V8TestEventConstructor.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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 RefPtr<TestEventConstructor> event = TestEventConstructor::create(type, even tInit); 103 RefPtr<TestEventConstructor> event = TestEventConstructor::create(type, even tInit);
104 104
105 v8::Handle<v8::Object> wrapper = args.Holder(); 105 v8::Handle<v8::Object> wrapper = args.Holder();
106 V8DOMWrapper::associateObjectWithWrapper(event.release(), &V8TestEventConstr uctor::info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent); 106 V8DOMWrapper::associateObjectWithWrapper(event.release(), &V8TestEventConstr uctor::info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
107 args.GetReturnValue().Set(wrapper); 107 args.GetReturnValue().Set(wrapper);
108 } 108 }
109 } // namespace TestEventConstructorV8Internal 109 } // namespace TestEventConstructorV8Internal
110 110
111 static const V8DOMConfiguration::BatchedAttribute V8TestEventConstructorAttrs[] = { 111 static const V8DOMConfiguration::BatchedAttribute V8TestEventConstructorAttrs[] = {
112 // Attribute 'attr1' (Type: 'attribute' ExtAttr: '') 112 // Attribute 'attr1' (Type: 'DOMString' ExtAttr: '')
113 {"attr1", TestEventConstructorV8Internal::attr1AttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */}, 113 {"attr1", TestEventConstructorV8Internal::attr1AttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */},
114 // Attribute 'attr2' (Type: 'attribute' ExtAttr: 'InitializedByEventConstruc tor') 114 // Attribute 'attr2' (Type: 'DOMString' ExtAttr: 'InitializedByEventConstruc tor')
115 {"attr2", TestEventConstructorV8Internal::attr2AttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */}, 115 {"attr2", TestEventConstructorV8Internal::attr2AttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pr opertyAttribute>(v8::None), 0 /* on instance */},
116 }; 116 };
117 117
118 bool fillTestEventConstructorInit(TestEventConstructorInit& eventInit, const Dic tionary& options) 118 bool fillTestEventConstructorInit(TestEventConstructorInit& eventInit, const Dic tionary& options)
119 { 119 {
120 options.get("attr2", eventInit.attr2); 120 options.get("attr2", eventInit.attr2);
121 return true; 121 return true;
122 } 122 }
123 123
124 void V8TestEventConstructor::constructorCallback(const v8::FunctionCallbackInfo< v8::Value>& args) 124 void V8TestEventConstructor::constructorCallback(const v8::FunctionCallbackInfo< v8::Value>& args)
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 installPerContextProperties(wrapper, impl.get(), isolate); 192 installPerContextProperties(wrapper, impl.get(), isolate);
193 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent); 193 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent);
194 return wrapper; 194 return wrapper;
195 } 195 }
196 void V8TestEventConstructor::derefObject(void* object) 196 void V8TestEventConstructor::derefObject(void* object)
197 { 197 {
198 static_cast<TestEventConstructor*>(object)->deref(); 198 static_cast<TestEventConstructor*>(object)->deref();
199 } 199 }
200 200
201 } // namespace WebCore 201 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698