Chromium Code Reviews| Index: tools/dom/scripts/generator.py |
| diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py |
| index e0d9ee3d4db78385ed37b1a2e473825dcb27d2b8..39957589d47ccd288f80f7807db8a8dc71ee2f2b 100644 |
| --- a/tools/dom/scripts/generator.py |
| +++ b/tools/dom/scripts/generator.py |
| @@ -19,12 +19,9 @@ _pure_interfaces = set([ |
| 'MediaQueryListListener', |
| 'MutationCallback', |
| 'NodeSelector', |
| - 'SVGExternalResourcesRequired', |
| 'SVGFilterPrimitiveStandardAttributes', |
| 'SVGFitToViewBox', |
| - 'SVGLangSpace', |
| 'SVGLocatable', |
| - 'SVGStylable', |
| 'SVGTests', |
| 'SVGTransformable', |
| 'SVGURIReference', |
| @@ -653,12 +650,6 @@ dart2js_annotations = { |
| ], |
| } |
| -# Placeholder to add experimental flag, implementation for this is |
| -# pending in a separate CL. |
| -dart_annotations = { |
|
Emily Fortuna
2013/01/24 21:55:17
This was getting lost because dart_annotations was
|
| - 'Element.webkitMatchesSelector': ['@Experimental()'], |
| -} |
| - |
| _indexed_db_annotations = [ |
| "@SupportedBrowser(SupportedBrowser.CHROME)", |
| "@SupportedBrowser(SupportedBrowser.FIREFOX, '15')", |
| @@ -697,6 +688,14 @@ _speech_recognition_annotations = [ |
| "@Experimental()", |
| ] |
| +_no_ie_annotations = [ |
| + "@SupportedBrowser(SupportedBrowser.CHROME)", |
| + "@SupportedBrowser(SupportedBrowser.FIREFOX)", |
| + "@SupportedBrowser(SupportedBrowser.SAFARI)", |
| +] |
| + |
| +_svg_annotations = _all_but_ie9_annotations; |
| + |
| # Annotations to be placed on generated members. |
| # The table is indexed as: |
| # INTERFACE: annotations to be added to the interface declaration |
| @@ -716,6 +715,9 @@ dart_annotations = { |
| 'DOMWindow.webkitNotifications': _webkit_experimental_annotations, |
| 'DOMWindow.webkitRequestFileSystem': _file_system_annotations, |
| 'DOMWindow.webkitResolveLocalFileSystemURL': _file_system_annotations, |
| + # Placeholder to add experimental flag, implementation for this is |
| + # pending in a separate CL. |
| + 'Element.webkitMatchesSelector': ['@Experimental()'], |
| 'Element.webkitCreateShadowRoot': [ |
| "@SupportedBrowser(SupportedBrowser.CHROME, '25')", |
| "@Experimental()", |
| @@ -741,21 +743,9 @@ dart_annotations = { |
| "@SupportedBrowser(SupportedBrowser.SAFARI)", |
| ], |
| 'HTMLKeygenElement': _webkit_experimental_annotations, |
| - 'HTMLMeterElement': [ |
| - "@SupportedBrowser(SupportedBrowser.CHROME)", |
| - "@SupportedBrowser(SupportedBrowser.FIREFOX)", |
| - "@SupportedBrowser(SupportedBrowser.SAFARI)", |
| - ], |
| - 'HTMLObjectElement': [ |
| - "@SupportedBrowser(SupportedBrowser.CHROME)", |
| - "@SupportedBrowser(SupportedBrowser.FIREFOX)", |
| - "@SupportedBrowser(SupportedBrowser.SAFARI)", |
| - ], |
| - 'HTMLOutputElement': [ |
| - "@SupportedBrowser(SupportedBrowser.CHROME)", |
| - "@SupportedBrowser(SupportedBrowser.FIREFOX)", |
| - "@SupportedBrowser(SupportedBrowser.SAFARI)", |
| - ], |
| + 'HTMLMeterElement': _no_ie_annotations, |
| + 'HTMLObjectElement': _no_ie_annotations, |
| + 'HTMLOutputElement': _no_ie_annotations, |
| 'HTMLProgressElement': _all_but_ie9_annotations, |
| 'HTMLShadowElement': [ |
| "@SupportedBrowser(SupportedBrowser.CHROME, '25')", |
| @@ -786,6 +776,36 @@ dart_annotations = { |
| 'SpeechRecognitionError': _speech_recognition_annotations, |
| 'SpeechRecognitionEvent': _speech_recognition_annotations, |
| 'SpeechRecognitionResult': _speech_recognition_annotations, |
| + 'SVGAltGlyphElement': _no_ie_annotations, |
| + 'SVGAnimateElement': _no_ie_annotations, |
| + 'SVGAnimateMotionElement': _no_ie_annotations, |
| + 'SVGAnimateTransformElement': _no_ie_annotations, |
| + 'SVGFEBlendElement': _svg_annotations, |
| + 'SVGFEColorMatrixElement': _svg_annotations, |
| + 'SVGFEComponentTransferElement': _svg_annotations, |
| + 'SVGFEConvolveMatrixElement': _svg_annotations, |
| + 'SVGFEDiffuseLightingElement': _svg_annotations, |
| + 'SVGFEDisplacementMapElement': _svg_annotations, |
| + 'SVGFEDistantLightElement': _svg_annotations, |
| + 'SVGFEFloodElement': _svg_annotations, |
| + 'SVGFEFuncAElement': _svg_annotations, |
| + 'SVGFEFuncBElement': _svg_annotations, |
| + 'SVGFEFuncGElement': _svg_annotations, |
| + 'SVGFEFuncRElement': _svg_annotations, |
| + 'SVGFEGaussianBlurElement': _svg_annotations, |
| + 'SVGFEImageElement': _svg_annotations, |
| + 'SVGFEMergeElement': _svg_annotations, |
| + 'SVGFEMergeNodeElement': _svg_annotations, |
| + 'SVGFEMorphology': _svg_annotations, |
| + 'SVGFEOffsetElement': _svg_annotations, |
| + 'SVGFEPointLightElement': _svg_annotations, |
| + 'SVGFESpecularLightingElement': _svg_annotations, |
| + 'SVGFESpotLightElement': _svg_annotations, |
| + 'SVGFETileElement': _svg_annotations, |
| + 'SVGFETurbulenceElement': _svg_annotations, |
| + 'SVGFilterElement': _svg_annotations, |
| + 'SVGForeignObjectElement': _no_ie_annotations, |
| + 'SVGSetElement': _no_ie_annotations, |
| 'WebSocket': _all_but_ie9_annotations, |
| 'WorkerContext.indexedDB': _indexed_db_annotations, |
| 'WorkerContext.webkitRequestFileSystem': _file_system_annotations, |