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

Unified Diff: tools/dom/scripts/htmlrenamer.py

Issue 12857006: Removing CssValue APIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index f7db14bf2e8359bfd550d439a64e14e034b68f16..975078df4fbf17154b192ab5c1b5243d4d524963 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -32,8 +32,6 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
'NotificationPermissionCallback': '_NotificationPermissionCallback',
'PositionCallback': '_PositionCallback',
'PositionErrorCallback': '_PositionErrorCallback',
- 'Rect': 'CssRect',
- 'RGBColor': 'CssRgbColor',
'RTCErrorCallback': '_RtcErrorCallback',
'RTCSessionDescriptionCallback': '_RtcSessionDescriptionCallback',
'StorageInfoErrorCallback': '_StorageInfoErrorCallback',
@@ -47,9 +45,8 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
'WebKitAnimationEvent': 'AnimationEvent',
'WebKitCSSKeyframeRule': 'CssKeyframeRule',
'WebKitCSSKeyframesRule': 'CssKeyframesRule',
- 'WebKitCSSMatrix': 'CssMatrix',
'WebKitCSSTransformValue': 'CssTransformValue',
- 'WebKitPoint': 'DomPoint',
+ 'WebKitPoint': '_DomPoint',
'WebKitTransitionEvent': '_WebKitTransitionEvent',
'XMLHttpRequest': 'HttpRequest',
'XMLHttpRequestException': 'HttpRequestException',
@@ -60,6 +57,9 @@ html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
# Interfaces that are suppressed, but need to still exist for Dartium and to
# properly wrap DOM objects if/when encountered.
_removed_html_interfaces = [
+ 'CSSPrimitiveValue',
+ 'CSSValue',
+ 'Counter',
'HTMLAppletElement',
'HTMLBaseFontElement',
'HTMLDirectoryElement',
@@ -68,12 +68,14 @@ _removed_html_interfaces = [
'HTMLFrameSetElement',
'HTMLMarqueeElement',
'IDBAny',
+ 'RGBColor',
+ 'Rect',
'SVGAltGlyphDefElement', # Webkit only.
'SVGAltGlyphItemElement', # Webkit only.
'SVGAnimateColorElement', # Deprecated. Use AnimateElement instead.
+ 'SVGColor',
'SVGComponentTransferFunctionElement', # Currently not supported anywhere.
'SVGCursorElement', # Webkit only.
- 'SVGGradientElement', # Currently not supported anywhere.
'SVGFEDropShadowElement', # Webkit only for the following:
'SVGFontElement',
'SVGFontFaceElement',
@@ -83,11 +85,17 @@ _removed_html_interfaces = [
'SVGFontFaceUriElement',
'SVGGlyphElement',
'SVGGlyphRefElement',
+ 'SVGGradientElement', # Currently not supported anywhere.
'SVGHKernElement',
- 'SVGMissingGlyphElement',
'SVGMPathElement',
+ 'SVGPaint',
+ 'SVGMissingGlyphElement',
'SVGTRefElement',
'SVGVKernElement',
+ 'WebKitCSSFilterValue',
+ 'WebKitCSSMatrix',
+ 'WebKitCSSMixFunctionValue',
+ 'WebKitCSSTransformValue',
]
for interface in _removed_html_interfaces:
@@ -291,8 +299,8 @@ renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'DOMWindow.clearInterval': '_clearInterval',
'DOMWindow.setTimeout': '_setTimeout',
'DOMWindow.setInterval': '_setInterval',
- 'DOMWindow.webkitConvertPointFromNodeToPage': 'convertPointFromNodeToPage',
- 'DOMWindow.webkitConvertPointFromPageToNode': 'convertPointFromPageToNode',
+ 'DOMWindow.webkitConvertPointFromNodeToPage': '_convertPointFromNodeToPage',
+ 'DOMWindow.webkitConvertPointFromPageToNode': '_convertPointFromPageToNode',
'DOMWindow.webkitNotifications': 'notifications',
'DOMWindow.webkitRequestFileSystem': 'requestFileSystem',
'DOMWindow.webkitResolveLocalFileSystemURL': 'resolveLocalFileSystemUrl',
@@ -336,6 +344,7 @@ for member in convert_to_future_members:
# TODO(jacobr): cleanup and augment this list.
_removed_html_members = monitored.Set('htmlrenamer._removed_html_members', [
'Attr.*',
+ 'CSSStyleDeclaration.getPropertyCSSValue',
'CanvasRenderingContext2D.clearShadow',
'CanvasRenderingContext2D.drawImageFromRect',
'CanvasRenderingContext2D.setAlpha',
@@ -595,6 +604,7 @@ _removed_html_members = monitored.Set('htmlrenamer._removed_html_members', [
'Node.set:nodeValue',
'NodeList.item',
'ShadowRoot.getElementsByTagNameNS',
+ 'SVGStyledElement.getPresentationAttribute',
'WheelEvent.wheelDelta',
'WorkerContext.webkitIndexedDB',
# TODO(jacobr): should these be removed?

Powered by Google App Engine
This is Rietveld 408576698