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 "V8TestSpecialOperations.h" | 7 #include "V8TestSpecialOperations.h" |
8 | 8 |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
10 #include "bindings/core/v8/UnionTypesCore.h" | 10 #include "bindings/core/v8/UnionTypesCore.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 V8TestSpecialOperations::wrapperTypeInfo = { gin::kEmbedde
rBlink, V8TestSpecialOperations::domTemplate, V8TestSpecialOperations::refObject
, V8TestSpecialOperations::derefObject, V8TestSpecialOperations::trace, 0, V8Tes
tSpecialOperations::preparePrototypeAndInterfaceObject, V8TestSpecialOperations:
:installConditionallyEnabledProperties, "TestSpecialOperations", 0, WrapperTypeI
nfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo
::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefC
ountedObject }; | 31 const WrapperTypeInfo V8TestSpecialOperations::wrapperTypeInfo = { gin::kEmbedde
rBlink, V8TestSpecialOperations::domTemplate, V8TestSpecialOperations::refObject
, V8TestSpecialOperations::derefObject, V8TestSpecialOperations::trace, 0, 0, V8
TestSpecialOperations::preparePrototypeAndInterfaceObject, V8TestSpecialOperatio
ns::installConditionallyEnabledProperties, "TestSpecialOperations", 0, WrapperTy
peInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeI
nfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::R
efCountedObject }; |
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 TestSpecialO
perations.h. | 36 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO
perations.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& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO
perations::wrapperTypeInfo; | 39 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO
perations::wrapperTypeInfo; |
40 | 40 |
41 namespace TestSpecialOperationsV8Internal { | 41 namespace TestSpecialOperationsV8Internal { |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 { | 191 { |
192 scriptWrappable->toImpl<TestSpecialOperations>()->ref(); | 192 scriptWrappable->toImpl<TestSpecialOperations>()->ref(); |
193 } | 193 } |
194 | 194 |
195 void V8TestSpecialOperations::derefObject(ScriptWrappable* scriptWrappable) | 195 void V8TestSpecialOperations::derefObject(ScriptWrappable* scriptWrappable) |
196 { | 196 { |
197 scriptWrappable->toImpl<TestSpecialOperations>()->deref(); | 197 scriptWrappable->toImpl<TestSpecialOperations>()->deref(); |
198 } | 198 } |
199 | 199 |
200 } // namespace blink | 200 } // namespace blink |
OLD | NEW |