| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf
aceGarbageCollectedAttributes), | 364 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf
aceGarbageCollectedAttributes), |
| 365 0, 0, | 365 0, 0, |
| 366 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface
GarbageCollectedMethods)); | 366 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface
GarbageCollectedMethods)); |
| 367 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo
rCallback); | 367 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo
rCallback); |
| 368 functionTemplate->SetLength(1); | 368 functionTemplate->SetLength(1); |
| 369 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 369 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 370 ALLOW_UNUSED_LOCAL(instanceTemplate); | 370 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 371 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 371 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 372 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 372 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 373 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceGarbageCollectedV
8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; | 373 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceGarbageCollectedV
8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; |
| 374 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); | 374 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, v8::DontDelete, symbolKeyedIteratorConfiguration); |
| 375 | 375 |
| 376 // Custom toString template | 376 // Custom toString template |
| 377 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 377 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 378 } | 378 } |
| 379 | 379 |
| 380 v8::Local<v8::FunctionTemplate> V8TestInterfaceGarbageCollected::domTemplate(v8:
:Isolate* isolate) | 380 v8::Local<v8::FunctionTemplate> V8TestInterfaceGarbageCollected::domTemplate(v8:
:Isolate* isolate) |
| 381 { | 381 { |
| 382 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceGarbageCollectedTemplate); | 382 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceGarbageCollectedTemplate); |
| 383 } | 383 } |
| 384 | 384 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 399 | 399 |
| 400 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable
) | 400 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable
) |
| 401 { | 401 { |
| 402 } | 402 } |
| 403 | 403 |
| 404 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab
le) | 404 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab
le) |
| 405 { | 405 { |
| 406 } | 406 } |
| 407 | 407 |
| 408 } // namespace blink | 408 } // namespace blink |
| OLD | NEW |