Changeset 108610 in webkit
- Timestamp:
- Feb 22, 2012 10:26:07 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r108608 r108610 1 2012-02-22 Kentaro Hara <haraken@chromium.org> 2 3 Enable Geolocation bindings for GObject 4 https://bugs.webkit.org/show_bug.cgi?id=79293 5 6 Reviewed by Adam Barth. 7 8 This patch adds "WebCore::" to supplemental method calls. 9 This will solve the GTK build failure we have observed in the Geolocation API, 10 and thus this patch enables the Geolocation API. 11 12 * Modules/geolocation/NavigatorGeolocation.idl: 13 * bindings/scripts/CodeGeneratorGObject.pm: 14 (GenerateProperty): 15 (GenerateFunction): 16 1 17 2012-02-22 MORITA Hajime <morrita@google.com> 2 18 -
trunk/Source/WebCore/Modules/geolocation/NavigatorGeolocation.idl
r108428 r108610 24 24 Supplemental=Navigator 25 25 ] NavigatorGeolocation { 26 #if !defined(LANGUAGE_GOBJECT) || !LANGUAGE_GOBJECT27 // FIXME: Enable this interface for GOBJECT.28 26 readonly attribute [V8EnabledAtRuntime] Geolocation geolocation; 29 #endif30 27 }; 31 28 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
r108428 r108610 390 390 unshift(@getterArguments, "coreSelf"); 391 391 unshift(@setterArguments, "coreSelf"); 392 $getterFunctionName = " ${implementedBy}::$getterFunctionName";393 $setterFunctionName = " ${implementedBy}::$setterFunctionName";392 $getterFunctionName = "WebCore::${implementedBy}::$getterFunctionName"; 393 $setterFunctionName = "WebCore::${implementedBy}::$setterFunctionName"; 394 394 } else { 395 395 push(@setterArguments, "${convertFunction}(g_value_get_$gtype(value))"); … … 927 927 $implIncludes{"${implementedBy}.h"} = 1; 928 928 unshift(@arguments, "item"); 929 $functionName = " ${implementedBy}::${functionName}";929 $functionName = "WebCore::${implementedBy}::${functionName}"; 930 930 } else { 931 931 $functionName = "item->${functionName}"; … … 938 938 $implIncludes{"${implementedBy}.h"} = 1; 939 939 unshift(@arguments, "item"); 940 $getterContentHead = "${assign}convertToUTF8String( ${implementedBy}::${functionSigName}(" . join(", ", @arguments) . "));\n";940 $getterContentHead = "${assign}convertToUTF8String(WebCore::${implementedBy}::${functionSigName}(" . join(", ", @arguments) . "));\n"; 941 941 } else { 942 942 $getterContentHead = "${assign}convertToUTF8String(item->${functionSigName}(" . join(", ", @arguments) . "));\n"; … … 953 953 $implIncludes{"${implementedBy}.h"} = 1; 954 954 unshift(@arguments, "item"); 955 $functionName = " ${implementedBy}::${functionName}";955 $functionName = "WebCore::${implementedBy}::${functionName}"; 956 956 } else { 957 957 $functionName = "item->${functionName}"; … … 965 965 $implIncludes{"${implementedBy}.h"} = 1; 966 966 unshift(@arguments, "item"); 967 $functionName = " ${implementedBy}::${functionName}";967 $functionName = "WebCore::${implementedBy}::${functionName}"; 968 968 $contentHead = "${assign}${assignPre}${functionName}(" . join(", ", @arguments) . "${assignPost});\n"; 969 969 } else { … … 977 977 $implIncludes{"${implementedBy}.h"} = 1; 978 978 unshift(@arguments, "item"); 979 $contentHead = "${assign}${assignPre} ${implementedBy}::${functionSigName}(" . join(", ", @arguments) . "${assignPost});\n";979 $contentHead = "${assign}${assignPre}WebCore::${implementedBy}::${functionSigName}(" . join(", ", @arguments) . "${assignPost});\n"; 980 980 } else { 981 981 $contentHead = "${assign}${assignPre}item->${functionSigName}(" . join(", ", @arguments) . "${assignPost});\n";
Note: See TracChangeset
for help on using the changeset viewer.