| 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. | 5 // This file has been auto-generated by code_generator_v8.py. |
| 6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
| 7 | 7 |
| 8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
| 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "wtf/RefPtr.h" | 29 #include "wtf/RefPtr.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 33 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
| 34 // and does not depend on another global objects. | 34 // and does not depend on another global objects. |
| 35 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 35 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 36 #pragma clang diagnostic push | 36 #pragma clang diagnostic push |
| 37 #pragma clang diagnostic ignored "-Wglobal-constructors" | 37 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 38 #endif | 38 #endif |
| 39 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::trace
Wrappers, V8TestInterface5::preparePrototypeAndInterfaceObject, "TestInterface5"
, &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectProt
otype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::InheritFromActiveScriptW
rappable, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Dependent
}; | 39 const WrapperTypeInfo V8TestInterface5::wrapperTypeInfo = { gin::kEmbedderBlink,
V8TestInterface5::domTemplate, V8TestInterface5::trace, V8TestInterface5::trace
Wrappers, V8TestInterface5::preparePrototypeAndInterfaceObject, "TestInterface5"
, &V8TestInterfaceEmpty::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectProt
otype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::InheritFromActiveScriptW
rappable, WrapperTypeInfo::Dependent }; |
| 40 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 40 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 41 #pragma clang diagnostic pop | 41 #pragma clang diagnostic pop |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. | 44 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
e5Implementation.h. |
| 45 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 45 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 46 // bindings/core/v8/ScriptWrappable.h. | 46 // bindings/core/v8/ScriptWrappable.h. |
| 47 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; | 47 const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI
nterface5::wrapperTypeInfo; |
| 48 | 48 |
| 49 // [ActiveScriptWrappable] | 49 // [ActiveScriptWrappable] |
| (...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho
dConfiguration = {"windowExposedStaticMethod", V8TestInterface5::windowExposedSt
aticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface,
V8DOMConfiguration::CheckHolder}; | 975 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho
dConfiguration = {"windowExposedStaticMethod", V8TestInterface5::windowExposedSt
aticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface,
V8DOMConfiguration::CheckHolder}; |
| 976 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi
guration); | 976 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi
guration); |
| 977 } | 977 } |
| 978 if (executionContext && (executionContext->isDocument() || executionContext->i
sServiceWorkerGlobalScope())) { | 978 if (executionContext && (executionContext->isDocument() || executionContext->i
sServiceWorkerGlobalScope())) { |
| 979 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM
ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", V8TestInterfa
ce5::windowAndServiceWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8
DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 979 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM
ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", V8TestInterfa
ce5::windowAndServiceWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8
DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 980 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM
ethodConfiguration); | 980 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM
ethodConfiguration); |
| 981 } | 981 } |
| 982 } | 982 } |
| 983 | 983 |
| 984 } // namespace blink | 984 } // namespace blink |
| OLD | NEW |