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

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

Issue 10548065: Revert "Fix DataView constructor and byte accessors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « lib/dom/idl/dart/dart.idl ('k') | lib/dom/scripts/systemnative.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/generator.py
diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
index 886d8e02034d4e75e4d0d24ac766f930662415fd..8ef1ad14494adcaf092dd03508b3cf3336d61ee3 100644
--- a/lib/dom/scripts/generator.py
+++ b/lib/dom/scripts/generator.py
@@ -275,6 +275,8 @@ def AnalyzeConstructor(interface):
return map(lambda arg: _DartArg([arg], interface, True),
func_value.arguments)
+ if 'CustomConstructor' in interface.ext_attrs:
+ return None
if 'Constructor' in interface.ext_attrs:
name = None
func_value = interface.ext_attrs.get('Constructor')
@@ -711,8 +713,6 @@ _idl_type_registry = {
'boolean': PrimitiveIDLTypeInfo('boolean', dart_type='bool', native_type='bool',
webcore_getter_name='hasAttribute',
webcore_setter_name='setBooleanAttribute'),
- 'byte': PrimitiveIDLTypeInfo('byte', dart_type='int', native_type='int'),
- 'octet': PrimitiveIDLTypeInfo('octet', dart_type='int', native_type='int'),
'short': PrimitiveIDLTypeInfo('short', dart_type='int', native_type='int'),
'unsigned short': PrimitiveIDLTypeInfo('unsigned short', dart_type='int',
native_type='int'),
« no previous file with comments | « lib/dom/idl/dart/dart.idl ('k') | lib/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698