| OLD | NEW |
| 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 | 5 |
| 6 html_interface_renames = { | 6 html_interface_renames = { |
| 7 'DOMCoreException': 'DOMException', |
| 7 'DOMFormData': 'FormData', | 8 'DOMFormData': 'FormData', |
| 8 'DOMWindow': 'Window', | 9 'DOMWindow': 'Window', |
| 9 'WebKitAnimation': 'Animation', | 10 'WebKitAnimation': 'Animation', |
| 10 'WebKitAnimationEvent': 'AnimationEvent', | 11 'WebKitAnimationEvent': 'AnimationEvent', |
| 11 'WebKitAnimationList': 'AnimationList', | 12 'WebKitAnimationList': 'AnimationList', |
| 12 'WebKitBlobBuilder': 'BlobBuilder', | 13 'WebKitBlobBuilder': 'BlobBuilder', |
| 13 'WebKitCSSKeyframeRule': 'CSSKeyframeRule', | 14 'WebKitCSSKeyframeRule': 'CSSKeyframeRule', |
| 14 'WebKitCSSKeyframesRule': 'CSSKeyframesRule', | 15 'WebKitCSSKeyframesRule': 'CSSKeyframesRule', |
| 15 'WebKitCSSMatrix': 'CSSMatrix', | 16 'WebKitCSSMatrix': 'CSSMatrix', |
| 16 'WebKitCSSTransformValue': 'CSSTransformValue', | 17 'WebKitCSSTransformValue': 'CSSTransformValue', |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 315 |
| 315 def _FindMatch(self, interface, member, member_prefix, candidates): | 316 def _FindMatch(self, interface, member, member_prefix, candidates): |
| 316 for interface in self._database.Hierarchy(interface): | 317 for interface in self._database.Hierarchy(interface): |
| 317 html_interface_name = self.RenameInterface(interface) | 318 html_interface_name = self.RenameInterface(interface) |
| 318 member_name = html_interface_name + '.' + member | 319 member_name = html_interface_name + '.' + member |
| 319 if member_name in candidates: | 320 if member_name in candidates: |
| 320 return member_name | 321 return member_name |
| 321 member_name = html_interface_name + '.' + member_prefix + member | 322 member_name = html_interface_name + '.' + member_prefix + member |
| 322 if member_name in candidates: | 323 if member_name in candidates: |
| 323 return member_name | 324 return member_name |
| OLD | NEW |