Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: Source/bindings/tests/results/V8TestTypedefs.cpp

Issue 16924018: [Binding] Remove signature from domAttribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 RefPtr<TestTypedefs> impl = TestTypedefs::create(hello, testCallback); 463 RefPtr<TestTypedefs> impl = TestTypedefs::create(hello, testCallback);
464 v8::Handle<v8::Object> wrapper = args.Holder(); 464 v8::Handle<v8::Object> wrapper = args.Holder();
465 465
466 V8DOMWrapper::associateObjectWithWrapper(impl.release(), &V8TestTypedefs::in fo, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent); 466 V8DOMWrapper::associateObjectWithWrapper(impl.release(), &V8TestTypedefs::in fo, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
467 args.GetReturnValue().Set(wrapper); 467 args.GetReturnValue().Set(wrapper);
468 } 468 }
469 469
470 } // namespace TestTypedefsV8Internal 470 } // namespace TestTypedefsV8Internal
471 471
472 static const V8DOMConfiguration::BatchedAttribute V8TestTypedefsAttrs[] = { 472 static const V8DOMConfiguration::BatchedAttribute V8TestTypedefsAttrs[] = {
473 // Attribute 'unsignedLongLongAttr' (Type: 'attribute' ExtAttr: '') 473 // Attribute 'unsignedLongLongAttr'
474 {"unsignedLongLongAttr", TestTypedefsV8Internal::unsignedLongLongAttrAttrGet terCallback, TestTypedefsV8Internal::unsignedLongLongAttrAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8: :PropertyAttribute>(v8::None), 0 /* on instance */}, 474 {"unsignedLongLongAttr", TestTypedefsV8Internal::unsignedLongLongAttrAttrGet terCallback, TestTypedefsV8Internal::unsignedLongLongAttrAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8: :PropertyAttribute>(v8::None), 0 /* on instance */},
475 // Attribute 'immutableSerializedScriptValue' (Type: 'attribute' ExtAttr: 'I mmutable') 475 // Attribute 'immutableSerializedScriptValue'
476 {"immutableSerializedScriptValue", TestTypedefsV8Internal::immutableSerializ edScriptValueAttrGetterCallback, TestTypedefsV8Internal::immutableSerializedScri ptValueAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl> (v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */ }, 476 {"immutableSerializedScriptValue", TestTypedefsV8Internal::immutableSerializ edScriptValueAttrGetterCallback, TestTypedefsV8Internal::immutableSerializedScri ptValueAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl> (v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */ },
477 // Attribute 'TestSubObj' (Type: 'attribute' ExtAttr: '') 477 // Attribute 'TestSubObj'
478 {"TestSubObj", TestTypedefsV8Internal::TestTypedefsConstructorGetter, 0, 0, 0, &V8TestSubObj::info, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None | v8::DontEnum), 0 /* on instance */}, 478 {"TestSubObj", TestTypedefsV8Internal::TestTypedefsConstructorGetter, 0, 0, 0, &V8TestSubObj::info, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None | v8::DontEnum), 0 /* on instance */},
479 // Attribute 'attrWithGetterException' (Type: 'attribute' ExtAttr: 'GetterRa isesException') 479 // Attribute 'attrWithGetterException'
480 {"attrWithGetterException", TestTypedefsV8Internal::attrWithGetterExceptionA ttrGetterCallback, TestTypedefsV8Internal::attrWithGetterExceptionAttrSetterCall back, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static _cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 480 {"attrWithGetterException", TestTypedefsV8Internal::attrWithGetterExceptionA ttrGetterCallback, TestTypedefsV8Internal::attrWithGetterExceptionAttrSetterCall back, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static _cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
481 // Attribute 'attrWithSetterException' (Type: 'attribute' ExtAttr: 'SetterRa isesException') 481 // Attribute 'attrWithSetterException'
482 {"attrWithSetterException", TestTypedefsV8Internal::attrWithSetterExceptionA ttrGetterCallback, TestTypedefsV8Internal::attrWithSetterExceptionAttrSetterCall back, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static _cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 482 {"attrWithSetterException", TestTypedefsV8Internal::attrWithSetterExceptionA ttrGetterCallback, TestTypedefsV8Internal::attrWithSetterExceptionAttrSetterCall back, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static _cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
483 // Attribute 'stringAttrWithGetterException' (Type: 'attribute' ExtAttr: 'Ge tterRaisesException') 483 // Attribute 'stringAttrWithGetterException'
484 {"stringAttrWithGetterException", TestTypedefsV8Internal::stringAttrWithGett erExceptionAttrGetterCallback, TestTypedefsV8Internal::stringAttrWithGetterExcep tionAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8 ::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 484 {"stringAttrWithGetterException", TestTypedefsV8Internal::stringAttrWithGett erExceptionAttrGetterCallback, TestTypedefsV8Internal::stringAttrWithGetterExcep tionAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8 ::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
485 // Attribute 'stringAttrWithSetterException' (Type: 'attribute' ExtAttr: 'Se tterRaisesException') 485 // Attribute 'stringAttrWithSetterException'
486 {"stringAttrWithSetterException", TestTypedefsV8Internal::stringAttrWithSett erExceptionAttrGetterCallback, TestTypedefsV8Internal::stringAttrWithSetterExcep tionAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8 ::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 486 {"stringAttrWithSetterException", TestTypedefsV8Internal::stringAttrWithSett erExceptionAttrGetterCallback, TestTypedefsV8Internal::stringAttrWithSetterExcep tionAttrSetterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8 ::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
487 }; 487 };
488 488
489 static const V8DOMConfiguration::BatchedMethod V8TestTypedefsMethods[] = { 489 static const V8DOMConfiguration::BatchedMethod V8TestTypedefsMethods[] = {
490 {"func", TestTypedefsV8Internal::funcMethodCallback, 0, 0}, 490 {"func", TestTypedefsV8Internal::funcMethodCallback, 0, 0},
491 {"setShadow", TestTypedefsV8Internal::setShadowMethodCallback, 0, 3}, 491 {"setShadow", TestTypedefsV8Internal::setShadowMethodCallback, 0, 3},
492 {"methodWithSequenceArg", TestTypedefsV8Internal::methodWithSequenceArgMetho dCallback, 0, 1}, 492 {"methodWithSequenceArg", TestTypedefsV8Internal::methodWithSequenceArgMetho dCallback, 0, 1},
493 {"nullableArrayArg", TestTypedefsV8Internal::nullableArrayArgMethodCallback, 0, 1}, 493 {"nullableArrayArg", TestTypedefsV8Internal::nullableArrayArgMethodCallback, 0, 1},
494 {"funcWithClamp", TestTypedefsV8Internal::funcWithClampMethodCallback, 0, 1} , 494 {"funcWithClamp", TestTypedefsV8Internal::funcWithClampMethodCallback, 0, 1} ,
495 {"immutablePointFunction", TestTypedefsV8Internal::immutablePointFunctionMet hodCallback, 0, 0}, 495 {"immutablePointFunction", TestTypedefsV8Internal::immutablePointFunctionMet hodCallback, 0, 0},
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 installPerContextProperties(wrapper, impl.get(), isolate); 573 installPerContextProperties(wrapper, impl.get(), isolate);
574 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent); 574 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent);
575 return wrapper; 575 return wrapper;
576 } 576 }
577 void V8TestTypedefs::derefObject(void* object) 577 void V8TestTypedefs::derefObject(void* object)
578 { 578 {
579 static_cast<TestTypedefs*>(object)->deref(); 579 static_cast<TestTypedefs*>(object)->deref();
580 } 580 }
581 581
582 } // namespace WebCore 582 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698