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

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

Issue 14882009: Remove DOM prefix from several IDL interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 7 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 | Annotate | Revision Log
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 return cachedTemplate; 134 return cachedTemplate;
135 135
136 v8::HandleScope scope; 136 v8::HandleScope scope;
137 v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(V8TestNam edConstructorConstructorCallback); 137 v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(V8TestNam edConstructorConstructorCallback);
138 138
139 v8::Local<v8::ObjectTemplate> instance = result->InstanceTemplate(); 139 v8::Local<v8::ObjectTemplate> instance = result->InstanceTemplate();
140 instance->SetInternalFieldCount(V8TestNamedConstructor::internalFieldCount); 140 instance->SetInternalFieldCount(V8TestNamedConstructor::internalFieldCount);
141 result->SetClassName(v8::String::NewSymbol("TestNamedConstructor")); 141 result->SetClassName(v8::String::NewSymbol("TestNamedConstructor"));
142 result->Inherit(V8TestNamedConstructor::GetTemplate(isolate, currentWorldTyp e)); 142 result->Inherit(V8TestNamedConstructor::GetTemplate(isolate, currentWorldTyp e));
143 143
144 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(isolate, result); 144 cachedTemplate.Reset(isolate, result);
145 return cachedTemplate; 145 return cachedTemplate;
146 } 146 }
147 147
148 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestNamedConstructorTempl ate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorl dType currentWorldType) 148 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestNamedConstructorTempl ate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorl dType currentWorldType)
149 { 149 {
150 desc->ReadOnlyPrototype(); 150 desc->ReadOnlyPrototype();
151 151
152 v8::Local<v8::Signature> defaultSignature; 152 v8::Local<v8::Signature> defaultSignature;
153 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestNamedCon structor", v8::Persistent<v8::FunctionTemplate>(), V8TestNamedConstructor::inter nalFieldCount, 153 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestNamedCon structor", v8::Persistent<v8::FunctionTemplate>(), V8TestNamedConstructor::inter nalFieldCount,
154 0, 0, 154 0, 0,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 installPerContextProperties(wrapper, impl.get(), isolate); 208 installPerContextProperties(wrapper, impl.get(), isolate);
209 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent); 209 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent);
210 return wrapper; 210 return wrapper;
211 } 211 }
212 void V8TestNamedConstructor::derefObject(void* object) 212 void V8TestNamedConstructor::derefObject(void* object)
213 { 213 {
214 static_cast<TestNamedConstructor*>(object)->deref(); 214 static_cast<TestNamedConstructor*>(object)->deref();
215 } 215 }
216 216
217 } // namespace WebCore 217 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp ('k') | Source/bindings/tests/results/V8TestObj.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698