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

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

Issue 12212006: Fixing the status of element_types_test/supported_object on IE. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « tests/html/html.status ('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 5
6 """This module provides shared functionality for systems to generate 6 """This module provides shared functionality for systems to generate
7 Dart APIs from the IDL database.""" 7 Dart APIs from the IDL database."""
8 8
9 import copy 9 import copy
10 import json 10 import json
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 'HTMLDetailsElement': _webkit_experimental_annotations, 760 'HTMLDetailsElement': _webkit_experimental_annotations,
761 'HTMLEmbedElement': [ 761 'HTMLEmbedElement': [
762 "@SupportedBrowser(SupportedBrowser.CHROME)", 762 "@SupportedBrowser(SupportedBrowser.CHROME)",
763 "@SupportedBrowser(SupportedBrowser.IE)", 763 "@SupportedBrowser(SupportedBrowser.IE)",
764 "@SupportedBrowser(SupportedBrowser.SAFARI)", 764 "@SupportedBrowser(SupportedBrowser.SAFARI)",
765 ], 765 ],
766 'HTMLKeygenElement': _webkit_experimental_annotations, 766 'HTMLKeygenElement': _webkit_experimental_annotations,
767 'HTMLMeterElement': _no_ie_annotations, 767 'HTMLMeterElement': _no_ie_annotations,
768 'HTMLObjectElement': [ 768 'HTMLObjectElement': [
769 "@SupportedBrowser(SupportedBrowser.CHROME)", 769 "@SupportedBrowser(SupportedBrowser.CHROME)",
770 "@SupportedBrowser(SupportedBrowser.IE)",
770 "@SupportedBrowser(SupportedBrowser.SAFARI)", 771 "@SupportedBrowser(SupportedBrowser.SAFARI)",
771 ], 772 ],
772 'HTMLOutputElement': _no_ie_annotations, 773 'HTMLOutputElement': _no_ie_annotations,
773 'HTMLProgressElement': _all_but_ie9_annotations, 774 'HTMLProgressElement': _all_but_ie9_annotations,
774 'HTMLShadowElement': [ 775 'HTMLShadowElement': [
775 "@SupportedBrowser(SupportedBrowser.CHROME, '25')", 776 "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
776 "@Experimental", 777 "@Experimental",
777 ], 778 ],
778 'HTMLTrackElement': [ 779 'HTMLTrackElement': [
779 "@SupportedBrowser(SupportedBrowser.CHROME)", 780 "@SupportedBrowser(SupportedBrowser.CHROME)",
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 self) 1479 self)
1479 1480
1480 if type_data.clazz == 'SVGTearOff': 1481 if type_data.clazz == 'SVGTearOff':
1481 dart_interface_name = self._renamer.RenameInterface( 1482 dart_interface_name = self._renamer.RenameInterface(
1482 self._database.GetInterface(type_name)) 1483 self._database.GetInterface(type_name))
1483 return SVGTearOffIDLTypeInfo( 1484 return SVGTearOffIDLTypeInfo(
1484 type_name, type_data, dart_interface_name, self) 1485 type_name, type_data, dart_interface_name, self)
1485 1486
1486 class_name = '%sIDLTypeInfo' % type_data.clazz 1487 class_name = '%sIDLTypeInfo' % type_data.clazz
1487 return globals()[class_name](type_name, type_data) 1488 return globals()[class_name](type_name, type_data)
OLDNEW
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698