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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceConstructor4.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 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 "V8TestInterfaceConstructor4.h" 8 #include "V8TestInterfaceConstructor4.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) { 92 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) {
93 v8SetReturnValue(info, info.Holder()); 93 v8SetReturnValue(info, info.Holder());
94 return; 94 return;
95 } 95 }
96 96
97 TestInterfaceConstructor4V8Internal::constructor(info); 97 TestInterfaceConstructor4V8Internal::constructor(info);
98 } 98 }
99 99
100 static void installV8TestInterfaceConstructor4Template(v8::Handle<v8::FunctionTe mplate> functionTemplate, v8::Isolate* isolate) 100 static void installV8TestInterfaceConstructor4Template(v8::Local<v8::FunctionTem plate> functionTemplate, v8::Isolate* isolate)
101 { 101 {
102 functionTemplate->ReadOnlyPrototype(); 102 functionTemplate->ReadOnlyPrototype();
103 103
104 v8::Local<v8::Signature> defaultSignature; 104 v8::Local<v8::Signature> defaultSignature;
105 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceConstructor4", v8::Local<v8::FunctionTemplate>(), V8 TestInterfaceConstructor4::internalFieldCount, 105 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceConstructor4", v8::Local<v8::FunctionTemplate>(), V8 TestInterfaceConstructor4::internalFieldCount,
106 0, 0, 106 0, 0,
107 0, 0, 107 0, 0,
108 0, 0); 108 0, 0);
109 functionTemplate->SetCallHandler(V8TestInterfaceConstructor4::constructorCal lback); 109 functionTemplate->SetCallHandler(V8TestInterfaceConstructor4::constructorCal lback);
110 functionTemplate->SetLength(1); 110 functionTemplate->SetLength(1);
(...skipping 30 matching lines...) Expand all
141 { 141 {
142 scriptWrappable->toImpl<TestInterfaceConstructor4>()->ref(); 142 scriptWrappable->toImpl<TestInterfaceConstructor4>()->ref();
143 } 143 }
144 144
145 void V8TestInterfaceConstructor4::derefObject(ScriptWrappable* scriptWrappable) 145 void V8TestInterfaceConstructor4::derefObject(ScriptWrappable* scriptWrappable)
146 { 146 {
147 scriptWrappable->toImpl<TestInterfaceConstructor4>()->deref(); 147 scriptWrappable->toImpl<TestInterfaceConstructor4>()->deref();
148 } 148 }
149 149
150 } // namespace blink 150 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698