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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.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 "V8TestInterfaceCustomConstructor.h" 8 #include "V8TestInterfaceCustomConstructor.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 42
43 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) { 43 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) {
44 v8SetReturnValue(info, info.Holder()); 44 v8SetReturnValue(info, info.Holder());
45 return; 45 return;
46 } 46 }
47 47
48 V8TestInterfaceCustomConstructor::constructorCustom(info); 48 V8TestInterfaceCustomConstructor::constructorCustom(info);
49 } 49 }
50 50
51 static void installV8TestInterfaceCustomConstructorTemplate(v8::Handle<v8::Funct ionTemplate> functionTemplate, v8::Isolate* isolate) 51 static void installV8TestInterfaceCustomConstructorTemplate(v8::Local<v8::Functi onTemplate> functionTemplate, v8::Isolate* isolate)
52 { 52 {
53 functionTemplate->ReadOnlyPrototype(); 53 functionTemplate->ReadOnlyPrototype();
54 54
55 v8::Local<v8::Signature> defaultSignature; 55 v8::Local<v8::Signature> defaultSignature;
56 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceCustomConstructor", v8::Local<v8::FunctionTemplate>( ), V8TestInterfaceCustomConstructor::internalFieldCount, 56 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceCustomConstructor", v8::Local<v8::FunctionTemplate>( ), V8TestInterfaceCustomConstructor::internalFieldCount,
57 0, 0, 57 0, 0,
58 0, 0, 58 0, 0,
59 0, 0); 59 0, 0);
60 functionTemplate->SetCallHandler(V8TestInterfaceCustomConstructor::construct orCallback); 60 functionTemplate->SetCallHandler(V8TestInterfaceCustomConstructor::construct orCallback);
61 functionTemplate->SetLength(0); 61 functionTemplate->SetLength(0);
(...skipping 30 matching lines...) Expand all
92 { 92 {
93 scriptWrappable->toImpl<TestInterfaceCustomConstructor>()->ref(); 93 scriptWrappable->toImpl<TestInterfaceCustomConstructor>()->ref();
94 } 94 }
95 95
96 void V8TestInterfaceCustomConstructor::derefObject(ScriptWrappable* scriptWrappa ble) 96 void V8TestInterfaceCustomConstructor::derefObject(ScriptWrappable* scriptWrappa ble)
97 { 97 {
98 scriptWrappable->toImpl<TestInterfaceCustomConstructor>()->deref(); 98 scriptWrappable->toImpl<TestInterfaceCustomConstructor>()->deref();
99 } 99 }
100 100
101 } // namespace blink 101 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698