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

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

Issue 12518008: Mark ArrayBuffer and ArrayBufferView converters as custom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index a53eaffe14ac12c39377a118876080b217ab89cb..1eec9f02f1017d8be1cb72a565cfd78d6c0c1fdc 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -1478,8 +1478,10 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', {
# and dart:typeddata's ByteBuffer for IDLs' ArrayBuffers,
# hence ArrayBuffer is mapped to dynamic in arguments and return
# values.
- 'ArrayBufferView': TypeData(clazz='Interface', dart_type='dynamic'),
- 'ArrayBuffer': TypeData(clazz='Interface', dart_type='dynamic'),
+ 'ArrayBufferView': TypeData(clazz='Interface', dart_type='dynamic',
+ custom_to_native=True, custom_to_dart=True),
+ 'ArrayBuffer': TypeData(clazz='Interface', dart_type='dynamic',
+ custom_to_native=True, custom_to_dart=True),
'SVGAngle': TypeData(clazz='SVGTearOff'),
'SVGLength': TypeData(clazz='SVGTearOff'),
« 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