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

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

Issue 17738007: Removed overloads for WebGLRenderingContext.texImage2d. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/web_gl/dartium/web_gl_dartium.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 'Node.parentElement': 'parent', 333 'Node.parentElement': 'parent',
334 'Node.previousSibling': 'previousNode', 334 'Node.previousSibling': 'previousNode',
335 'Node.textContent': 'text', 335 'Node.textContent': 'text',
336 'RTCPeerConnection.createAnswer': '_createAnswer', 336 'RTCPeerConnection.createAnswer': '_createAnswer',
337 'RTCPeerConnection.createOffer': '_createOffer', 337 'RTCPeerConnection.createOffer': '_createOffer',
338 'StorageInfo.queryUsageAndQuota': '_queryUsageAndQuota', 338 'StorageInfo.queryUsageAndQuota': '_queryUsageAndQuota',
339 'SVGElement.className': '$dom_svgClassName', 339 'SVGElement.className': '$dom_svgClassName',
340 'SVGStopElement.offset': 'gradientOffset', 340 'SVGStopElement.offset': 'gradientOffset',
341 'URL.createObjectURL': 'createObjectUrl', 341 'URL.createObjectURL': 'createObjectUrl',
342 'URL.revokeObjectURL': 'revokeObjectUrl', 342 'URL.revokeObjectURL': 'revokeObjectUrl',
343 'WebGLRenderingContext.texImage2D': '_texImage2D',
344 'WebGLRenderingContext.texSubImage2D': '_texSubImageImage2D',
343 'WheelEvent.wheelDeltaX': '_wheelDeltaX', 345 'WheelEvent.wheelDeltaX': '_wheelDeltaX',
344 'WheelEvent.wheelDeltaY': '_wheelDeltaY', 346 'WheelEvent.wheelDeltaY': '_wheelDeltaY',
345 #'WorkerContext.webkitRequestFileSystem': '_requestFileSystem', 347 #'WorkerContext.webkitRequestFileSystem': '_requestFileSystem',
346 #'WorkerContext.webkitRequestFileSystemSync': '_requestFileSystemSync', 348 #'WorkerContext.webkitRequestFileSystemSync': '_requestFileSystemSync',
347 }) 349 })
348 350
349 for member in convert_to_future_members: 351 for member in convert_to_future_members:
350 if member in renamed_html_members: 352 if member in renamed_html_members:
351 renamed_html_members[member] = '_' + renamed_html_members[member] 353 renamed_html_members[member] = '_' + renamed_html_members[member]
352 else: 354 else:
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 772
771 # We're looking for a sequence of letters which start with capital letter 773 # We're looking for a sequence of letters which start with capital letter
772 # then a series of caps and finishes with either the end of the string or 774 # then a series of caps and finishes with either the end of the string or
773 # a capital letter. 775 # a capital letter.
774 # The [0-9] check is for names such as 2D or 3D 776 # The [0-9] check is for names such as 2D or 3D
775 # The following test cases should match as: 777 # The following test cases should match as:
776 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 778 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
777 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 779 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
778 # IFrameElement: (I)()(F)rameElement (no change) 780 # IFrameElement: (I)()(F)rameElement (no change)
779 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 781 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dartium/web_gl_dartium.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698