| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 { | 147 { |
| 148 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 148 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 149 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info); | 149 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info); |
| 150 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 150 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 151 } | 151 } |
| 152 | 152 |
| 153 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) | 153 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 154 { | 154 { |
| 155 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create(); | 155 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create(); |
| 156 v8::Handle<v8::Object> wrapper = info.Holder(); | 156 v8::Handle<v8::Object> wrapper = info.Holder(); |
| 157 impl->associateWithWrapper(&V8TestNode::wrapperTypeInfo, wrapper, info.GetIs
olate()); | 157 impl->associateWithWrapper(info.GetIsolate(), &V8TestNode::wrapperTypeInfo,
wrapper); |
| 158 v8SetReturnValue(info, wrapper); | 158 v8SetReturnValue(info, wrapper); |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace TestNodeV8Internal | 161 } // namespace TestNodeV8Internal |
| 162 | 162 |
| 163 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] =
{ | 163 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] =
{ |
| 164 {"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}, | 164 {"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}, |
| 165 {"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}, | 165 {"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}, |
| 166 {"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}, | 166 {"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}, |
| 167 {"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}, | 167 {"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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 #endif | 238 #endif |
| 239 } | 239 } |
| 240 | 240 |
| 241 template<> | 241 template<> |
| 242 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati
onContext, v8::Isolate* isolate) | 242 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati
onContext, v8::Isolate* isolate) |
| 243 { | 243 { |
| 244 return toV8(impl, creationContext, isolate); | 244 return toV8(impl, creationContext, isolate); |
| 245 } | 245 } |
| 246 | 246 |
| 247 } // namespace blink | 247 } // namespace blink |
| OLD | NEW |