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

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

Issue 10009042: IDBKey requires special ParameterAdapter handling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « no previous file | 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 re 9 import re
10 10
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 'SerializedScriptValue': PrimitiveIDLTypeInfo('SerializedScriptValue', dart_ type='Dynamic', ref_counted=True), 645 'SerializedScriptValue': PrimitiveIDLTypeInfo('SerializedScriptValue', dart_ type='Dynamic', ref_counted=True),
646 'WebKitFlags': PrimitiveIDLTypeInfo('WebKitFlags', dart_type='Object'), 646 'WebKitFlags': PrimitiveIDLTypeInfo('WebKitFlags', dart_type='Object'),
647 647
648 'CSSRule': IDLTypeInfo('CSSRule', conversion_includes=['CSSImportRule']), 648 'CSSRule': IDLTypeInfo('CSSRule', conversion_includes=['CSSImportRule']),
649 'DOMException': IDLTypeInfo('DOMCoreException', dart_type='DOMException'), 649 'DOMException': IDLTypeInfo('DOMCoreException', dart_type='DOMException'),
650 'DOMWindow': IDLTypeInfo('DOMWindow', custom_to_dart=True), 650 'DOMWindow': IDLTypeInfo('DOMWindow', custom_to_dart=True),
651 'Element': IDLTypeInfo('Element', custom_to_dart=True), 651 'Element': IDLTypeInfo('Element', custom_to_dart=True),
652 'EventListener': IDLTypeInfo('EventListener', has_dart_wrapper=False), 652 'EventListener': IDLTypeInfo('EventListener', has_dart_wrapper=False),
653 'EventTarget': IDLTypeInfo('EventTarget', has_dart_wrapper=False), 653 'EventTarget': IDLTypeInfo('EventTarget', has_dart_wrapper=False),
654 'HTMLElement': IDLTypeInfo('HTMLElement', custom_to_dart=True), 654 'HTMLElement': IDLTypeInfo('HTMLElement', custom_to_dart=True),
655 'IDBKey': IDLTypeInfo('IDBKey', has_dart_wrapper=False),
655 'MediaQueryListListener': IDLTypeInfo('MediaQueryListListener', has_dart_wra pper=False), 656 'MediaQueryListListener': IDLTypeInfo('MediaQueryListListener', has_dart_wra pper=False),
656 'OptionsObject': IDLTypeInfo('OptionsObject', has_dart_wrapper=False), 657 'OptionsObject': IDLTypeInfo('OptionsObject', has_dart_wrapper=False),
657 'StyleSheet': IDLTypeInfo('StyleSheet', conversion_includes=['CSSStyleSheet' ]), 658 'StyleSheet': IDLTypeInfo('StyleSheet', conversion_includes=['CSSStyleSheet' ]),
658 'SVGElement': IDLTypeInfo('SVGElement', custom_to_dart=True), 659 'SVGElement': IDLTypeInfo('SVGElement', custom_to_dart=True),
659 660
660 'SVGAngle': SVGTearOffIDLTypeInfo('SVGAngle'), 661 'SVGAngle': SVGTearOffIDLTypeInfo('SVGAngle'),
661 'SVGLength': SVGTearOffIDLTypeInfo('SVGLength'), 662 'SVGLength': SVGTearOffIDLTypeInfo('SVGLength'),
662 'SVGLengthList': SVGTearOffIDLTypeInfo('SVGLengthList', ref_counted=False), 663 'SVGLengthList': SVGTearOffIDLTypeInfo('SVGLengthList', ref_counted=False),
663 'SVGMatrix': SVGTearOffIDLTypeInfo('SVGMatrix'), 664 'SVGMatrix': SVGTearOffIDLTypeInfo('SVGMatrix'),
664 'SVGNumber': SVGTearOffIDLTypeInfo('SVGNumber', native_type='SVGPropertyTear Off<float>'), 665 'SVGNumber': SVGTearOffIDLTypeInfo('SVGNumber', native_type='SVGPropertyTear Off<float>'),
(...skipping 12 matching lines...) Expand all
677 '"SVGAnimatedPropertyTearOff.h"', 678 '"SVGAnimatedPropertyTearOff.h"',
678 '"SVGAnimatedListPropertyTearOff.h"', 679 '"SVGAnimatedListPropertyTearOff.h"',
679 '"SVGStaticListPropertyTearOff.h"', 680 '"SVGStaticListPropertyTearOff.h"',
680 '"SVGAnimatedListPropertyTearOff.h"', 681 '"SVGAnimatedListPropertyTearOff.h"',
681 '"SVGTransformListPropertyTearOff.h"', 682 '"SVGTransformListPropertyTearOff.h"',
682 '"SVGPathSegListPropertyTearOff.h"', 683 '"SVGPathSegListPropertyTearOff.h"',
683 ] 684 ]
684 685
685 def GetIDLTypeInfo(idl_type_name): 686 def GetIDLTypeInfo(idl_type_name):
686 return _idl_type_registry.get(idl_type_name, IDLTypeInfo(idl_type_name)) 687 return _idl_type_registry.get(idl_type_name, IDLTypeInfo(idl_type_name))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698