OLD | NEW |
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 "V8TestInterfaceConstructor3.h" | 8 #include "V8TestInterfaceConstructor3.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 } | 57 } |
58 | 58 |
59 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 59 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
60 v8SetReturnValue(info, info.Holder()); | 60 v8SetReturnValue(info, info.Holder()); |
61 return; | 61 return; |
62 } | 62 } |
63 | 63 |
64 TestInterfaceConstructor3V8Internal::constructor(info); | 64 TestInterfaceConstructor3V8Internal::constructor(info); |
65 } | 65 } |
66 | 66 |
67 static void installV8TestInterfaceConstructor3Template(v8::Handle<v8::FunctionTe
mplate> functionTemplate, v8::Isolate* isolate) | 67 static void installV8TestInterfaceConstructor3Template(v8::Local<v8::FunctionTem
plate> functionTemplate, v8::Isolate* isolate) |
68 { | 68 { |
69 functionTemplate->ReadOnlyPrototype(); | 69 functionTemplate->ReadOnlyPrototype(); |
70 | 70 |
71 v8::Local<v8::Signature> defaultSignature; | 71 v8::Local<v8::Signature> defaultSignature; |
72 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor3", v8::Local<v8::FunctionTemplate>(), V8
TestInterfaceConstructor3::internalFieldCount, | 72 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceConstructor3", v8::Local<v8::FunctionTemplate>(), V8
TestInterfaceConstructor3::internalFieldCount, |
73 0, 0, | 73 0, 0, |
74 0, 0, | 74 0, 0, |
75 0, 0); | 75 0, 0); |
76 functionTemplate->SetCallHandler(V8TestInterfaceConstructor3::constructorCal
lback); | 76 functionTemplate->SetCallHandler(V8TestInterfaceConstructor3::constructorCal
lback); |
77 functionTemplate->SetLength(1); | 77 functionTemplate->SetLength(1); |
(...skipping 30 matching lines...) Expand all Loading... |
108 { | 108 { |
109 scriptWrappable->toImpl<TestInterfaceConstructor3>()->ref(); | 109 scriptWrappable->toImpl<TestInterfaceConstructor3>()->ref(); |
110 } | 110 } |
111 | 111 |
112 void V8TestInterfaceConstructor3::derefObject(ScriptWrappable* scriptWrappable) | 112 void V8TestInterfaceConstructor3::derefObject(ScriptWrappable* scriptWrappable) |
113 { | 113 { |
114 scriptWrappable->toImpl<TestInterfaceConstructor3>()->deref(); | 114 scriptWrappable->toImpl<TestInterfaceConstructor3>()->deref(); |
115 } | 115 } |
116 | 116 |
117 } // namespace blink | 117 } // namespace blink |
OLD | NEW |