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 'DOMCoreException': 'DOMException', |
8 'DOMFormData': 'FormData', | 8 'DOMFormData': 'FormData', |
9 'DOMURL': 'Url', | 9 'DOMURL': 'Url', |
10 'DOMWindow': 'LocalWindow', | 10 'DOMWindow': 'LocalWindow', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 'NodeList.item', | 114 'NodeList.item', |
115 "Attr.*", | 115 "Attr.*", |
116 # "BarProp.*", | 116 # "BarProp.*", |
117 # "BarInfo.*", | 117 # "BarInfo.*", |
118 # "Blob.webkitSlice", | 118 # "Blob.webkitSlice", |
119 # "CDATASection.*", | 119 # "CDATASection.*", |
120 # "Comment.*", | 120 # "Comment.*", |
121 # "DOMImplementation.*", | 121 # "DOMImplementation.*", |
122 "CanvasRenderingContext2D.setFillColor", | 122 "CanvasRenderingContext2D.setFillColor", |
123 "CanvasRenderingContext2D.setStrokeColor", | 123 "CanvasRenderingContext2D.setStrokeColor", |
| 124 "DivElement.align", |
124 "Document.get:forms", | 125 "Document.get:forms", |
125 # "Document.get:selectedStylesheetSet", | 126 # "Document.get:selectedStylesheetSet", |
126 # "Document.set:selectedStylesheetSet", | 127 # "Document.set:selectedStylesheetSet", |
127 # "Document.get:preferredStylesheetSet", | 128 # "Document.get:preferredStylesheetSet", |
128 "Document.get:links", | 129 "Document.get:links", |
129 "Document.set:domain", | 130 "Document.set:domain", |
130 "Document.createAttributeNS", | 131 "Document.createAttributeNS", |
131 "Document.get:inputEncoding", | 132 "Document.get:inputEncoding", |
132 "Document.get:height", | 133 "Document.get:height", |
133 "Document.get:width", | 134 "Document.get:width", |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 if member_name in candidates: | 310 if member_name in candidates: |
310 return member_name | 311 return member_name |
311 member_name = html_interface_name + '.' + member_prefix + member | 312 member_name = html_interface_name + '.' + member_prefix + member |
312 if member_name in candidates: | 313 if member_name in candidates: |
313 return member_name | 314 return member_name |
314 | 315 |
315 def GetLibraryName(self, interface): | 316 def GetLibraryName(self, interface): |
316 if interface.id.startswith('SVG'): | 317 if interface.id.startswith('SVG'): |
317 return 'svg' | 318 return 'svg' |
318 return 'html' | 319 return 'html' |
OLD | NEW |