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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); | 61 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); |
62 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 62 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
63 } | 63 } |
64 | 64 |
65 } // namespace SVGTestInterfaceV8Internal | 65 } // namespace SVGTestInterfaceV8Internal |
66 | 66 |
67 static const V8DOMConfiguration::AttributeConfiguration V8SVGTestInterfaceAttrib
utes[] = { | 67 static const V8DOMConfiguration::AttributeConfiguration V8SVGTestInterfaceAttrib
utes[] = { |
68 {"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}, | 68 {"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}, |
69 }; | 69 }; |
70 | 70 |
71 static void installV8SVGTestInterfaceTemplate(v8::Handle<v8::FunctionTemplate> f
unctionTemplate, v8::Isolate* isolate) | 71 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu
nctionTemplate, v8::Isolate* isolate) |
72 { | 72 { |
73 functionTemplate->ReadOnlyPrototype(); | 73 functionTemplate->ReadOnlyPrototype(); |
74 | 74 |
75 v8::Local<v8::Signature> defaultSignature; | 75 v8::Local<v8::Signature> defaultSignature; |
76 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn
terface::internalFieldCount, | 76 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn
terface::internalFieldCount, |
77 V8SVGTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAttribu
tes), | 77 V8SVGTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAttribu
tes), |
78 0, 0, | 78 0, 0, |
79 0, 0); | 79 0, 0); |
80 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 80 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
81 ALLOW_UNUSED_LOCAL(instanceTemplate); | 81 ALLOW_UNUSED_LOCAL(instanceTemplate); |
(...skipping 28 matching lines...) Expand all Loading... |
110 { | 110 { |
111 scriptWrappable->toImpl<SVGTestInterface>()->ref(); | 111 scriptWrappable->toImpl<SVGTestInterface>()->ref(); |
112 } | 112 } |
113 | 113 |
114 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) | 114 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) |
115 { | 115 { |
116 scriptWrappable->toImpl<SVGTestInterface>()->deref(); | 116 scriptWrappable->toImpl<SVGTestInterface>()->deref(); |
117 } | 117 } |
118 | 118 |
119 } // namespace blink | 119 } // namespace blink |
OLD | NEW |