| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 static void stringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Va
lue>& info) | 79 static void stringAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Va
lue>& info) |
| 80 { | 80 { |
| 81 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 81 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 82 v8SetReturnValueString(info, imp->stringAttribute(), info.GetIsolate()); | 82 v8SetReturnValueString(info, imp->stringAttribute(), info.GetIsolate()); |
| 83 } | 83 } |
| 84 | 84 |
| 85 static void stringAttributeAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) | 85 static void stringAttributeAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) |
| 86 { | 86 { |
| 87 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 87 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 88 TestInterfaceNodeV8Internal::stringAttributeAttributeGetter(info); | 88 TestInterfaceNodeV8Internal::stringAttributeAttributeGetter(info); |
| 89 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 89 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 90 } | 90 } |
| 91 | 91 |
| 92 static void stringAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v
8::PropertyCallbackInfo<void>& info) | 92 static void stringAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v
8::PropertyCallbackInfo<void>& info) |
| 93 { | 93 { |
| 94 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 94 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 95 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); | 95 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
| 96 imp->setStringAttribute(cppValue); | 96 imp->setStringAttribute(cppValue); |
| 97 } | 97 } |
| 98 | 98 |
| 99 static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 99 static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Lo
cal<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 100 { | 100 { |
| 101 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 101 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 102 TestInterfaceNodeV8Internal::stringAttributeAttributeSetter(jsValue, info); | 102 TestInterfaceNodeV8Internal::stringAttributeAttributeSetter(jsValue, info); |
| 103 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 103 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 104 } | 104 } |
| 105 | 105 |
| 106 static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::Propert
yCallbackInfo<v8::Value>& info) | 106 static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::Propert
yCallbackInfo<v8::Value>& info) |
| 107 { | 107 { |
| 108 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 108 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 109 v8SetReturnValueFast(info, imp->readonlyTestInterfaceEmptyAttribute(), imp); | 109 v8SetReturnValueFast(info, imp->readonlyTestInterfaceEmptyAttribute(), imp); |
| 110 } | 110 } |
| 111 | 111 |
| 112 static void readonlyTestInterfaceEmptyAttributeAttributeGetterCallback(v8::Local
<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 112 static void readonlyTestInterfaceEmptyAttributeAttributeGetterCallback(v8::Local
<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 113 { | 113 { |
| 114 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 114 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 115 TestInterfaceNodeV8Internal::readonlyTestInterfaceEmptyAttributeAttributeGet
ter(info); | 115 TestInterfaceNodeV8Internal::readonlyTestInterfaceEmptyAttributeAttributeGet
ter(info); |
| 116 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 116 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 117 } | 117 } |
| 118 | 118 |
| 119 static void eventHandlerAttributeAttributeGetter(const v8::PropertyCallbackInfo<
v8::Value>& info) | 119 static void eventHandlerAttributeAttributeGetter(const v8::PropertyCallbackInfo<
v8::Value>& info) |
| 120 { | 120 { |
| 121 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 121 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 122 EventListener* jsValue = imp->eventHandlerAttribute(isolatedWorldForIsolate(
info.GetIsolate())); | 122 EventListener* jsValue = imp->eventHandlerAttribute(isolatedWorldForIsolate(
info.GetIsolate())); |
| 123 v8SetReturnValue(info, jsValue ? v8::Handle<v8::Value>(V8AbstractEventListen
er::cast(jsValue)->getListenerObject(imp->executionContext())) : v8::Handle<v8::
Value>(v8::Null(info.GetIsolate()))); | 123 v8SetReturnValue(info, jsValue ? v8::Handle<v8::Value>(V8AbstractEventListen
er::cast(jsValue)->getListenerObject(imp->executionContext())) : v8::Handle<v8::
Value>(v8::Null(info.GetIsolate()))); |
| 124 } | 124 } |
| 125 | 125 |
| 126 static void eventHandlerAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 126 static void eventHandlerAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
| 127 { | 127 { |
| 128 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 128 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 129 TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeGetter(info); | 129 TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeGetter(info); |
| 130 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 130 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 131 } | 131 } |
| 132 | 132 |
| 133 static void eventHandlerAttributeAttributeSetter(v8::Local<v8::Value> jsValue, c
onst v8::PropertyCallbackInfo<void>& info) | 133 static void eventHandlerAttributeAttributeSetter(v8::Local<v8::Value> jsValue, c
onst v8::PropertyCallbackInfo<void>& info) |
| 134 { | 134 { |
| 135 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 135 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 136 imp->setEventHandlerAttribute(V8EventListenerList::getEventListener(jsValue,
true, ListenerFindOrCreate), isolatedWorldForIsolate(info.GetIsolate())); | 136 imp->setEventHandlerAttribute(V8EventListenerList::getEventListener(jsValue,
true, ListenerFindOrCreate), isolatedWorldForIsolate(info.GetIsolate())); |
| 137 } | 137 } |
| 138 | 138 |
| 139 static void eventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 139 static void eventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 140 { | 140 { |
| 141 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 141 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 142 TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeSetter(jsValue, i
nfo); | 142 TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeSetter(jsValue, i
nfo); |
| 143 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 143 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 144 } | 144 } |
| 145 | 145 |
| 146 static void reflectStringAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 146 static void reflectStringAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
| 147 { | 147 { |
| 148 Element* imp = V8Element::toNative(info.Holder()); | 148 Element* imp = V8Element::toNative(info.Holder()); |
| 149 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectstringa
ttributeAttr), info.GetIsolate()); | 149 v8SetReturnValueString(info, imp->fastGetAttribute(HTMLNames::reflectstringa
ttributeAttr), info.GetIsolate()); |
| 150 } | 150 } |
| 151 | 151 |
| 152 static void reflectStringAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 152 static void reflectStringAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
| 153 { | 153 { |
| 154 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 154 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 155 TestInterfaceNodeV8Internal::reflectStringAttributeAttributeGetter(info); | 155 TestInterfaceNodeV8Internal::reflectStringAttributeAttributeGetter(info); |
| 156 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 156 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 157 } | 157 } |
| 158 | 158 |
| 159 static void reflectStringAttributeAttributeSetter(v8::Local<v8::Value> jsValue,
const v8::PropertyCallbackInfo<void>& info) | 159 static void reflectStringAttributeAttributeSetter(v8::Local<v8::Value> jsValue,
const v8::PropertyCallbackInfo<void>& info) |
| 160 { | 160 { |
| 161 Element* imp = V8Element::toNative(info.Holder()); | 161 Element* imp = V8Element::toNative(info.Holder()); |
| 162 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); | 162 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
| 163 imp->setAttribute(HTMLNames::reflectstringattributeAttr, cppValue); | 163 imp->setAttribute(HTMLNames::reflectstringattributeAttr, cppValue); |
| 164 } | 164 } |
| 165 | 165 |
| 166 static void reflectStringAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 166 static void reflectStringAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 167 { | 167 { |
| 168 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 168 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 169 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 169 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 170 TestInterfaceNodeV8Internal::reflectStringAttributeAttributeSetter(jsValue,
info); | 170 TestInterfaceNodeV8Internal::reflectStringAttributeAttributeSetter(jsValue,
info); |
| 171 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 171 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 172 } | 172 } |
| 173 | 173 |
| 174 static void reflectUrlStringAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) | 174 static void reflectUrlStringAttributeAttributeGetter(const v8::PropertyCallbackI
nfo<v8::Value>& info) |
| 175 { | 175 { |
| 176 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 176 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 177 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflecturlstrin
gattributeAttr), info.GetIsolate()); | 177 v8SetReturnValueString(info, imp->getURLAttribute(HTMLNames::reflecturlstrin
gattributeAttr), info.GetIsolate()); |
| 178 } | 178 } |
| 179 | 179 |
| 180 static void reflectUrlStringAttributeAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) | 180 static void reflectUrlStringAttributeAttributeGetterCallback(v8::Local<v8::Strin
g>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 181 { | 181 { |
| 182 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 182 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 183 TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeGetter(info); | 183 TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeGetter(info); |
| 184 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 184 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 185 } | 185 } |
| 186 | 186 |
| 187 static void reflectUrlStringAttributeAttributeSetter(v8::Local<v8::Value> jsValu
e, const v8::PropertyCallbackInfo<void>& info) | 187 static void reflectUrlStringAttributeAttributeSetter(v8::Local<v8::Value> jsValu
e, const v8::PropertyCallbackInfo<void>& info) |
| 188 { | 188 { |
| 189 Element* imp = V8Element::toNative(info.Holder()); | 189 Element* imp = V8Element::toNative(info.Holder()); |
| 190 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); | 190 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
| 191 imp->setAttribute(HTMLNames::reflecturlstringattributeAttr, cppValue); | 191 imp->setAttribute(HTMLNames::reflecturlstringattributeAttr, cppValue); |
| 192 } | 192 } |
| 193 | 193 |
| 194 static void reflectUrlStringAttributeAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) | 194 static void reflectUrlStringAttributeAttributeSetterCallback(v8::Local<v8::Strin
g>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
| 195 { | 195 { |
| 196 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 196 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 197 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; | 197 CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
| 198 TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeSetter(jsValu
e, info); | 198 TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeSetter(jsValu
e, info); |
| 199 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 199 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 200 } | 200 } |
| 201 | 201 |
| 202 static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) | 202 static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) |
| 203 { | 203 { |
| 204 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); | 204 TestInterfaceNode* imp = V8TestInterfaceNode::toNative(info.Holder()); |
| 205 v8SetReturnValueFast(info, imp->testInterfaceEmptyMethod(), imp); | 205 v8SetReturnValueFast(info, imp->testInterfaceEmptyMethod(), imp); |
| 206 } | 206 } |
| 207 | 207 |
| 208 static void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& info) | 208 static void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 209 { | 209 { |
| 210 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 210 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 211 TestInterfaceNodeV8Internal::testInterfaceEmptyMethodMethod(info); | 211 TestInterfaceNodeV8Internal::testInterfaceEmptyMethodMethod(info); |
| 212 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 212 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 213 } | 213 } |
| 214 | 214 |
| 215 } // namespace TestInterfaceNodeV8Internal | 215 } // namespace TestInterfaceNodeV8Internal |
| 216 | 216 |
| 217 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNodeAttri
butes[] = { | 217 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceNodeAttri
butes[] = { |
| 218 {"stringAttribute", TestInterfaceNodeV8Internal::stringAttributeAttributeGet
terCallback, TestInterfaceNodeV8Internal::stringAttributeAttributeSetterCallback
, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Property
Attribute>(v8::None), 0 /* on instance */}, | 218 {"stringAttribute", TestInterfaceNodeV8Internal::stringAttributeAttributeGet
terCallback, TestInterfaceNodeV8Internal::stringAttributeAttributeSetterCallback
, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Property
Attribute>(v8::None), 0 /* on instance */}, |
| 219 {"readonlyTestInterfaceEmptyAttribute", TestInterfaceNodeV8Internal::readonl
yTestInterfaceEmptyAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8:
:AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, | 219 {"readonlyTestInterfaceEmptyAttribute", TestInterfaceNodeV8Internal::readonl
yTestInterfaceEmptyAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8:
:AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, |
| 220 {"eventHandlerAttribute", TestInterfaceNodeV8Internal::eventHandlerAttribute
AttributeGetterCallback, TestInterfaceNodeV8Internal::eventHandlerAttributeAttri
buteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static
_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 220 {"eventHandlerAttribute", TestInterfaceNodeV8Internal::eventHandlerAttribute
AttributeGetterCallback, TestInterfaceNodeV8Internal::eventHandlerAttributeAttri
buteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static
_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 221 {"reflectStringAttribute", TestInterfaceNodeV8Internal::reflectStringAttribu
teAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectStringAttributeAt
tributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta
tic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 221 {"reflectStringAttribute", TestInterfaceNodeV8Internal::reflectStringAttribu
teAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectStringAttributeAt
tributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta
tic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 222 {"reflectUrlStringAttribute", TestInterfaceNodeV8Internal::reflectUrlStringA
ttributeAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectUrlStringAt
tributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFA
ULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 222 {"reflectUrlStringAttribute", TestInterfaceNodeV8Internal::reflectUrlStringA
ttributeAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectUrlStringAt
tributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFA
ULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 fromInternalPointer(object)->deref(); | 300 fromInternalPointer(object)->deref(); |
| 301 } | 301 } |
| 302 | 302 |
| 303 template<> | 303 template<> |
| 304 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNode* impl, v8::Handle<v8::Objec
t> creationContext, v8::Isolate* isolate) | 304 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNode* impl, v8::Handle<v8::Objec
t> creationContext, v8::Isolate* isolate) |
| 305 { | 305 { |
| 306 return toV8(impl, creationContext, isolate); | 306 return toV8(impl, creationContext, isolate); |
| 307 } | 307 } |
| 308 | 308 |
| 309 } // namespace WebCore | 309 } // namespace WebCore |
| OLD | NEW |