Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp

Issue 2758893002: Slim V8DOMConfiguration structs for attributes and accessors. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 namespace TestInterfaceNamedConstructorV8Internal { 56 namespace TestInterfaceNamedConstructorV8Internal {
57 57
58 } // namespace TestInterfaceNamedConstructorV8Internal 58 } // namespace TestInterfaceNamedConstructorV8Internal
59 59
60 // Suppress warning: global constructors, because AttributeConfiguration is triv ial 60 // Suppress warning: global constructors, because AttributeConfiguration is triv ial
61 // and does not depend on another global objects. 61 // and does not depend on another global objects.
62 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 62 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
63 #pragma clang diagnostic push 63 #pragma clang diagnostic push
64 #pragma clang diagnostic ignored "-Wglobal-constructors" 64 #pragma clang diagnostic ignored "-Wglobal-constructors"
65 #endif 65 #endif
66 const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNamedConstructor LazyDataAttributes[] = { 66 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNamedCons tructorLazyDataAttributes[] = {
67 {"testNamedConstructorConstructorAttribute", V8TestNamedConstructor::NamedCo nstructorAttributeGetter, nullptr, nullptr, nullptr, nullptr, const_cast<Wrapper TypeInfo*>(&V8TestNamedConstructor::wrapperTypeInfo), static_cast<v8::PropertyAt tribute>(v8::DontEnum), V8DOMConfiguration::OnInstance, V8DOMConfiguration::Chec kHolder}, 67 {"testNamedConstructorConstructorAttribute", V8TestNamedConstructor::NamedCo nstructorAttributeGetter, nullptr, nullptr, const_cast<WrapperTypeInfo*>(&V8Test NamedConstructor::wrapperTypeInfo), static_cast<v8::PropertyAttribute>(v8::DontE num), V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder, V8DOMConf iguration::AllWorlds},
68 }; 68 };
69 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 69 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
70 #pragma clang diagnostic pop 70 #pragma clang diagnostic pop
71 #endif 71 #endif
72 72
73 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial 73 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial
74 // and does not depend on another global objects. 74 // and does not depend on another global objects.
75 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 75 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
76 #pragma clang diagnostic push 76 #pragma clang diagnostic push
77 #pragma clang diagnostic ignored "-Wglobal-constructors" 77 #pragma clang diagnostic ignored "-Wglobal-constructors"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 TestInterfaceNamedConstructor* V8TestInterfaceNamedConstructor::toImplWithTypeCh eck(v8::Isolate* isolate, v8::Local<v8::Value> value) { 234 TestInterfaceNamedConstructor* V8TestInterfaceNamedConstructor::toImplWithTypeCh eck(v8::Isolate* isolate, v8::Local<v8::Value> value) {
235 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 235 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
236 } 236 }
237 237
238 TestInterfaceNamedConstructor* NativeValueTraits<TestInterfaceNamedConstructor>: :nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& e xceptionState) { 238 TestInterfaceNamedConstructor* NativeValueTraits<TestInterfaceNamedConstructor>: :nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& e xceptionState) {
239 return V8TestInterfaceNamedConstructor::toImplWithTypeCheck(isolate, value); 239 return V8TestInterfaceNamedConstructor::toImplWithTypeCheck(isolate, value);
240 } 240 }
241 241
242 } // namespace blink 242 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698