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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.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 "V8TestInterfaceGarbageCollected.h" 8 #include "V8TestInterfaceGarbageCollected.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 TestInterfaceGarbageCollectedV8Internal::constructor(info); 123 TestInterfaceGarbageCollectedV8Internal::constructor(info);
124 } 124 }
125 125
126 static void installV8TestInterfaceGarbageCollectedTemplate(v8::Handle<v8::Functi onTemplate> functionTemplate, v8::Isolate* isolate) 126 static void installV8TestInterfaceGarbageCollectedTemplate(v8::Handle<v8::Functi onTemplate> functionTemplate, v8::Isolate* isolate)
127 { 127 {
128 functionTemplate->ReadOnlyPrototype(); 128 functionTemplate->ReadOnlyPrototype();
129 129
130 v8::Local<v8::Signature> defaultSignature; 130 v8::Local<v8::Signature> defaultSignature;
131 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestInterfaceGarbageCollected", V8EventTarget::domTemplate(isolate), V8Tes tInterfaceGarbageCollected::internalFieldCount, 131 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceGarbageCollected", V8EventTarget::domTemplate(isolat e), V8TestInterfaceGarbageCollected::internalFieldCount,
132 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf aceGarbageCollectedAttributes), 132 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf aceGarbageCollectedAttributes),
133 0, 0, 133 0, 0,
134 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface GarbageCollectedMethods), 134 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface GarbageCollectedMethods));
135 isolate);
136 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo rCallback); 135 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo rCallback);
137 functionTemplate->SetLength(1); 136 functionTemplate->SetLength(1);
138 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 137 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
139 ALLOW_UNUSED_LOCAL(instanceTemplate); 138 ALLOW_UNUSED_LOCAL(instanceTemplate);
140 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 139 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
141 ALLOW_UNUSED_LOCAL(prototypeTemplate); 140 ALLOW_UNUSED_LOCAL(prototypeTemplate);
142 141
143 // Custom toString template 142 // Custom toString template
144 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 143 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
145 } 144 }
(...skipping 26 matching lines...) Expand all
172 { 171 {
173 } 172 }
174 173
175 template<> 174 template<>
176 v8::Handle<v8::Value> toV8NoInline(TestInterfaceGarbageCollected* impl, v8::Hand le<v8::Object> creationContext, v8::Isolate* isolate) 175 v8::Handle<v8::Value> toV8NoInline(TestInterfaceGarbageCollected* impl, v8::Hand le<v8::Object> creationContext, v8::Isolate* isolate)
177 { 176 {
178 return toV8(impl, creationContext, isolate); 177 return toV8(impl, creationContext, isolate);
179 } 178 }
180 179
181 } // namespace blink 180 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698