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

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

Issue 444973002: Fix broken FileReader API in _blink_dartium (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « tools/dom/idl/dart/dart.idl ('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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 'Element.clientLeft', 246 'Element.clientLeft',
247 'Element.clientTop', 247 'Element.clientTop',
248 'Element.clientWidth', 248 'Element.clientWidth',
249 'Element.clientHeight', 249 'Element.clientHeight',
250 'Element.scrollLeft', 250 'Element.scrollLeft',
251 'Element.scrollTop', 251 'Element.scrollTop',
252 'Element.scrollWidth', 252 'Element.scrollWidth',
253 'Element.scrollHeight', 253 'Element.scrollHeight',
254 254
255 'Event.initEvent', 255 'Event.initEvent',
256 'FileReader.result',
256 'Geolocation.clearWatch', 257 'Geolocation.clearWatch',
257 'Geolocation.getCurrentPosition', 258 'Geolocation.getCurrentPosition',
258 'Geolocation.watchPosition', 259 'Geolocation.watchPosition',
259 'HashChangeEvent.initHashChangeEvent', 260 'HashChangeEvent.initHashChangeEvent',
260 'HTMLCanvasElement.toDataURL', 261 'HTMLCanvasElement.toDataURL',
261 'HTMLTableElement.createCaption', 262 'HTMLTableElement.createCaption',
262 'HTMLTableElement.createTFoot', 263 'HTMLTableElement.createTFoot',
263 'HTMLTableElement.createTHead', 264 'HTMLTableElement.createTHead',
264 'HTMLTableElement.createTBody', 265 'HTMLTableElement.createTBody',
265 'HTMLTableElement.insertRow', 266 'HTMLTableElement.insertRow',
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 982
982 # We're looking for a sequence of letters which start with capital letter 983 # We're looking for a sequence of letters which start with capital letter
983 # then a series of caps and finishes with either the end of the string or 984 # then a series of caps and finishes with either the end of the string or
984 # a capital letter. 985 # a capital letter.
985 # The [0-9] check is for names such as 2D or 3D 986 # The [0-9] check is for names such as 2D or 3D
986 # The following test cases should match as: 987 # The following test cases should match as:
987 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 988 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
988 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 989 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
989 # IFrameElement: (I)()(F)rameElement (no change) 990 # IFrameElement: (I)()(F)rameElement (no change)
990 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 991 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698