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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.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 "V8SVGTestInterface.h" 9 #include "V8SVGTestInterface.h"
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 v8::Local<v8::Value> v8Value = info[0]; 82 v8::Local<v8::Value> v8Value = info[0];
83 83
84 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; 84 V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
85 85
86 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); 86 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
87 } 87 }
88 88
89 } // namespace SVGTestInterfaceV8Internal 89 } // namespace SVGTestInterfaceV8Internal
90 90
91 const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccessors[] = { 91 const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccessors[] = {
92 {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInt erfaceV8Internal::typeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, st atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri pts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 92 {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInt erfaceV8Internal::typeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, st atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnPrototype, V8D OMConfiguration::CheckHolder},
93 }; 93 };
94 94
95 static void installV8SVGTestInterfaceTemplate(v8::Isolate* isolate, const DOMWra pperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { 95 static void installV8SVGTestInterfaceTemplate(v8::Isolate* isolate, const DOMWra pperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
96 // Initialize the interface object's template. 96 // Initialize the interface object's template.
97 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8SVGTestInterface::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTempla te>(), V8SVGTestInterface::internalFieldCount); 97 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8SVGTestInterface::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTempla te>(), V8SVGTestInterface::internalFieldCount);
98 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 98 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
99 ALLOW_UNUSED_LOCAL(signature); 99 ALLOW_UNUSED_LOCAL(signature);
100 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate(); 100 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate();
101 ALLOW_UNUSED_LOCAL(instanceTemplate); 101 ALLOW_UNUSED_LOCAL(instanceTemplate);
102 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype Template(); 102 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype Template();
(...skipping 13 matching lines...) Expand all
116 116
117 v8::Local<v8::Object> V8SVGTestInterface::findInstanceInPrototypeChain(v8::Local <v8::Value> v8Value, v8::Isolate* isolate) { 117 v8::Local<v8::Object> V8SVGTestInterface::findInstanceInPrototypeChain(v8::Local <v8::Value> v8Value, v8::Isolate* isolate) {
118 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value); 118 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value);
119 } 119 }
120 120
121 SVGTestInterface* V8SVGTestInterface::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { 121 SVGTestInterface* V8SVGTestInterface::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) {
122 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 122 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
123 } 123 }
124 124
125 } // namespace blink 125 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698