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

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

Issue 10014028: Remove EventListener attributes from Dart DOM API. (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
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
11 _pure_interfaces = set([ 11 _pure_interfaces = set([
12 'ElementTimeControl', 12 'ElementTimeControl',
13 'ElementTraversal', 13 'ElementTraversal',
14 'EventTarget',
14 'MediaQueryListListener', 15 'MediaQueryListListener',
15 'NodeSelector', 16 'NodeSelector',
16 'SVGExternalResourcesRequired', 17 'SVGExternalResourcesRequired',
17 'SVGFilterPrimitiveStandardAttributes', 18 'SVGFilterPrimitiveStandardAttributes',
18 'SVGFitToViewBox', 19 'SVGFitToViewBox',
19 'SVGLangSpace', 20 'SVGLangSpace',
20 'SVGLocatable', 21 'SVGLocatable',
21 'SVGStylable', 22 'SVGStylable',
22 'SVGTests', 23 'SVGTests',
23 'SVGTransformable', 24 'SVGTransformable',
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 '"SVGAnimatedPropertyTearOff.h"', 638 '"SVGAnimatedPropertyTearOff.h"',
638 '"SVGAnimatedListPropertyTearOff.h"', 639 '"SVGAnimatedListPropertyTearOff.h"',
639 '"SVGStaticListPropertyTearOff.h"', 640 '"SVGStaticListPropertyTearOff.h"',
640 '"SVGAnimatedListPropertyTearOff.h"', 641 '"SVGAnimatedListPropertyTearOff.h"',
641 '"SVGTransformListPropertyTearOff.h"', 642 '"SVGTransformListPropertyTearOff.h"',
642 '"SVGPathSegListPropertyTearOff.h"', 643 '"SVGPathSegListPropertyTearOff.h"',
643 ] 644 ]
644 645
645 def GetIDLTypeInfo(idl_type_name): 646 def GetIDLTypeInfo(idl_type_name):
646 return _idl_type_registry.get(idl_type_name, IDLTypeInfo(idl_type_name)) 647 return _idl_type_registry.get(idl_type_name, IDLTypeInfo(idl_type_name))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698