| 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 "V8TestNode.h" | 8 #include "V8TestNode.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 { | 163 { |
| 164 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 164 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 165 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info); | 165 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info); |
| 166 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 166 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 167 } | 167 } |
| 168 | 168 |
| 169 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) | 169 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 170 { | 170 { |
| 171 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create(); | 171 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create(); |
| 172 v8::Handle<v8::Object> wrapper = info.Holder(); | 172 v8::Handle<v8::Object> wrapper = info.Holder(); |
| 173 V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl.release(), &V8Test
Node::wrapperTypeInfo, wrapper, info.GetIsolate()); | 173 impl.get()->associateWithWrapper(&V8TestNode::wrapperTypeInfo, wrapper, info
.GetIsolate()); |
| 174 v8SetReturnValue(info, wrapper); | 174 v8SetReturnValue(info, wrapper); |
| 175 } | 175 } |
| 176 | 176 |
| 177 } // namespace TestNodeV8Internal | 177 } // namespace TestNodeV8Internal |
| 178 | 178 |
| 179 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] =
{ | 179 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] =
{ |
| 180 {"href", TestNodeV8Internal::hrefAttributeGetterCallback, TestNodeV8Internal
::hrefAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAU
LT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnInstance}, | 180 {"href", TestNodeV8Internal::hrefAttributeGetterCallback, TestNodeV8Internal
::hrefAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAU
LT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnInstance}, |
| 181 {"hrefThrows", TestNodeV8Internal::hrefThrowsAttributeGetterCallback, TestNo
deV8Internal::hrefThrowsAttributeSetterCallback, 0, 0, 0, static_cast<v8::Access
Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 181 {"hrefThrows", TestNodeV8Internal::hrefThrowsAttributeGetterCallback, TestNo
deV8Internal::hrefThrowsAttributeSetterCallback, 0, 0, 0, static_cast<v8::Access
Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
| 182 {"hrefCallWith", TestNodeV8Internal::hrefCallWithAttributeGetterCallback, Te
stNodeV8Internal::hrefCallWithAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 182 {"hrefCallWith", TestNodeV8Internal::hrefCallWithAttributeGetterCallback, Te
stNodeV8Internal::hrefCallWithAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
| 183 {"hrefByteString", TestNodeV8Internal::hrefByteStringAttributeGetterCallback
, TestNodeV8Internal::hrefByteStringAttributeSetterCallback, 0, 0, 0, static_cas
t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 183 {"hrefByteString", TestNodeV8Internal::hrefByteStringAttributeGetterCallback
, TestNodeV8Internal::hrefByteStringAttributeSetterCallback, 0, 0, 0, static_cas
t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 #endif | 268 #endif |
| 269 } | 269 } |
| 270 | 270 |
| 271 template<> | 271 template<> |
| 272 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati
onContext, v8::Isolate* isolate) | 272 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati
onContext, v8::Isolate* isolate) |
| 273 { | 273 { |
| 274 return toV8(impl, creationContext, isolate); | 274 return toV8(impl, creationContext, isolate); |
| 275 } | 275 } |
| 276 | 276 |
| 277 } // namespace blink | 277 } // namespace blink |
| OLD | NEW |