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

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

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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 // clang-format off 8 // clang-format off
9 #include "V8TestInterfaceNamedConstructor.h" 9 #include "V8TestInterfaceNamedConstructor.h"
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 } // namespace TestInterfaceNamedConstructorV8Internal 53 } // namespace TestInterfaceNamedConstructorV8Internal
54 54
55 // Suppress warning: global constructors, because AttributeConfiguration is triv ial 55 // Suppress warning: global constructors, because AttributeConfiguration is triv ial
56 // and does not depend on another global objects. 56 // and does not depend on another global objects.
57 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 57 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
58 #pragma clang diagnostic push 58 #pragma clang diagnostic push
59 #pragma clang diagnostic ignored "-Wglobal-constructors" 59 #pragma clang diagnostic ignored "-Wglobal-constructors"
60 #endif 60 #endif
61 const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNamedConstructor LazyDataAttributes[] = { 61 const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNamedConstructor LazyDataAttributes[] = {
62 {"testNamedConstructorConstructorAttribute", v8ConstructorAttributeGetter, 0 , 0, 0, nullptr, const_cast<WrapperTypeInfo*>(&V8TestNamedConstructor::wrapperTy peInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurat ion::OnInstance, V8DOMConfiguration::CheckHolder}, 62 {"testNamedConstructorConstructorAttribute", v8ConstructorAttributeGetter, 0 , 0, 0, nullptr, const_cast<WrapperTypeInfo*>(&V8TestNamedConstructor::wrapperTy peInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::DontEnum), V8DOMConfiguration::OnInstance, V8DOMConfiguration::Chec kHolder},
63 }; 63 };
64 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 64 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
65 #pragma clang diagnostic pop 65 #pragma clang diagnostic pop
66 #endif 66 #endif
67 67
68 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial 68 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv ial
69 // and does not depend on another global objects. 69 // and does not depend on another global objects.
70 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 70 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
71 #pragma clang diagnostic push 71 #pragma clang diagnostic push
72 #pragma clang diagnostic ignored "-Wglobal-constructors" 72 #pragma clang diagnostic ignored "-Wglobal-constructors"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 v8::Local<v8::Object> V8TestInterfaceNamedConstructor::findInstanceInPrototypeCh ain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { 195 v8::Local<v8::Object> V8TestInterfaceNamedConstructor::findInstanceInPrototypeCh ain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
196 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value); 196 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value);
197 } 197 }
198 198
199 TestInterfaceNamedConstructor* V8TestInterfaceNamedConstructor::toImplWithTypeCh eck(v8::Isolate* isolate, v8::Local<v8::Value> value) { 199 TestInterfaceNamedConstructor* V8TestInterfaceNamedConstructor::toImplWithTypeCh eck(v8::Isolate* isolate, v8::Local<v8::Value> value) {
200 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 200 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
201 } 201 }
202 202
203 } // namespace blink 203 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698