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 "V8TestInterfaceConstructor2.h" | 7 #include "V8TestInterfaceConstructor2.h" |
8 | 8 |
9 #include "bindings/core/v8/Dictionary.h" | 9 #include "bindings/core/v8/Dictionary.h" |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
11 #include "bindings/core/v8/V8DOMConfiguration.h" | 11 #include "bindings/core/v8/V8DOMConfiguration.h" |
12 #include "bindings/core/v8/V8ObjectConstructor.h" | 12 #include "bindings/core/v8/V8ObjectConstructor.h" |
13 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 13 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
14 #include "core/dom/Document.h" | 14 #include "core/dom/Document.h" |
15 #include "core/frame/LocalDOMWindow.h" | 15 #include "core/frame/LocalDOMWindow.h" |
16 #include "wtf/GetPtr.h" | 16 #include "wtf/GetPtr.h" |
17 #include "wtf/RefPtr.h" | 17 #include "wtf/RefPtr.h" |
18 | 18 |
19 namespace blink { | 19 namespace blink { |
20 | 20 |
21 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 21 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
22 // and does not depend on another global objects. | 22 // and does not depend on another global objects. |
23 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 23 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
24 #pragma clang diagnostic push | 24 #pragma clang diagnostic push |
25 #pragma clang diagnostic ignored "-Wglobal-constructors" | 25 #pragma clang diagnostic ignored "-Wglobal-constructors" |
26 #endif | 26 #endif |
27 const WrapperTypeInfo V8TestInterfaceConstructor2::wrapperTypeInfo = { gin::kEmb
edderBlink, V8TestInterfaceConstructor2::domTemplate, V8TestInterfaceConstructor
2::refObject, V8TestInterfaceConstructor2::derefObject, V8TestInterfaceConstruct
or2::trace, 0, V8TestInterfaceConstructor2::preparePrototypeAndInterfaceObject,
V8TestInterfaceConstructor2::installConditionallyEnabledProperties, "TestInterfa
ceConstructor2", 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo
::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::In
dependent, WrapperTypeInfo::RefCountedObject }; | 27 const WrapperTypeInfo V8TestInterfaceConstructor2::wrapperTypeInfo = { gin::kEmb
edderBlink, V8TestInterfaceConstructor2::domTemplate, V8TestInterfaceConstructor
2::refObject, V8TestInterfaceConstructor2::derefObject, V8TestInterfaceConstruct
or2::trace, 0, 0, V8TestInterfaceConstructor2::preparePrototypeAndInterfaceObjec
t, V8TestInterfaceConstructor2::installConditionallyEnabledProperties, "TestInte
rfaceConstructor2", 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeI
nfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo:
:Independent, WrapperTypeInfo::RefCountedObject }; |
28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 28 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
29 #pragma clang diagnostic pop | 29 #pragma clang diagnostic pop |
30 #endif | 30 #endif |
31 | 31 |
32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eConstructor2.h. | 32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eConstructor2.h. |
33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
34 // bindings/core/v8/ScriptWrappable.h. | 34 // bindings/core/v8/ScriptWrappable.h. |
35 const WrapperTypeInfo& TestInterfaceConstructor2::s_wrapperTypeInfo = V8TestInte
rfaceConstructor2::wrapperTypeInfo; | 35 const WrapperTypeInfo& TestInterfaceConstructor2::s_wrapperTypeInfo = V8TestInte
rfaceConstructor2::wrapperTypeInfo; |
36 | 36 |
37 namespace TestInterfaceConstructor2V8Internal { | 37 namespace TestInterfaceConstructor2V8Internal { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 { | 259 { |
260 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); | 260 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); |
261 } | 261 } |
262 | 262 |
263 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) | 263 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) |
264 { | 264 { |
265 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 265 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); |
266 } | 266 } |
267 | 267 |
268 } // namespace blink | 268 } // namespace blink |
OLD | NEW |