| 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 "config.h" | 7 #include "config.h" |
| 8 #include "V8TestInterfaceNamedConstructor.h" | 8 #include "V8TestInterfaceNamedConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace TestInterfaceNamedConstructorV8Internal | 78 } // namespace TestInterfaceNamedConstructorV8Internal |
| 79 | 79 |
| 80 // Suppress warning: global constructors, because AttributeConfiguration is triv
ial | 80 // Suppress warning: global constructors, because AttributeConfiguration is triv
ial |
| 81 // and does not depend on another global objects. | 81 // and does not depend on another global objects. |
| 82 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 82 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 83 #pragma clang diagnostic push | 83 #pragma clang diagnostic push |
| 84 #pragma clang diagnostic ignored "-Wglobal-constructors" | 84 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 85 #endif | 85 #endif |
| 86 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNamedCons
tructorAttributes[] = { | 86 const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNamedConstructor
Attributes[] = { |
| 87 {"testNamedConstructorConstructorAttribute", v8ConstructorAttributeGetter, T
estInterfaceNamedConstructorV8Internal::testNamedConstructorConstructorAttribute
AttributeSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestNamedConstruc
tor::wrapperTypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<
v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder}, | 87 {"testNamedConstructorConstructorAttribute", v8ConstructorAttributeGetter, T
estInterfaceNamedConstructorV8Internal::testNamedConstructorConstructorAttribute
AttributeSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestNamedConstruc
tor::wrapperTypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<
v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder}, |
| 88 }; | 88 }; |
| 89 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 89 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 90 #pragma clang diagnostic pop | 90 #pragma clang diagnostic pop |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 93 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
| 94 // and does not depend on another global objects. | 94 // and does not depend on another global objects. |
| 95 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 95 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 96 #pragma clang diagnostic push | 96 #pragma clang diagnostic push |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 { | 236 { |
| 237 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->ref(); | 237 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->ref(); |
| 238 } | 238 } |
| 239 | 239 |
| 240 void V8TestInterfaceNamedConstructor::derefObject(ScriptWrappable* scriptWrappab
le) | 240 void V8TestInterfaceNamedConstructor::derefObject(ScriptWrappable* scriptWrappab
le) |
| 241 { | 241 { |
| 242 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->deref(); | 242 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->deref(); |
| 243 } | 243 } |
| 244 | 244 |
| 245 } // namespace blink | 245 } // namespace blink |
| OLD | NEW |