| 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 11 matching lines...) Expand all Loading... |
| 22 #include "wtf/RefPtr.h" | 22 #include "wtf/RefPtr.h" |
| 23 | 23 |
| 24 namespace blink { | 24 namespace blink { |
| 25 | 25 |
| 26 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 26 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
| 27 // and does not depend on another global objects. | 27 // and does not depend on another global objects. |
| 28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 29 #pragma clang diagnostic push | 29 #pragma clang diagnostic push |
| 30 #pragma clang diagnostic ignored "-Wglobal-constructors" | 30 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 31 #endif | 31 #endif |
| 32 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::trace
Wrappers, V8TestInterface5::visitDOMWrapper, V8TestInterface5::preparePrototypeA
ndInterfaceObject, nullptr, "TestInterface5", &V8TestInterfaceEmpty::wrapperType
Info, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassI
d, WrapperTypeInfo::InheritFromActiveScriptWrappable, WrapperTypeInfo::NotInheri
tFromEventTarget, WrapperTypeInfo::Dependent }; | 32 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::trace
Wrappers, V8TestInterface5::visitDOMWrapper, V8TestInterface5::preparePrototypeA
ndInterfaceObject, "TestInterface5", &V8TestInterfaceEmpty::wrapperTypeInfo, Wra
pperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrappe
rTypeInfo::InheritFromActiveScriptWrappable, WrapperTypeInfo::NotInheritFromEven
tTarget, WrapperTypeInfo::Dependent }; |
| 33 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 33 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 34 #pragma clang diagnostic pop | 34 #pragma clang diagnostic pop |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. | 37 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. |
| 38 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 38 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 39 // bindings/core/v8/ScriptWrappable.h. | 39 // bindings/core/v8/ScriptWrappable.h. |
| 40 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; | 40 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; |
| 41 | 41 |
| 42 // [ActiveScriptWrappable] | 42 // [ActiveScriptWrappable] |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV
8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 917 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV
8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 918 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC
onfiguration); | 918 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC
onfiguration); |
| 919 } | 919 } |
| 920 if (executionContext && (executionContext->isDocument() || executionContext-
>isServiceWorkerGlobalScope())) { | 920 if (executionContext && (executionContext->isDocument() || executionContext-
>isServiceWorkerGlobalScope())) { |
| 921 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo
sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter
face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback
, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; | 921 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo
sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter
face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback
, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; |
| 922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); | 922 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); |
| 923 } | 923 } |
| 924 } | 924 } |
| 925 | 925 |
| 926 } // namespace blink | 926 } // namespace blink |
| OLD | NEW |