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

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

Issue 48003002: IDL compiler: remove blank line for void methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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 | Annotate | Revision Log
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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 528 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
529 TestInterfaceV8Internal::Node15AttributeSetter(name, jsValue, info); 529 TestInterfaceV8Internal::Node15AttributeSetter(name, jsValue, info);
530 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 530 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
531 } 531 }
532 #endif // ENABLE(Condition11) || ENABLE(Condition12) 532 #endif // ENABLE(Condition11) || ENABLE(Condition12)
533 533
534 static void implementsMethod1Method(const v8::FunctionCallbackInfo<v8::Value>& a rgs) 534 static void implementsMethod1Method(const v8::FunctionCallbackInfo<v8::Value>& a rgs)
535 { 535 {
536 TestInterface* imp = V8TestInterface::toNative(args.Holder()); 536 TestInterface* imp = V8TestInterface::toNative(args.Holder());
537 TestImplements::implementsMethod1(imp); 537 TestImplements::implementsMethod1(imp);
538
539 return; 538 return;
540 } 539 }
541 540
542 static void implementsMethod1MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& args) 541 static void implementsMethod1MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& args)
543 { 542 {
544 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 543 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
545 TestInterfaceV8Internal::implementsMethod1Method(args); 544 TestInterfaceV8Internal::implementsMethod1Method(args);
546 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 545 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
547 } 546 }
548 547
(...skipping 25 matching lines...) Expand all
574 static void implementsMethod3MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& args) 573 static void implementsMethod3MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& args)
575 { 574 {
576 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 575 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
577 V8TestInterface::implementsMethod3MethodCustom(args); 576 V8TestInterface::implementsMethod3MethodCustom(args);
578 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 577 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
579 } 578 }
580 579
581 static void implementsMethod4Method(const v8::FunctionCallbackInfo<v8::Value>& a rgs) 580 static void implementsMethod4Method(const v8::FunctionCallbackInfo<v8::Value>& a rgs)
582 { 581 {
583 TestImplements::implementsMethod4(); 582 TestImplements::implementsMethod4();
584
585 return; 583 return;
586 } 584 }
587 585
588 static void implementsMethod4MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& args) 586 static void implementsMethod4MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& args)
589 { 587 {
590 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 588 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
591 TestInterfaceV8Internal::implementsMethod4Method(args); 589 TestInterfaceV8Internal::implementsMethod4Method(args);
592 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 590 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
593 } 591 }
594 592
595 #if ENABLE(Condition11) || ENABLE(Condition12) 593 #if ENABLE(Condition11) || ENABLE(Condition12)
596 594
597 static void supplementalMethod1Method(const v8::FunctionCallbackInfo<v8::Value>& args) 595 static void supplementalMethod1Method(const v8::FunctionCallbackInfo<v8::Value>& args)
598 { 596 {
599 TestInterface* imp = V8TestInterface::toNative(args.Holder()); 597 TestInterface* imp = V8TestInterface::toNative(args.Holder());
600 TestPartialInterface::supplementalMethod1(imp); 598 TestPartialInterface::supplementalMethod1(imp);
601
602 return; 599 return;
603 } 600 }
604 601
605 #endif // ENABLE(Condition11) || ENABLE(Condition12) 602 #endif // ENABLE(Condition11) || ENABLE(Condition12)
606 603
607 #if ENABLE(Condition11) || ENABLE(Condition12) 604 #if ENABLE(Condition11) || ENABLE(Condition12)
608 605
609 static void supplementalMethod1MethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& args) 606 static void supplementalMethod1MethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& args)
610 { 607 {
611 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 608 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 654 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
658 } 655 }
659 656
660 #endif // ENABLE(Condition11) || ENABLE(Condition12) 657 #endif // ENABLE(Condition11) || ENABLE(Condition12)
661 658
662 #if ENABLE(Condition11) || ENABLE(Condition12) 659 #if ENABLE(Condition11) || ENABLE(Condition12)
663 660
664 static void supplementalMethod4Method(const v8::FunctionCallbackInfo<v8::Value>& args) 661 static void supplementalMethod4Method(const v8::FunctionCallbackInfo<v8::Value>& args)
665 { 662 {
666 TestPartialInterface::supplementalMethod4(); 663 TestPartialInterface::supplementalMethod4();
667
668 return; 664 return;
669 } 665 }
670 666
671 #endif // ENABLE(Condition11) || ENABLE(Condition12) 667 #endif // ENABLE(Condition11) || ENABLE(Condition12)
672 668
673 #if ENABLE(Condition11) || ENABLE(Condition12) 669 #if ENABLE(Condition11) || ENABLE(Condition12)
674 670
675 static void supplementalMethod4MethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& args) 671 static void supplementalMethod4MethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& args)
676 { 672 {
677 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 673 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 } 975 }
980 976
981 void V8TestInterface::derefObject(void* object) 977 void V8TestInterface::derefObject(void* object)
982 { 978 {
983 fromInternalPointer(object)->deref(); 979 fromInternalPointer(object)->deref();
984 } 980 }
985 981
986 } // namespace WebCore 982 } // namespace WebCore
987 983
988 #endif // ENABLE(Condition1) || ENABLE(Condition2) 984 #endif // ENABLE(Condition1) || ENABLE(Condition2)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698