| 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 "V8TestInterface5.h" | 7 #include "V8TestInterface5.h" |
| 8 | 8 |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/ScriptState.h" | 10 #include "bindings/core/v8/ScriptState.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "wtf/RefPtr.h" | 21 #include "wtf/RefPtr.h" |
| 22 | 22 |
| 23 namespace blink { | 23 namespace blink { |
| 24 | 24 |
| 25 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 25 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
| 26 // and does not depend on another global objects. | 26 // and does not depend on another global objects. |
| 27 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 27 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 28 #pragma clang diagnostic push | 28 #pragma clang diagnostic push |
| 29 #pragma clang diagnostic ignored "-Wglobal-constructors" | 29 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 30 #endif | 30 #endif |
| 31 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::toAct
iveScriptWrappable, V8TestInterface5::visitDOMWrapper, V8TestInterface5::prepare
PrototypeAndInterfaceObject, V8TestInterface5::installConditionallyEnabledProper
ties, "TestInterface5", &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeInfo:
:WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::No
tInheritFromEventTarget, WrapperTypeInfo::Dependent }; | 31 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::toAct
iveScriptWrappable, V8TestInterface5::visitDOMWrapper, V8TestInterface5::prepare
PrototypeAndInterfaceObject, nullptr, "TestInterface5", &V8TestInterfaceEmpty::w
rapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::Ob
jectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Depend
ent }; |
| 32 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 32 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 33 #pragma clang diagnostic pop | 33 #pragma clang diagnostic pop |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. | 36 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. |
| 37 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 37 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 38 // bindings/core/v8/ScriptWrappable.h. | 38 // bindings/core/v8/ScriptWrappable.h. |
| 39 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; | 39 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; |
| 40 | 40 |
| 41 namespace TestInterface5ImplementationV8Internal { | 41 namespace TestInterface5ImplementationV8Internal { |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); | 915 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); |
| 916 } | 916 } |
| 917 } | 917 } |
| 918 | 918 |
| 919 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O
bject> wrapper) | 919 ActiveScriptWrappable* V8TestInterface5::toActiveScriptWrappable(v8::Local<v8::O
bject> wrapper) |
| 920 { | 920 { |
| 921 return toImpl(wrapper); | 921 return toImpl(wrapper); |
| 922 } | 922 } |
| 923 | 923 |
| 924 } // namespace blink | 924 } // namespace blink |
| OLD | NEW |