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

Unified Diff: sdk/lib/html/scripts/systemnative.py

Issue 11644103: Adding types to dart:html's dartium files where possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/scripts/systemnative.py
diff --git a/sdk/lib/html/scripts/systemnative.py b/sdk/lib/html/scripts/systemnative.py
index 313fde5ba3f51c1c712c453e8e3e810b38a797fd..5c56ed364e081a8d71405716aefcce8b3a543a68 100644
--- a/sdk/lib/html/scripts/systemnative.py
+++ b/sdk/lib/html/scripts/systemnative.py
@@ -443,8 +443,7 @@ class DartiumBackend(HtmlDartGenerator):
'static ' if info.IsStatic() else '',
self.SecureOutputType(info.type_name),
html_name,
- info.ParametersDeclaration(
- (lambda x: 'dynamic') if needs_dispatcher else self._DartType))
Anton Muhin 2012/12/28 10:21:02 do we need TypeOrNothings logic in .ParametersDecl
blois 2013/01/14 22:32:52 There are still some types which we don't have in
+ info.ParametersDeclaration(self._DartType))
if not needs_dispatcher:
# Bind directly to native implementation
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698