Changeset 106643 in webkit
- Timestamp:
- Feb 3, 2012 2:31:41 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106642 r106643 1 2012-02-03 Kentaro Hara <haraken@chromium.org> 2 3 Add the "CPP" prefix to CPP specific IDL attributes 4 https://bugs.webkit.org/show_bug.cgi?id=77707 5 6 Reviewed by Adam Barth. 7 8 This patch adds the "CPP" prefix to a CPP specific IDL attribute. 9 Specifically, this patch renames [PureInterface] to [CPPPureInterface] 10 11 No tests. No change in behavior. 12 13 * bindings/scripts/CodeGeneratorCPP.pm: 14 (GenerateHeader): 15 (GenerateImplementation): 16 * css/MediaQueryListListener.idl: 17 * dom/EventListener.idl: 18 * dom/EventTarget.idl: 19 * dom/NodeFilter.idl: 20 1 21 2012-01-27 Alexander Pavlov <apavlov@chromium.org> 2 22 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm
r106640 r106643 482 482 } 483 483 $functionSig .= ")"; 484 if ($dataNode->extendedAttributes->{" PureInterface"}) {484 if ($dataNode->extendedAttributes->{"CPPPureInterface"}) { 485 485 push(@interfaceFunctions, " virtual " . $functionSig . " = 0;\n"); 486 486 } … … 514 514 push(@headerContent, "};\n\n"); 515 515 516 # for PureInterface classes also add the interface that the client code needs to516 # for CPPPureInterface classes also add the interface that the client code needs to 517 517 # implement 518 if ($dataNode->extendedAttributes->{" PureInterface"}) {518 if ($dataNode->extendedAttributes->{"CPPPureInterface"}) { 519 519 push(@headerContent, "class WebUser$interfaceName {\n"); 520 520 push(@headerContent, "public:\n"); … … 530 530 push(@headerContent, "$namespace" . "::$implClassName* toWebCore(const $className&);\n"); 531 531 push(@headerContent, "$className toWebKit($namespace" . "::$implClassName*);\n"); 532 if ($dataNode->extendedAttributes->{" PureInterface"}) {532 if ($dataNode->extendedAttributes->{"CPPPureInterface"}) { 533 533 push(@headerContent, "$className toWebKit(WebUser$interfaceName*);\n"); 534 534 } … … 784 784 if ($numFunctions > 0) { 785 785 foreach my $function (@{$dataNode->functions}) { 786 # Treat PureInterface as Custom as well, since the WebCore versions will take a script context as well787 next if ShouldSkipType($function) || $dataNode->extendedAttributes->{" PureInterface"};786 # Treat CPPPureInterface as Custom as well, since the WebCore versions will take a script context as well 787 next if ShouldSkipType($function) || $dataNode->extendedAttributes->{"CPPPureInterface"}; 788 788 AddIncludesForType($function->signature->type); 789 789 -
trunk/Source/WebCore/css/MediaQueryListListener.idl
r92236 r106643 22 22 NoStaticTables, 23 23 ObjCProtocol, 24 PureInterface,24 CPPPureInterface, 25 25 OmitConstructor 26 26 ] MediaQueryListListener { -
trunk/Source/WebCore/dom/EventListener.idl
r92433 r106643 25 25 NoStaticTables, 26 26 ObjCProtocol, 27 PureInterface,27 CPPPureInterface, 28 28 OmitConstructor 29 29 ] EventListener { -
trunk/Source/WebCore/dom/EventTarget.idl
r92433 r106643 24 24 interface [ 25 25 ObjCProtocol, 26 PureInterface,26 CPPPureInterface, 27 27 OmitConstructor 28 28 ] EventTarget { -
trunk/Source/WebCore/dom/NodeFilter.idl
r92433 r106643 26 26 CustomNativeConverter, 27 27 ObjCProtocol, 28 PureInterface28 CPPPureInterface 29 29 ] NodeFilter { 30 30 // Constants returned by acceptNode
Note: See TracChangeset
for help on using the changeset viewer.