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

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

Issue 823093002: [bindings] Make v8_class::install[v8_class]Template use Local<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 12 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
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 "V8TestInterfaceConstructor.h" 8 #include "V8TestInterfaceConstructor.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 } 294 }
295 295
296 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) { 296 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) {
297 v8SetReturnValue(info, info.Holder()); 297 v8SetReturnValue(info, info.Holder());
298 return; 298 return;
299 } 299 }
300 300
301 TestInterfaceConstructorV8Internal::constructor(info); 301 TestInterfaceConstructorV8Internal::constructor(info);
302 } 302 }
303 303
304 static void installV8TestInterfaceConstructorTemplate(v8::Handle<v8::FunctionTem plate> functionTemplate, v8::Isolate* isolate) 304 static void installV8TestInterfaceConstructorTemplate(v8::Local<v8::FunctionTemp late> functionTemplate, v8::Isolate* isolate)
305 { 305 {
306 functionTemplate->ReadOnlyPrototype(); 306 functionTemplate->ReadOnlyPrototype();
307 307
308 v8::Local<v8::Signature> defaultSignature; 308 v8::Local<v8::Signature> defaultSignature;
309 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceConstructor", v8::Local<v8::FunctionTemplate>(), V8T estInterfaceConstructor::internalFieldCount, 309 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceConstructor", v8::Local<v8::FunctionTemplate>(), V8T estInterfaceConstructor::internalFieldCount,
310 0, 0, 310 0, 0,
311 0, 0, 311 0, 0,
312 0, 0); 312 0, 0);
313 functionTemplate->SetCallHandler(V8TestInterfaceConstructor::constructorCall back); 313 functionTemplate->SetCallHandler(V8TestInterfaceConstructor::constructorCall back);
314 functionTemplate->SetLength(0); 314 functionTemplate->SetLength(0);
(...skipping 30 matching lines...) Expand all
345 { 345 {
346 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref(); 346 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref();
347 } 347 }
348 348
349 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable) 349 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable)
350 { 350 {
351 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref(); 351 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref();
352 } 352 }
353 353
354 } // namespace blink 354 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698