| 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 "V8TestInterfaceGarbageCollected.h" | 8 #include "V8TestInterfaceGarbageCollected.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 } | 116 } |
| 117 | 117 |
| 118 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 118 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
| 119 v8SetReturnValue(info, info.Holder()); | 119 v8SetReturnValue(info, info.Holder()); |
| 120 return; | 120 return; |
| 121 } | 121 } |
| 122 | 122 |
| 123 TestInterfaceGarbageCollectedV8Internal::constructor(info); | 123 TestInterfaceGarbageCollectedV8Internal::constructor(info); |
| 124 } | 124 } |
| 125 | 125 |
| 126 static void installV8TestInterfaceGarbageCollectedTemplate(v8::Handle<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) | 126 static void installV8TestInterfaceGarbageCollectedTemplate(v8::Local<v8::Functio
nTemplate> functionTemplate, v8::Isolate* isolate) |
| 127 { | 127 { |
| 128 functionTemplate->ReadOnlyPrototype(); | 128 functionTemplate->ReadOnlyPrototype(); |
| 129 | 129 |
| 130 v8::Local<v8::Signature> defaultSignature; | 130 v8::Local<v8::Signature> defaultSignature; |
| 131 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceGarbageCollected", V8EventTarget::domTemplate(isolat
e), V8TestInterfaceGarbageCollected::internalFieldCount, | 131 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceGarbageCollected", V8EventTarget::domTemplate(isolat
e), V8TestInterfaceGarbageCollected::internalFieldCount, |
| 132 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf
aceGarbageCollectedAttributes), | 132 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf
aceGarbageCollectedAttributes), |
| 133 0, 0, | 133 0, 0, |
| 134 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface
GarbageCollectedMethods)); | 134 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface
GarbageCollectedMethods)); |
| 135 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo
rCallback); | 135 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo
rCallback); |
| 136 functionTemplate->SetLength(1); | 136 functionTemplate->SetLength(1); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 165 | 165 |
| 166 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable
) | 166 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable
) |
| 167 { | 167 { |
| 168 } | 168 } |
| 169 | 169 |
| 170 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab
le) | 170 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab
le) |
| 171 { | 171 { |
| 172 } | 172 } |
| 173 | 173 |
| 174 } // namespace blink | 174 } // namespace blink |
| OLD | NEW |