| 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 "V8TestInterfaceDocument.h" | 8 #include "V8TestInterfaceDocument.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eDocument.h. | 25 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eDocument.h. |
| 26 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 26 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 27 // bindings/core/v8/ScriptWrappable.h. | 27 // bindings/core/v8/ScriptWrappable.h. |
| 28 const WrapperTypeInfo& TestInterfaceDocument::s_wrapperTypeInfo = V8TestInterfac
eDocument::wrapperTypeInfo; | 28 const WrapperTypeInfo& TestInterfaceDocument::s_wrapperTypeInfo = V8TestInterfac
eDocument::wrapperTypeInfo; |
| 29 | 29 |
| 30 namespace TestInterfaceDocumentV8Internal { | 30 namespace TestInterfaceDocumentV8Internal { |
| 31 | 31 |
| 32 } // namespace TestInterfaceDocumentV8Internal | 32 } // namespace TestInterfaceDocumentV8Internal |
| 33 | 33 |
| 34 static void installV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTempla
te> functionTemplate, v8::Isolate* isolate) | 34 static void installV8TestInterfaceDocumentTemplate(v8::Local<v8::FunctionTemplat
e> functionTemplate, v8::Isolate* isolate) |
| 35 { | 35 { |
| 36 functionTemplate->ReadOnlyPrototype(); | 36 functionTemplate->ReadOnlyPrototype(); |
| 37 | 37 |
| 38 v8::Local<v8::Signature> defaultSignature; | 38 v8::Local<v8::Signature> defaultSignature; |
| 39 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceDocument", V8Document::domTemplate(isolate), V8TestI
nterfaceDocument::internalFieldCount, | 39 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceDocument", V8Document::domTemplate(isolate), V8TestI
nterfaceDocument::internalFieldCount, |
| 40 0, 0, | 40 0, 0, |
| 41 0, 0, | 41 0, 0, |
| 42 0, 0); | 42 0, 0); |
| 43 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 43 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 44 ALLOW_UNUSED_LOCAL(instanceTemplate); | 44 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 | 78 |
| 79 void V8TestInterfaceDocument::derefObject(ScriptWrappable* scriptWrappable) | 79 void V8TestInterfaceDocument::derefObject(ScriptWrappable* scriptWrappable) |
| 80 { | 80 { |
| 81 #if !ENABLE(OILPAN) | 81 #if !ENABLE(OILPAN) |
| 82 scriptWrappable->toImpl<TestInterfaceDocument>()->deref(); | 82 scriptWrappable->toImpl<TestInterfaceDocument>()->deref(); |
| 83 #endif | 83 #endif |
| 84 } | 84 } |
| 85 | 85 |
| 86 } // namespace blink | 86 } // namespace blink |
| OLD | NEW |