| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 v8::Local<v8::Value> v8Value = info[0]; | 60 v8::Local<v8::Value> v8Value = info[0]; |
| 61 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 61 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 62 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; | 62 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
| 63 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); | 63 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); |
| 64 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 64 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace SVGTestInterfaceV8Internal | 67 } // namespace SVGTestInterfaceV8Internal |
| 68 | 68 |
| 69 static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccesso
rs[] = { | 69 static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccesso
rs[] = { |
| 70 {"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}, | 70 {"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::CheckHolder}, |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu
nctionTemplate, v8::Isolate* isolate) | 73 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu
nctionTemplate, v8::Isolate* isolate) |
| 74 { | 74 { |
| 75 functionTemplate->ReadOnlyPrototype(); | 75 functionTemplate->ReadOnlyPrototype(); |
| 76 | 76 |
| 77 v8::Local<v8::Signature> defaultSignature; | 77 v8::Local<v8::Signature> defaultSignature; |
| 78 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn
terface::internalFieldCount, | 78 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn
terface::internalFieldCount, |
| 79 0, 0, | 79 0, 0, |
| 80 V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessor
s), | 80 V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessor
s), |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 { | 112 { |
| 113 scriptWrappable->toImpl<SVGTestInterface>()->ref(); | 113 scriptWrappable->toImpl<SVGTestInterface>()->ref(); |
| 114 } | 114 } |
| 115 | 115 |
| 116 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) | 116 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) |
| 117 { | 117 { |
| 118 scriptWrappable->toImpl<SVGTestInterface>()->deref(); | 118 scriptWrappable->toImpl<SVGTestInterface>()->deref(); |
| 119 } | 119 } |
| 120 | 120 |
| 121 } // namespace blink | 121 } // namespace blink |
| OLD | NEW |