| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
| 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
| 4 | 4 |
| 5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
| 7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
| 8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
| 9 | 9 |
| 10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 TestInterfaceV8Internal::implementsStaticReadOnlyAttrAttrGetter(name, info); | 88 TestInterfaceV8Internal::implementsStaticReadOnlyAttrAttrGetter(name, info); |
| 89 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 89 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 90 } | 90 } |
| 91 | 91 |
| 92 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 92 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 93 | 93 |
| 94 #if ENABLE(Condition22) || ENABLE(Condition23) | 94 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 95 | 95 |
| 96 static void implementsStaticAttrAttrGetter(v8::Local<v8::String> name, const v8:
:PropertyCallbackInfo<v8::Value>& info) | 96 static void implementsStaticAttrAttrGetter(v8::Local<v8::String> name, const v8:
:PropertyCallbackInfo<v8::Value>& info) |
| 97 { | 97 { |
| 98 v8SetReturnValueString(info, TestImplements::implementsStaticAttr(), info.Ge
tIsolate(), NullStringAsEmpty); | 98 v8SetReturnValueString(info, TestImplements::implementsStaticAttr(), info.Ge
tIsolate()); |
| 99 return; | 99 return; |
| 100 } | 100 } |
| 101 | 101 |
| 102 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 102 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 103 | 103 |
| 104 #if ENABLE(Condition22) || ENABLE(Condition23) | 104 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 105 | 105 |
| 106 static void implementsStaticAttrAttrGetterCallback(v8::Local<v8::String> name, c
onst v8::PropertyCallbackInfo<v8::Value>& info) | 106 static void implementsStaticAttrAttrGetterCallback(v8::Local<v8::String> name, c
onst v8::PropertyCallbackInfo<v8::Value>& info) |
| 107 { | 107 { |
| 108 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 108 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 132 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 132 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 133 } | 133 } |
| 134 | 134 |
| 135 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 135 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 136 | 136 |
| 137 #if ENABLE(Condition22) || ENABLE(Condition23) | 137 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 138 | 138 |
| 139 static void implementsStr1AttrGetter(v8::Local<v8::String> name, const v8::Prope
rtyCallbackInfo<v8::Value>& info) | 139 static void implementsStr1AttrGetter(v8::Local<v8::String> name, const v8::Prope
rtyCallbackInfo<v8::Value>& info) |
| 140 { | 140 { |
| 141 TestInterface* imp = V8TestInterface::toNative(info.Holder()); | 141 TestInterface* imp = V8TestInterface::toNative(info.Holder()); |
| 142 v8SetReturnValueString(info, TestImplements::implementsStr1(imp), info.GetIs
olate(), NullStringAsEmpty); | 142 v8SetReturnValueString(info, TestImplements::implementsStr1(imp), info.GetIs
olate()); |
| 143 return; | 143 return; |
| 144 } | 144 } |
| 145 | 145 |
| 146 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 146 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 147 | 147 |
| 148 #if ENABLE(Condition22) || ENABLE(Condition23) | 148 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 149 | 149 |
| 150 static void implementsStr1AttrGetterCallback(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) | 150 static void implementsStr1AttrGetterCallback(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) |
| 151 { | 151 { |
| 152 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 152 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 153 TestInterfaceV8Internal::implementsStr1AttrGetter(name, info); | 153 TestInterfaceV8Internal::implementsStr1AttrGetter(name, info); |
| 154 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 154 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 155 } | 155 } |
| 156 | 156 |
| 157 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 157 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 158 | 158 |
| 159 #if ENABLE(Condition22) || ENABLE(Condition23) | 159 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 160 | 160 |
| 161 static void implementsStr2AttrGetter(v8::Local<v8::String> name, const v8::Prope
rtyCallbackInfo<v8::Value>& info) | 161 static void implementsStr2AttrGetter(v8::Local<v8::String> name, const v8::Prope
rtyCallbackInfo<v8::Value>& info) |
| 162 { | 162 { |
| 163 TestInterface* imp = V8TestInterface::toNative(info.Holder()); | 163 TestInterface* imp = V8TestInterface::toNative(info.Holder()); |
| 164 v8SetReturnValueString(info, TestImplements::implementsStr2(imp), info.GetIs
olate(), NullStringAsEmpty); | 164 v8SetReturnValueString(info, TestImplements::implementsStr2(imp), info.GetIs
olate()); |
| 165 return; | 165 return; |
| 166 } | 166 } |
| 167 | 167 |
| 168 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 168 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 169 | 169 |
| 170 #if ENABLE(Condition22) || ENABLE(Condition23) | 170 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 171 | 171 |
| 172 static void implementsStr2AttrGetterCallback(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) | 172 static void implementsStr2AttrGetterCallback(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) |
| 173 { | 173 { |
| 174 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 174 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetter(name, info
); | 421 TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetter(name, info
); |
| 422 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 422 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 423 } | 423 } |
| 424 | 424 |
| 425 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 425 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 426 | 426 |
| 427 #if ENABLE(Condition11) || ENABLE(Condition12) | 427 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 428 | 428 |
| 429 static void supplementalStaticAttrAttrGetter(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) | 429 static void supplementalStaticAttrAttrGetter(v8::Local<v8::String> name, const v
8::PropertyCallbackInfo<v8::Value>& info) |
| 430 { | 430 { |
| 431 v8SetReturnValueString(info, TestPartialInterface::supplementalStaticAttr(),
info.GetIsolate(), NullStringAsEmpty); | 431 v8SetReturnValueString(info, TestPartialInterface::supplementalStaticAttr(),
info.GetIsolate()); |
| 432 return; | 432 return; |
| 433 } | 433 } |
| 434 | 434 |
| 435 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 435 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 436 | 436 |
| 437 #if ENABLE(Condition11) || ENABLE(Condition12) | 437 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 438 | 438 |
| 439 static void supplementalStaticAttrAttrGetterCallback(v8::Local<v8::String> name,
const v8::PropertyCallbackInfo<v8::Value>& info) | 439 static void supplementalStaticAttrAttrGetterCallback(v8::Local<v8::String> name,
const v8::PropertyCallbackInfo<v8::Value>& info) |
| 440 { | 440 { |
| 441 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 441 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 465 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 465 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 466 } | 466 } |
| 467 | 467 |
| 468 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 468 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 469 | 469 |
| 470 #if ENABLE(Condition11) || ENABLE(Condition12) | 470 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 471 | 471 |
| 472 static void supplementalStr1AttrGetter(v8::Local<v8::String> name, const v8::Pro
pertyCallbackInfo<v8::Value>& info) | 472 static void supplementalStr1AttrGetter(v8::Local<v8::String> name, const v8::Pro
pertyCallbackInfo<v8::Value>& info) |
| 473 { | 473 { |
| 474 TestInterface* imp = V8TestInterface::toNative(info.Holder()); | 474 TestInterface* imp = V8TestInterface::toNative(info.Holder()); |
| 475 v8SetReturnValueString(info, TestPartialInterface::supplementalStr1(imp), in
fo.GetIsolate(), NullStringAsEmpty); | 475 v8SetReturnValueString(info, TestPartialInterface::supplementalStr1(imp), in
fo.GetIsolate()); |
| 476 return; | 476 return; |
| 477 } | 477 } |
| 478 | 478 |
| 479 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 479 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 480 | 480 |
| 481 #if ENABLE(Condition11) || ENABLE(Condition12) | 481 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 482 | 482 |
| 483 static void supplementalStr1AttrGetterCallback(v8::Local<v8::String> name, const
v8::PropertyCallbackInfo<v8::Value>& info) | 483 static void supplementalStr1AttrGetterCallback(v8::Local<v8::String> name, const
v8::PropertyCallbackInfo<v8::Value>& info) |
| 484 { | 484 { |
| 485 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 485 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 486 TestInterfaceV8Internal::supplementalStr1AttrGetter(name, info); | 486 TestInterfaceV8Internal::supplementalStr1AttrGetter(name, info); |
| 487 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 487 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 488 } | 488 } |
| 489 | 489 |
| 490 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 490 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 491 | 491 |
| 492 #if ENABLE(Condition11) || ENABLE(Condition12) | 492 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 493 | 493 |
| 494 static void supplementalStr2AttrGetter(v8::Local<v8::String> name, const v8::Pro
pertyCallbackInfo<v8::Value>& info) | 494 static void supplementalStr2AttrGetter(v8::Local<v8::String> name, const v8::Pro
pertyCallbackInfo<v8::Value>& info) |
| 495 { | 495 { |
| 496 TestInterface* imp = V8TestInterface::toNative(info.Holder()); | 496 TestInterface* imp = V8TestInterface::toNative(info.Holder()); |
| 497 v8SetReturnValueString(info, TestPartialInterface::supplementalStr2(imp), in
fo.GetIsolate(), NullStringAsEmpty); | 497 v8SetReturnValueString(info, TestPartialInterface::supplementalStr2(imp), in
fo.GetIsolate()); |
| 498 return; | 498 return; |
| 499 } | 499 } |
| 500 | 500 |
| 501 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 501 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 502 | 502 |
| 503 #if ENABLE(Condition11) || ENABLE(Condition12) | 503 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 504 | 504 |
| 505 static void supplementalStr2AttrGetterCallback(v8::Local<v8::String> name, const
v8::PropertyCallbackInfo<v8::Value>& info) | 505 static void supplementalStr2AttrGetterCallback(v8::Local<v8::String> name, const
v8::PropertyCallbackInfo<v8::Value>& info) |
| 506 { | 506 { |
| 507 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 507 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 return wrapper; | 1292 return wrapper; |
| 1293 } | 1293 } |
| 1294 void V8TestInterface::derefObject(void* object) | 1294 void V8TestInterface::derefObject(void* object) |
| 1295 { | 1295 { |
| 1296 fromInternalPointer(object)->deref(); | 1296 fromInternalPointer(object)->deref(); |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 } // namespace WebCore | 1299 } // namespace WebCore |
| 1300 | 1300 |
| 1301 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 1301 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |