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

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

Issue 34453003: Rename mdv -> template_binding, remove experiemntal apis from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 'HTMLTableElement.createTFoot', 235 'HTMLTableElement.createTFoot',
236 'HTMLTableElement.createTHead', 236 'HTMLTableElement.createTHead',
237 'HTMLTableElement.createTBody', 237 'HTMLTableElement.createTBody',
238 'HTMLTableElement.insertRow', 238 'HTMLTableElement.insertRow',
239 'HTMLTableElement.rows', 239 'HTMLTableElement.rows',
240 'HTMLTableElement.tBodies', 240 'HTMLTableElement.tBodies',
241 'HTMLTableRowElement.cells', 241 'HTMLTableRowElement.cells',
242 'HTMLTableRowElement.insertCell', 242 'HTMLTableRowElement.insertCell',
243 'HTMLTableSectionElement.insertRow', 243 'HTMLTableSectionElement.insertRow',
244 'HTMLTableSectionElement.rows', 244 'HTMLTableSectionElement.rows',
245 'HTMLTemplateElement.content',
246 'IDBCursor.delete', 245 'IDBCursor.delete',
247 'IDBCursor.update', 246 'IDBCursor.update',
248 'IDBDatabase.createObjectStore', 247 'IDBDatabase.createObjectStore',
249 'IDBFactory.deleteDatabase', 248 'IDBFactory.deleteDatabase',
250 'IDBFactory.webkitGetDatabaseNames', 249 'IDBFactory.webkitGetDatabaseNames',
251 'IDBFactory.open', 250 'IDBFactory.open',
252 'IDBIndex.count', 251 'IDBIndex.count',
253 'IDBIndex.get', 252 'IDBIndex.get',
254 'IDBIndex.getKey', 253 'IDBIndex.getKey',
255 'IDBIndex.openCursor', 254 'IDBIndex.openCursor',
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 937
939 # We're looking for a sequence of letters which start with capital letter 938 # We're looking for a sequence of letters which start with capital letter
940 # then a series of caps and finishes with either the end of the string or 939 # then a series of caps and finishes with either the end of the string or
941 # a capital letter. 940 # a capital letter.
942 # The [0-9] check is for names such as 2D or 3D 941 # The [0-9] check is for names such as 2D or 3D
943 # The following test cases should match as: 942 # The following test cases should match as:
944 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 943 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
945 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 944 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
946 # IFrameElement: (I)()(F)rameElement (no change) 945 # IFrameElement: (I)()(F)rameElement (no change)
947 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 946 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') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698