| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 { | 71 { |
| 72 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 72 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 73 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 73 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 74 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); | 74 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); |
| 75 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 75 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace SVGTestInterfaceV8Internal | 78 } // namespace SVGTestInterfaceV8Internal |
| 79 | 79 |
| 80 static const V8DOMConfiguration::AttributeConfiguration V8SVGTestInterfaceAttrib
utes[] = { | 80 static const V8DOMConfiguration::AttributeConfiguration V8SVGTestInterfaceAttrib
utes[] = { |
| 81 {"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, 0 /* on instance */}, | 81 {"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::OnInstance}, |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 static void installV8SVGTestInterfaceTemplate(v8::Handle<v8::FunctionTemplate> f
unctionTemplate, v8::Isolate* isolate) | 84 static void installV8SVGTestInterfaceTemplate(v8::Handle<v8::FunctionTemplate> f
unctionTemplate, v8::Isolate* isolate) |
| 85 { | 85 { |
| 86 functionTemplate->ReadOnlyPrototype(); | 86 functionTemplate->ReadOnlyPrototype(); |
| 87 | 87 |
| 88 v8::Local<v8::Signature> defaultSignature; | 88 v8::Local<v8::Signature> defaultSignature; |
| 89 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl
ate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestInterface::
internalFieldCount, | 89 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl
ate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestInterface::
internalFieldCount, |
| 90 V8SVGTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAttribu
tes), | 90 V8SVGTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAttribu
tes), |
| 91 0, 0, | 91 0, 0, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 fromInternalPointer(object)->deref(); | 150 fromInternalPointer(object)->deref(); |
| 151 } | 151 } |
| 152 | 152 |
| 153 template<> | 153 template<> |
| 154 v8::Handle<v8::Value> toV8NoInline(SVGTestInterface* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 154 v8::Handle<v8::Value> toV8NoInline(SVGTestInterface* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
| 155 { | 155 { |
| 156 return toV8(impl, creationContext, isolate); | 156 return toV8(impl, creationContext, isolate); |
| 157 } | 157 } |
| 158 | 158 |
| 159 } // namespace blink | 159 } // namespace blink |
| OLD | NEW |