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

Side by Side Diff: tools/dom/scripts/htmlrenamer.py

Issue 14590002: Removing PagePopupController. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 import logging 5 import logging
6 import monitored 6 import monitored
7 import re 7 import re
8 8
9 typed_array_renames = { 9 typed_array_renames = {
10 'ArrayBuffer': 'ByteBuffer', 10 'ArrayBuffer': 'ByteBuffer',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 'FileReaderSync', # Workers 86 'FileReaderSync', # Workers
87 'FileWriterSync', # Workers 87 'FileWriterSync', # Workers
88 'HTMLAppletElement', 88 'HTMLAppletElement',
89 'HTMLBaseFontElement', 89 'HTMLBaseFontElement',
90 'HTMLDirectoryElement', 90 'HTMLDirectoryElement',
91 'HTMLFontElement', 91 'HTMLFontElement',
92 'HTMLFrameElement', 92 'HTMLFrameElement',
93 'HTMLFrameSetElement', 93 'HTMLFrameSetElement',
94 'HTMLMarqueeElement', 94 'HTMLMarqueeElement',
95 'IDBAny', 95 'IDBAny',
96 'PagePopupController',
96 'RGBColor', 97 'RGBColor',
97 'RadioNodeList', # Folded onto NodeList in dart2js. 98 'RadioNodeList', # Folded onto NodeList in dart2js.
98 'Rect', 99 'Rect',
99 'SQLTransactionSync', # Workers 100 'SQLTransactionSync', # Workers
100 'SQLTransactionSyncCallback', # Workers 101 'SQLTransactionSyncCallback', # Workers
101 'SVGAltGlyphDefElement', # Webkit only. 102 'SVGAltGlyphDefElement', # Webkit only.
102 'SVGAltGlyphItemElement', # Webkit only. 103 'SVGAltGlyphItemElement', # Webkit only.
103 'SVGAnimateColorElement', # Deprecated. Use AnimateElement instead. 104 'SVGAnimateColorElement', # Deprecated. Use AnimateElement instead.
104 'SVGColor', 105 'SVGColor',
105 'SVGComponentTransferFunctionElement', # Currently not supported anywhere. 106 'SVGComponentTransferFunctionElement', # Currently not supported anywhere.
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 'CanvasRenderingContext2D.setMiterLimit', 379 'CanvasRenderingContext2D.setMiterLimit',
379 'CanvasRenderingContext2D.setShadow', 380 'CanvasRenderingContext2D.setShadow',
380 'CanvasRenderingContext2D.setStrokeColor', 381 'CanvasRenderingContext2D.setStrokeColor',
381 'CharacterData.remove', 382 'CharacterData.remove',
382 'DOMWindow.call:blur', 383 'DOMWindow.call:blur',
383 'DOMWindow.call:focus', 384 'DOMWindow.call:focus',
384 'DOMWindow.clientInformation', 385 'DOMWindow.clientInformation',
385 'DOMWindow.get:frames', 386 'DOMWindow.get:frames',
386 'DOMWindow.get:length', 387 'DOMWindow.get:length',
387 'DOMWindow.on:beforeUnload', 388 'DOMWindow.on:beforeUnload',
389 'DOMWindow.pagePopupController',
388 'DOMWindow.prompt', 390 'DOMWindow.prompt',
389 'DOMWindow.webkitCancelAnimationFrame', 391 'DOMWindow.webkitCancelAnimationFrame',
390 'DOMWindow.webkitCancelRequestAnimationFrame', 392 'DOMWindow.webkitCancelRequestAnimationFrame',
391 'DOMWindow.webkitIndexedDB', 393 'DOMWindow.webkitIndexedDB',
392 'DOMWindow.webkitRequestAnimationFrame', 394 'DOMWindow.webkitRequestAnimationFrame',
393 'Document.adoptNode', 395 'Document.adoptNode',
394 'Document.alinkColor', 396 'Document.alinkColor',
395 'Document.all', 397 'Document.all',
396 'Document.applets', 398 'Document.applets',
397 'Document.bgColor', 399 'Document.bgColor',
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 761
760 # We're looking for a sequence of letters which start with capital letter 762 # We're looking for a sequence of letters which start with capital letter
761 # then a series of caps and finishes with either the end of the string or 763 # then a series of caps and finishes with either the end of the string or
762 # a capital letter. 764 # a capital letter.
763 # The [0-9] check is for names such as 2D or 3D 765 # The [0-9] check is for names such as 2D or 3D
764 # The following test cases should match as: 766 # The following test cases should match as:
765 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 767 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
766 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 768 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
767 # IFrameElement: (I)()(F)rameElement (no change) 769 # IFrameElement: (I)()(F)rameElement (no change)
768 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 770 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698