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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface2.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 "V8TestInterface2.h" 8 #include "V8TestInterface2.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 } 450 }
451 451
452 TestInterface2V8Internal::constructor(info); 452 TestInterface2V8Internal::constructor(info);
453 } 453 }
454 454
455 static void installV8TestInterface2Template(v8::Handle<v8::FunctionTemplate> fun ctionTemplate, v8::Isolate* isolate) 455 static void installV8TestInterface2Template(v8::Handle<v8::FunctionTemplate> fun ctionTemplate, v8::Isolate* isolate)
456 { 456 {
457 functionTemplate->ReadOnlyPrototype(); 457 functionTemplate->ReadOnlyPrototype();
458 458
459 v8::Local<v8::Signature> defaultSignature; 459 v8::Local<v8::Signature> defaultSignature;
460 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestInterface2", v8::Local<v8::FunctionTemplate>(), V8TestInterface2::inte rnalFieldCount, 460 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterface2", v8::Local<v8::FunctionTemplate>(), V8TestInterfa ce2::internalFieldCount,
461 0, 0, 461 0, 0,
462 0, 0, 462 0, 0,
463 V8TestInterface2Methods, WTF_ARRAY_LENGTH(V8TestInterface2Methods), 463 V8TestInterface2Methods, WTF_ARRAY_LENGTH(V8TestInterface2Methods));
464 isolate);
465 functionTemplate->SetCallHandler(V8TestInterface2::constructorCallback); 464 functionTemplate->SetCallHandler(V8TestInterface2::constructorCallback);
466 functionTemplate->SetLength(0); 465 functionTemplate->SetLength(0);
467 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 466 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
468 ALLOW_UNUSED_LOCAL(instanceTemplate); 467 ALLOW_UNUSED_LOCAL(instanceTemplate);
469 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 468 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
470 ALLOW_UNUSED_LOCAL(prototypeTemplate); 469 ALLOW_UNUSED_LOCAL(prototypeTemplate);
471 if (RuntimeEnabledFeatures::featureNameEnabled()) { 470 if (RuntimeEnabledFeatures::featureNameEnabled()) {
472 static const V8DOMConfiguration::ConstantConfiguration constantConfigura tion = {"CONST_VALUE_1", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort} ; 471 static const V8DOMConfiguration::ConstantConfiguration constantConfigura tion = {"CONST_VALUE_1", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort} ;
473 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototyp eTemplate, &constantConfiguration, 1); 472 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototyp eTemplate, &constantConfiguration, 1);
474 } 473 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 scriptWrappable->toImpl<TestInterface2>()->deref(); 509 scriptWrappable->toImpl<TestInterface2>()->deref();
511 } 510 }
512 511
513 template<> 512 template<>
514 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 513 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
515 { 514 {
516 return toV8(impl, creationContext, isolate); 515 return toV8(impl, creationContext, isolate);
517 } 516 }
518 517
519 } // namespace blink 518 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterface.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface3.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698