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

Unified Diff: bindings/dart/scripts/dart_interface.py

Issue 558803003: Roll IDL Dartium 37 (r181675) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 | « bindings/dart/scripts/dart_attributes.py ('k') | bindings/dart/scripts/dart_methods.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/dart/scripts/dart_interface.py
diff --git a/bindings/dart/scripts/dart_interface.py b/bindings/dart/scripts/dart_interface.py
index efd70f03d70298073787fc07fa9d1d6952ac196b..6904c6d1a7b651ea99f0b33f5354bae91e05001c 100644
--- a/bindings/dart/scripts/dart_interface.py
+++ b/bindings/dart/scripts/dart_interface.py
@@ -371,8 +371,8 @@ def suppress_setter(interface_name, name):
# To suppress an IDL method or attribute with a particular Extended Attribute
-# w/o a value e.g, StrictTypeChecking would be an empty set
-# 'StrictTypeChecking': frozenset([]),
+# w/o a value e.g, DartStrictTypeChecking would be an empty set
+# 'DartStrictTypeChecking': frozenset([]),
IGNORE_EXTENDED_ATTRIBUTES = {
# 'RuntimeEnabled': frozenset(['ExperimentalCanvasFeatures']),
}
@@ -861,7 +861,7 @@ def overload_check_argument(index, argument):
idl_type = argument['idl_type_object']
# FIXME(vsm): We need Dart specific checks for the rest of this method.
# FIXME: proper type checking, sharing code with attributes and methods
- # FIXME(terry): StrictTypeChecking no longer supported; TypeChecking is
+ # FIXME(terry): DartStrictTypeChecking no longer supported; TypeChecking is
# new extended attribute.
if idl_type.name == 'String' and argument['is_strict_type_checking']:
return ' || '.join(['isUndefinedOrNull(%s)' % cpp_value,
@@ -1099,7 +1099,7 @@ def property_setter(interface, setter):
is_raises_exception = 'RaisesException' in extended_attributes
return {
'has_strict_type_checking':
- 'StrictTypeChecking' in extended_attributes and
+ 'DartStrictTypeChecking' in extended_attributes and
idl_type.is_wrapper_type,
'idl_type': idl_type.base_type,
'is_custom': 'Custom' in extended_attributes,
« no previous file with comments | « bindings/dart/scripts/dart_attributes.py ('k') | bindings/dart/scripts/dart_methods.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698