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

Unified Diff: tools/dom/scripts/generator.py

Issue 93933014: Changes for Chrome 32 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
===================================================================
--- tools/dom/scripts/generator.py (revision 31114)
+++ tools/dom/scripts/generator.py (working copy)
@@ -19,6 +19,7 @@
'DOMStringMap',
'ChildNode',
'EventListener',
+ 'GlobalEventHandlers',
'MediaQueryListListener',
'MutationCallback',
'NavigatorID',
@@ -31,7 +32,10 @@
'SVGURIReference',
'SVGZoomAndPan',
'TimeoutHandler',
+ 'URLUtils',
+ 'URLUtilsReadOnly',
'WindowBase64',
+ 'WindowEventHandlers',
'WindowTimers',
])
@@ -194,6 +198,9 @@
auto-transforming callbacks into futures)."""
callback_handlers = [operation for operation in interface.operations
if operation.id == 'handleEvent']
+ if callback_handlers == []:
+ callback_handlers = [operation for operation in interface.operations
+ if operation.id == 'handleItem']
return AnalyzeOperation(interface, callback_handlers)
# Given a list of overloaded arguments, render dart arguments.
@@ -1172,7 +1179,7 @@
'SVGPoint': TypeData(clazz='SVGTearOff', native_type='SVGPropertyTearOff<FloatPoint>'),
'SVGPointList': TypeData(clazz='SVGTearOff'),
'SVGPreserveAspectRatio': TypeData(clazz='SVGTearOff'),
- 'SVGRect': TypeData(clazz='SVGTearOff', native_type='SVGPropertyTearOff<FloatRect>'),
+ 'SVGRect': TypeData(clazz='SVGTearOff', native_type='SVGPropertyTearOff<SVGRect>'),
Jacob 2013/12/20 19:09:16 Drive by comment... the names on both sides are no
'SVGStringList': TypeData(clazz='SVGTearOff', item_type='DOMString',
native_type='SVGStaticListPropertyTearOff<SVGStringList>'),
'SVGTransform': TypeData(clazz='SVGTearOff'),
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698