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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp

Issue 772743003: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestInterfaceConstructor2.h" 8 #include "V8TestInterfaceConstructor2.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 } 187 }
188 188
189 TestInterfaceConstructor2V8Internal::constructor(info); 189 TestInterfaceConstructor2V8Internal::constructor(info);
190 } 190 }
191 191
192 static void installV8TestInterfaceConstructor2Template(v8::Handle<v8::FunctionTe mplate> functionTemplate, v8::Isolate* isolate) 192 static void installV8TestInterfaceConstructor2Template(v8::Handle<v8::FunctionTe mplate> functionTemplate, v8::Isolate* isolate)
193 { 193 {
194 functionTemplate->ReadOnlyPrototype(); 194 functionTemplate->ReadOnlyPrototype();
195 195
196 v8::Local<v8::Signature> defaultSignature; 196 v8::Local<v8::Signature> defaultSignature;
197 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestInterfaceConstructor2", v8::Local<v8::FunctionTemplate>(), V8TestInter faceConstructor2::internalFieldCount, 197 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceConstructor2", v8::Local<v8::FunctionTemplate>(), V8 TestInterfaceConstructor2::internalFieldCount,
198 0, 0, 198 0, 0,
199 0, 0, 199 0, 0,
200 0, 0, 200 0, 0);
201 isolate);
202 functionTemplate->SetCallHandler(V8TestInterfaceConstructor2::constructorCal lback); 201 functionTemplate->SetCallHandler(V8TestInterfaceConstructor2::constructorCal lback);
203 functionTemplate->SetLength(1); 202 functionTemplate->SetLength(1);
204 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 203 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
205 ALLOW_UNUSED_LOCAL(instanceTemplate); 204 ALLOW_UNUSED_LOCAL(instanceTemplate);
206 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 205 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
207 ALLOW_UNUSED_LOCAL(prototypeTemplate); 206 ALLOW_UNUSED_LOCAL(prototypeTemplate);
208 207
209 // Custom toString template 208 // Custom toString template
210 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 209 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
211 } 210 }
(...skipping 28 matching lines...) Expand all
240 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); 239 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref();
241 } 240 }
242 241
243 template<> 242 template<>
244 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 243 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
245 { 244 {
246 return toV8(impl, creationContext, isolate); 245 return toV8(impl, creationContext, isolate);
247 } 246 }
248 247
249 } // namespace blink 248 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698