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

Side by Side Diff: Source/bindings/tests/results/core/V8TestNode.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 "V8TestNode.h" 8 #include "V8TestNode.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 } 181 }
182 182
183 TestNodeV8Internal::constructor(info); 183 TestNodeV8Internal::constructor(info);
184 } 184 }
185 185
186 static void installV8TestNodeTemplate(v8::Handle<v8::FunctionTemplate> functionT emplate, v8::Isolate* isolate) 186 static void installV8TestNodeTemplate(v8::Handle<v8::FunctionTemplate> functionT emplate, v8::Isolate* isolate)
187 { 187 {
188 functionTemplate->ReadOnlyPrototype(); 188 functionTemplate->ReadOnlyPrototype();
189 189
190 v8::Local<v8::Signature> defaultSignature; 190 v8::Local<v8::Signature> defaultSignature;
191 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFieldCount, 191 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFiel dCount,
192 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes), 192 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes),
193 0, 0, 193 0, 0,
194 0, 0, 194 0, 0);
195 isolate);
196 functionTemplate->SetCallHandler(V8TestNode::constructorCallback); 195 functionTemplate->SetCallHandler(V8TestNode::constructorCallback);
197 functionTemplate->SetLength(0); 196 functionTemplate->SetLength(0);
198 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 197 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
199 ALLOW_UNUSED_LOCAL(instanceTemplate); 198 ALLOW_UNUSED_LOCAL(instanceTemplate);
200 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 199 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
201 ALLOW_UNUSED_LOCAL(prototypeTemplate); 200 ALLOW_UNUSED_LOCAL(prototypeTemplate);
202 201
203 // Custom toString template 202 // Custom toString template
204 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 203 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
205 } 204 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 #endif 237 #endif
239 } 238 }
240 239
241 template<> 240 template<>
242 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati onContext, v8::Isolate* isolate) 241 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati onContext, v8::Isolate* isolate)
243 { 242 {
244 return toV8(impl, creationContext, isolate); 243 return toV8(impl, creationContext, isolate);
245 } 244 }
246 245
247 } // namespace blink 246 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698