Changeset 63331 in webkit
- Timestamp:
- Jul 14, 2010 10:58:18 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r63329 r63331 1 2010-07-14 Marcus Bulach <bulach@chromium.org> 2 3 Reviewed by Jeremy Orlow. 4 5 Code generator: ensure generated constants match their corresponding enums. 6 https://bugs.webkit.org/show_bug.cgi?id=42250 7 8 Specific interfaces can use DontCheckEnums attribute to avoid generating the compile-time check. 9 10 Tests: updated bindings tests. Generated code should compile. 11 12 * bindings/scripts/CodeGenerator.pm: 13 * bindings/scripts/CodeGeneratorJS.pm: 14 * bindings/scripts/CodeGeneratorV8.pm: 15 * bindings/scripts/test/CPP/WebDOMTestObj.h: 16 (WebDOMTestObj::): 17 * bindings/scripts/test/JS/JSTestObj.cpp: 18 (WebCore::): 19 (WebCore::JSTestObjPrototype::getOwnPropertySlot): 20 (WebCore::JSTestObjPrototype::getOwnPropertyDescriptor): 21 (WebCore::jsTestObjCONST_VALUE_0): 22 (WebCore::jsTestObjCONST_VALUE_1): 23 (WebCore::jsTestObjCONST_VALUE_2): 24 (WebCore::jsTestObjCONST_VALUE_4): 25 (WebCore::jsTestObjCONST_VALUE_8): 26 * bindings/scripts/test/JS/JSTestObj.h: 27 * bindings/scripts/test/ObjC/DOMTestObj.h: 28 * bindings/scripts/test/TestObj.idl: 29 * bindings/scripts/test/V8/V8TestObj.cpp: 30 (WebCore::): 31 (WebCore::ConfigureV8TestObjTemplate): 32 * css/WebKitCSSTransformValue.idl: 33 * dom/DOMCoreException.idl: 34 * dom/EventException.idl: 35 * dom/Node.idl: 36 * dom/OverflowEvent.idl: 37 * dom/RangeException.idl: 38 * html/FileError.idl: 39 * html/FileReader.idl: 40 * html/canvas/Float32Array.idl: 41 * html/canvas/Int16Array.idl: 42 * html/canvas/Int32Array.idl: 43 * html/canvas/Int8Array.idl: 44 * html/canvas/Uint16Array.idl: 45 * html/canvas/Uint32Array.idl: 46 * html/canvas/Uint8Array.idl: 47 * html/canvas/WebGLRenderingContext.idl: 48 * inspector/JavaScriptCallFrame.idl: 49 * loader/appcache/DOMApplicationCache.idl: 50 * storage/SQLException.idl: 51 * svg/SVGComponentTransferFunctionElement.idl: 52 * svg/SVGException.idl: 53 * svg/SVGFEBlendElement.idl: 54 * svg/SVGFEColorMatrixElement.idl: 55 * svg/SVGFECompositeElement.idl: 56 * svg/SVGFEConvolveMatrixElement.idl: 57 * svg/SVGFEDisplacementMapElement.idl: 58 * svg/SVGFEMorphologyElement.idl: 59 * svg/SVGFETurbulenceElement.idl: 60 * svg/SVGGradientElement.idl: 61 * xml/XMLHttpRequestException.idl: 62 * xml/XPathException.idl: 63 1 64 2010-07-14 Andreas Kling <andreas.kling@nokia.com> 2 65 -
trunk/WebCore/bindings/scripts/CodeGenerator.pm
r63057 r63331 468 468 } 469 469 470 sub ShouldCheckEnums 471 { 472 my $dataNode = shift; 473 return not $dataNode->extendedAttributes->{"DontCheckEnums"}; 474 } 475 476 sub GenerateCompileTimeCheckForEnumsIfNeeded 477 { 478 my ($object, $dataNode) = @_; 479 my $interfaceName = $dataNode->name; 480 my @checks = (); 481 # If necessary, check that all constants are available as enums with the same value. 482 if (ShouldCheckEnums($dataNode) && @{$dataNode->constants}) { 483 push(@checks, "\n"); 484 foreach my $constant (@{$dataNode->constants}) { 485 my $name = $constant->name; 486 my $value = $constant->value; 487 push(@checks, "COMPILE_ASSERT($value == ${interfaceName}::$name, ${interfaceName}Enum${name}IsWrongUseDontCheckEnums);\n"); 488 } 489 push(@checks, "\n"); 490 } 491 return @checks; 492 } 493 470 494 1; -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r63057 r63331 1242 1242 \@hashKeys, \@hashSpecials, 1243 1243 \@hashValue1, \@hashValue2); 1244 1245 push(@implContent, $codeGenerator->GenerateCompileTimeCheckForEnumsIfNeeded($dataNode)); 1244 1246 1245 1247 my $protoClassName = "${className}Prototype"; -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r63067 r63331 1754 1754 if ($has_constants) { 1755 1755 push(@implContent, "};\n"); 1756 push(@implContent, $codeGenerator->GenerateCompileTimeCheckForEnumsIfNeeded($dataNode)); 1756 1757 } 1757 1758 -
trunk/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h
r63057 r63331 42 42 WebDOMTestObj(const WebDOMTestObj&); 43 43 ~WebDOMTestObj(); 44 45 enum { 46 WEBDOM_CONST_VALUE_0 = 0, 47 WEBDOM_CONST_VALUE_1 = 1, 48 WEBDOM_CONST_VALUE_2 = 2, 49 WEBDOM_CONST_VALUE_4 = 4, 50 WEBDOM_CONST_VALUE_8 = 8 51 }; 44 52 45 53 int readOnlyIntAttr() const; -
trunk/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r63057 r63331 101 101 #endif 102 102 103 static const HashTableValue JSTestObjConstructorTableValues[1] = 104 { 103 static const HashTableValue JSTestObjConstructorTableValues[6] = 104 { 105 { "CONST_VALUE_0", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_0), (intptr_t)0 THUNK_GENERATOR(0) }, 106 { "CONST_VALUE_1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_1), (intptr_t)0 THUNK_GENERATOR(0) }, 107 { "CONST_VALUE_2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_2), (intptr_t)0 THUNK_GENERATOR(0) }, 108 { "CONST_VALUE_4", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_4), (intptr_t)0 THUNK_GENERATOR(0) }, 109 { "CONST_VALUE_8", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_8), (intptr_t)0 THUNK_GENERATOR(0) }, 105 110 { 0, 0, 0, 0 THUNK_GENERATOR(0) } 106 111 }; 107 112 108 113 #undef THUNK_GENERATOR 109 static JSC_CONST_HASHTABLE HashTable JSTestObjConstructorTable = { 1, 0, JSTestObjConstructorTableValues, 0 }; 114 static JSC_CONST_HASHTABLE HashTable JSTestObjConstructorTable = { 16, 15, JSTestObjConstructorTableValues, 0 }; 115 116 COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDontCheckEnums); 117 COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDontCheckEnums); 118 COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDontCheckEnums); 119 COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDontCheckEnums); 120 COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDontCheckEnums); 121 110 122 class JSTestObjConstructor : public DOMConstructorObject { 111 123 public: … … 149 161 #endif 150 162 151 static const HashTableValue JSTestObjPrototypeTableValues[31] = 152 { 163 static const HashTableValue JSTestObjPrototypeTableValues[36] = 164 { 165 { "CONST_VALUE_0", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_0), (intptr_t)0 THUNK_GENERATOR(0) }, 166 { "CONST_VALUE_1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_1), (intptr_t)0 THUNK_GENERATOR(0) }, 167 { "CONST_VALUE_2", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_2), (intptr_t)0 THUNK_GENERATOR(0) }, 168 { "CONST_VALUE_4", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_4), (intptr_t)0 THUNK_GENERATOR(0) }, 169 { "CONST_VALUE_8", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCONST_VALUE_8), (intptr_t)0 THUNK_GENERATOR(0) }, 153 170 { "voidMethod", DontDelete | Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVoidMethod), (intptr_t)0 THUNK_GENERATOR(0) }, 154 171 { "voidMethodWithArgs", DontDelete | Function, (intptr_t)static_cast<NativeFunction>(jsTestObjPrototypeFunctionVoidMethodWithArgs), (intptr_t)3 THUNK_GENERATOR(0) }, … … 185 202 186 203 #undef THUNK_GENERATOR 187 static JSC_CONST_HASHTABLE HashTable JSTestObjPrototypeTable = { 13 0, 127, JSTestObjPrototypeTableValues, 0 };204 static JSC_CONST_HASHTABLE HashTable JSTestObjPrototypeTable = { 132, 127, JSTestObjPrototypeTableValues, 0 }; 188 205 const ClassInfo JSTestObjPrototype::s_info = { "TestObjPrototype", 0, &JSTestObjPrototypeTable, 0 }; 189 206 … … 195 212 bool JSTestObjPrototype::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 196 213 { 197 return getStatic FunctionSlot<JSObject>(exec, &JSTestObjPrototypeTable, this, propertyName, slot);214 return getStaticPropertySlot<JSTestObjPrototype, JSObject>(exec, &JSTestObjPrototypeTable, this, propertyName, slot); 198 215 } 199 216 200 217 bool JSTestObjPrototype::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 201 218 { 202 return getStatic FunctionDescriptor<JSObject>(exec, &JSTestObjPrototypeTable, this, propertyName, descriptor);219 return getStaticPropertyDescriptor<JSTestObjPrototype, JSObject>(exec, &JSTestObjPrototypeTable, this, propertyName, descriptor); 203 220 } 204 221 … … 1229 1246 } 1230 1247 1248 // Constant getters 1249 1250 JSValue jsTestObjCONST_VALUE_0(ExecState* exec, JSValue, const Identifier&) 1251 { 1252 return jsNumber(exec, static_cast<int>(0)); 1253 } 1254 1255 JSValue jsTestObjCONST_VALUE_1(ExecState* exec, JSValue, const Identifier&) 1256 { 1257 return jsNumber(exec, static_cast<int>(1)); 1258 } 1259 1260 JSValue jsTestObjCONST_VALUE_2(ExecState* exec, JSValue, const Identifier&) 1261 { 1262 return jsNumber(exec, static_cast<int>(2)); 1263 } 1264 1265 JSValue jsTestObjCONST_VALUE_4(ExecState* exec, JSValue, const Identifier&) 1266 { 1267 return jsNumber(exec, static_cast<int>(4)); 1268 } 1269 1270 JSValue jsTestObjCONST_VALUE_8(ExecState* exec, JSValue, const Identifier&) 1271 { 1272 return jsNumber(exec, static_cast<int>(8)); 1273 } 1274 1231 1275 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestObj* object) 1232 1276 { -
trunk/WebCore/bindings/scripts/test/JS/JSTestObj.h
r63057 r63331 174 174 JSC::JSValue jsTestObjHash(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 175 175 JSC::JSValue jsTestObjConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 176 // Constants 177 178 JSC::JSValue jsTestObjCONST_VALUE_0(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 179 JSC::JSValue jsTestObjCONST_VALUE_1(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 180 JSC::JSValue jsTestObjCONST_VALUE_2(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 181 JSC::JSValue jsTestObjCONST_VALUE_4(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 182 JSC::JSValue jsTestObjCONST_VALUE_8(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); 176 183 177 184 } // namespace WebCore -
trunk/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h
r63057 r63331 34 34 @class NSString; 35 35 @protocol DOMEventListener; 36 37 enum { 38 DOM_CONST_VALUE_0 = 0, 39 DOM_CONST_VALUE_1 = 1, 40 DOM_CONST_VALUE_2 = 2, 41 DOM_CONST_VALUE_4 = 4, 42 DOM_CONST_VALUE_8 = 8 43 }; 36 44 37 45 @interface DOMTestObj : DOMObject -
trunk/WebCore/bindings/scripts/test/TestObj.idl
r63057 r63331 130 130 attribute long id; 131 131 readonly attribute DOMString hash; 132 133 // Check constants and enums. 134 const unsigned short CONST_VALUE_0 = 0; 135 const unsigned short CONST_VALUE_1 = 1; 136 const unsigned short CONST_VALUE_2 = 2; 137 const unsigned short CONST_VALUE_4 = 4; 138 const unsigned short CONST_VALUE_8 = 8; 132 139 }; 133 140 } -
trunk/WebCore/bindings/scripts/test/V8/V8TestObj.cpp
r63057 r63331 1016 1016 {"overloadedMethod", TestObjInternal::overloadedMethodCallback}, 1017 1017 }; 1018 static const BatchedConstant TestObjConsts[] = { 1019 {"CONST_VALUE_0", static_cast<signed int>(0)}, 1020 {"CONST_VALUE_1", static_cast<signed int>(1)}, 1021 {"CONST_VALUE_2", static_cast<signed int>(2)}, 1022 {"CONST_VALUE_4", static_cast<signed int>(4)}, 1023 {"CONST_VALUE_8", static_cast<signed int>(8)}, 1024 }; 1025 1026 COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDontCheckEnums); 1027 COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDontCheckEnums); 1028 COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDontCheckEnums); 1029 COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDontCheckEnums); 1030 COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDontCheckEnums); 1031 1018 1032 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestObjTemplate(v8::Persistent<v8::FunctionTemplate> desc) 1019 1033 { … … 1060 1074 v8::Handle<v8::Signature> customArgsAndExceptionSignature = v8::Signature::New(desc, customArgsAndExceptionArgc, customArgsAndExceptionArgv); 1061 1075 proto->Set(v8::String::New("customArgsAndException"), v8::FunctionTemplate::New(TestObjInternal::customArgsAndExceptionCallback, v8::Handle<v8::Value>(), customArgsAndExceptionSignature)); 1076 batchConfigureConstants(desc, proto, TestObjConsts, sizeof(TestObjConsts) / sizeof(*TestObjConsts)); 1062 1077 1063 1078 // Custom toString template -
trunk/WebCore/css/WebKitCSSTransformValue.idl
r52921 r63331 30 30 31 31 interface [ 32 HasIndexGetter 32 HasIndexGetter, 33 DontCheckEnums 33 34 ] WebKitCSSTransformValue : CSSValueList { 34 35 -
trunk/WebCore/dom/DOMCoreException.idl
r56462 r63331 30 30 31 31 interface [ 32 NoStaticTables 32 NoStaticTables, 33 DontCheckEnums 33 34 ] DOMCoreException { 34 35 -
trunk/WebCore/dom/EventException.idl
r52537 r63331 31 31 // Introduced in DOM Level 2: 32 32 interface [ 33 NoStaticTables 33 NoStaticTables, 34 DontCheckEnums 34 35 ] EventException { 35 36 -
trunk/WebCore/dom/Node.idl
r62004 r63331 29 29 GenerateNativeConverter, 30 30 InlineGetOwnPropertySlot, 31 Polymorphic 31 Polymorphic, 32 DontCheckEnums 32 33 ] Node 33 34 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C -
trunk/WebCore/dom/OverflowEvent.idl
r52537 r63331 24 24 */ 25 25 module events { 26 27 interface OverflowEvent : Event {26 # FIXME: Converge these consts and OverflowEvent::orientType values and remove DontCheckEnums attribute. 27 interface [DontCheckEnums] OverflowEvent : Event { 28 28 const unsigned short HORIZONTAL = 0; 29 29 const unsigned short VERTICAL = 1; -
trunk/WebCore/dom/RangeException.idl
r52537 r63331 20 20 module ranges { 21 21 22 interface RangeException {22 interface [DontCheckEnums] RangeException { 23 23 24 24 readonly attribute unsigned short code; -
trunk/WebCore/html/FileError.idl
r59162 r63331 31 31 module html { 32 32 interface [ 33 Conditional=FILE_READER|FILE_WRITER 33 Conditional=FILE_READER|FILE_WRITER, 34 DontCheckEnums 34 35 ] FileError { 35 36 #if !defined(LANGUAGE_OBJECTIVE_C) -
trunk/WebCore/html/FileReader.idl
r59162 r63331 35 35 CallWith=ScriptExecutionContext, 36 36 EventTarget, 37 NoStaticTables 37 NoStaticTables, 38 DontCheckEnums 38 39 ] FileReader { 39 40 // ready states -
trunk/WebCore/html/canvas/Float32Array.idl
r61136 r63331 34 34 HasCustomIndexSetter, 35 35 GenerateNativeConverter, 36 CustomToJS 36 CustomToJS, 37 DontCheckEnums 37 38 ] Float32Array : ArrayBufferView { 38 39 const unsigned int BYTES_PER_ELEMENT = 4; -
trunk/WebCore/html/canvas/Int16Array.idl
r61136 r63331 33 33 HasCustomIndexSetter, 34 34 GenerateNativeConverter, 35 CustomToJS 35 CustomToJS, 36 DontCheckEnums 36 37 ] Int16Array : ArrayBufferView { 37 38 const unsigned int BYTES_PER_ELEMENT = 2; -
trunk/WebCore/html/canvas/Int32Array.idl
r61136 r63331 34 34 HasCustomIndexSetter, 35 35 GenerateNativeConverter, 36 CustomToJS 36 CustomToJS, 37 DontCheckEnums 37 38 ] Int32Array : ArrayBufferView { 38 39 const unsigned int BYTES_PER_ELEMENT = 4; -
trunk/WebCore/html/canvas/Int8Array.idl
r61136 r63331 34 34 HasCustomIndexSetter, 35 35 GenerateNativeConverter, 36 CustomToJS 36 CustomToJS, 37 DontCheckEnums 37 38 ] Int8Array : ArrayBufferView { 38 39 const unsigned int BYTES_PER_ELEMENT = 1; -
trunk/WebCore/html/canvas/Uint16Array.idl
r61136 r63331 34 34 HasCustomIndexSetter, 35 35 GenerateNativeConverter, 36 CustomToJS 36 CustomToJS, 37 DontCheckEnums 37 38 ] Uint16Array : ArrayBufferView { 38 39 const unsigned int BYTES_PER_ELEMENT = 2; -
trunk/WebCore/html/canvas/Uint32Array.idl
r61136 r63331 34 34 HasCustomIndexSetter, 35 35 GenerateNativeConverter, 36 CustomToJS 36 CustomToJS, 37 DontCheckEnums 37 38 ] Uint32Array : ArrayBufferView { 38 39 const unsigned int BYTES_PER_ELEMENT = 4; -
trunk/WebCore/html/canvas/Uint8Array.idl
r61136 r63331 34 34 HasCustomIndexSetter, 35 35 GenerateNativeConverter, 36 CustomToJS 36 CustomToJS, 37 DontCheckEnums 37 38 ] Uint8Array : ArrayBufferView { 38 39 const unsigned int BYTES_PER_ELEMENT = 1; -
trunk/WebCore/html/canvas/WebGLRenderingContext.idl
r63224 r63331 29 29 Conditional=3D_CANVAS, 30 30 InterfaceUUID=98fb48ae-7216-489c-862b-8e1217fc4443, 31 ImplementationUUID=ab4f0781-152f-450e-9546-5b3987491a54 31 ImplementationUUID=ab4f0781-152f-450e-9546-5b3987491a54, 32 DontCheckEnums 32 33 ] WebGLRenderingContext : CanvasRenderingContext { 33 34 -
trunk/WebCore/inspector/JavaScriptCallFrame.idl
r57812 r63331 26 26 module inspector { 27 27 28 interface [Conditional=JAVASCRIPT_DEBUGGER, OmitConstructor] JavaScriptCallFrame { 28 interface [ 29 Conditional=JAVASCRIPT_DEBUGGER, 30 OmitConstructor, 31 DontCheckEnums 32 ] JavaScriptCallFrame { 29 33 30 34 // Scope type -
trunk/WebCore/loader/appcache/DOMApplicationCache.idl
r58330 r63331 29 29 Conditional=OFFLINE_WEB_APPLICATIONS, 30 30 EventTarget, 31 OmitConstructor 31 OmitConstructor, 32 DontCheckEnums 32 33 ] DOMApplicationCache { 33 34 // update status -
trunk/WebCore/storage/SQLException.idl
r61531 r63331 33 33 interface [ 34 34 Conditional=DATABASE, 35 NoStaticTables 35 NoStaticTables, 36 DontCheckEnums 36 37 ] SQLException { 37 38 readonly attribute unsigned long code; -
trunk/WebCore/svg/SVGComponentTransferFunctionElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGComponentTransferFunctionElement : SVGElement { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGComponentTransferFunctionElement : SVGElement { 29 32 // Component Transfer Types 30 33 const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; -
trunk/WebCore/svg/SVGException.idl
r52537 r63331 22 22 23 23 interface [ 24 Conditional=SVG 24 Conditional=SVG, 25 DontCheckEnums 25 26 ] SVGException { 26 27 -
trunk/WebCore/svg/SVGFEBlendElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGFEBlendElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGFEBlendElement : SVGElement, 32 SVGFilterPrimitiveStandardAttributes { 30 33 // Blend Mode Types 31 34 const unsigned short SVG_FEBLEND_MODE_UNKNOWN = 0; -
trunk/WebCore/svg/SVGFEColorMatrixElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGFEColorMatrixElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGFEColorMatrixElement : SVGElement, 32 SVGFilterPrimitiveStandardAttributes { 30 33 // Color Matrix Types 31 34 const unsigned short SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; -
trunk/WebCore/svg/SVGFECompositeElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGFECompositeElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGFECompositeElement : SVGElement, 32 SVGFilterPrimitiveStandardAttributes { 30 33 // Composite Operators 31 34 const unsigned short SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; -
trunk/WebCore/svg/SVGFEConvolveMatrixElement.idl
r62092 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS, GenerateConstructor] SVGFEConvolveMatrixElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 GenerateConstructor, 31 DontCheckEnums 32 ] SVGFEConvolveMatrixElement : SVGElement, 33 SVGFilterPrimitiveStandardAttributes { 30 34 // Edge Mode Values 31 35 const unsigned short SVG_EDGEMODE_UNKNOWN = 0; -
trunk/WebCore/svg/SVGFEDisplacementMapElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGFEDisplacementMapElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGFEDisplacementMapElement : SVGElement, 32 SVGFilterPrimitiveStandardAttributes { 30 33 // Channel Selectors 31 34 const unsigned short SVG_CHANNEL_UNKNOWN = 0; -
trunk/WebCore/svg/SVGFEMorphologyElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGFEMorphologyElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGFEMorphologyElement : SVGElement, 32 SVGFilterPrimitiveStandardAttributes { 30 33 // Morphology Operators 31 34 const unsigned short SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; -
trunk/WebCore/svg/SVGFETurbulenceElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG&FILTERS] SVGFETurbulenceElement : SVGElement, 29 SVGFilterPrimitiveStandardAttributes { 28 interface [ 29 Conditional=SVG&FILTERS, 30 DontCheckEnums 31 ] SVGFETurbulenceElement : SVGElement, 32 SVGFilterPrimitiveStandardAttributes { 30 33 // Turbulence Types 31 34 const unsigned short SVG_TURBULENCE_TYPE_UNKNOWN = 0; -
trunk/WebCore/svg/SVGGradientElement.idl
r52537 r63331 26 26 module svg { 27 27 28 interface [Conditional=SVG] SVGGradientElement : SVGElement, 29 SVGURIReference, 30 SVGExternalResourcesRequired, 31 SVGStylable 32 /* SVGUnitTypes */ { 28 interface [ 29 Conditional=SVG, 30 DontCheckEnums 31 ] SVGGradientElement : SVGElement, 32 SVGURIReference, 33 SVGExternalResourcesRequired, 34 SVGStylable 35 /* SVGUnitTypes */ { 33 36 // Spread Method Types 34 37 const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0; -
trunk/WebCore/xml/XMLHttpRequestException.idl
r52537 r63331 30 30 31 31 interface [ 32 NoStaticTables 32 NoStaticTables, 33 DontCheckEnums 33 34 ] XMLHttpRequestException { 34 35 -
trunk/WebCore/xml/XPathException.idl
r52537 r63331 30 30 31 31 interface [ 32 Conditional=XPATH 32 Conditional=XPATH, 33 DontCheckEnums 33 34 ] XPathException { 34 35
Note: See TracChangeset
for help on using the changeset viewer.