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 "V8SVGTestInterface.h" | 8 #include "V8SVGTestInterface.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 v8::Local<v8::Value> v8Value = info[0]; | 69 v8::Local<v8::Value> v8Value = info[0]; |
70 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 70 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
71 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 71 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
72 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); | 72 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); |
73 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 73 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
74 } | 74 } |
75 | 75 |
76 } // namespace SVGTestInterfaceV8Internal | 76 } // namespace SVGTestInterfaceV8Internal |
77 | 77 |
78 static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccesso
rs[] = { | 78 static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccesso
rs[] = { |
79 {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInt
erfaceV8Internal::typeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast
<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DO
MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 79 {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInt
erfaceV8Internal::typeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo
ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigur
ation::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration:
:CheckHolder}, |
80 }; | 80 }; |
81 | 81 |
82 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu
nctionTemplate, v8::Isolate* isolate) | 82 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu
nctionTemplate, v8::Isolate* isolate) |
83 { | 83 { |
84 functionTemplate->ReadOnlyPrototype(); | 84 functionTemplate->ReadOnlyPrototype(); |
85 | 85 |
86 v8::Local<v8::Signature> defaultSignature; | 86 v8::Local<v8::Signature> defaultSignature; |
87 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn
terface::internalFieldCount, | 87 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn
terface::internalFieldCount, |
88 0, 0, | 88 0, 0, |
89 V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessor
s), | 89 V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessor
s), |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 { | 121 { |
122 scriptWrappable->toImpl<SVGTestInterface>()->ref(); | 122 scriptWrappable->toImpl<SVGTestInterface>()->ref(); |
123 } | 123 } |
124 | 124 |
125 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) | 125 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) |
126 { | 126 { |
127 scriptWrappable->toImpl<SVGTestInterface>()->deref(); | 127 scriptWrappable->toImpl<SVGTestInterface>()->deref(); |
128 } | 128 } |
129 | 129 |
130 } // namespace blink | 130 } // namespace blink |
OLD | NEW |