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

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

Issue 11191026: Unify formatting of parameters in interfaces and implementing classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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
« lib/html/scripts/generator.py ('K') | « lib/html/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/systemnative.py
diff --git a/lib/html/scripts/systemnative.py b/lib/html/scripts/systemnative.py
index 187a272290bdcaf73e6f59298a4a4030f3e23783..ad5f2bea0fd5b79e225b8594e0d0c846790d1e18 100644
--- a/lib/html/scripts/systemnative.py
+++ b/lib/html/scripts/systemnative.py
@@ -227,7 +227,7 @@ class DartiumBackend(object):
template,
FACTORYPROVIDER=factory_provider,
INTERFACE=self._html_interface_name,
- PARAMETERS=constructor_info.ParametersImplementationDeclaration(self._DartType),
+ PARAMETERS=constructor_info.ParametersDeclaration(self._DartType),
ARGUMENTS=constructor_info.ParametersAsArgumentList(),
NATIVE_NAME=native_binding)
@@ -476,7 +476,7 @@ class DartiumBackend(object):
'static ' if info.IsStatic() else '',
SecureOutputType(self, info.type_name),
html_name,
- info.ParametersImplementationDeclaration(
+ info.ParametersDeclaration(
(lambda x: 'Dynamic') if needs_dispatcher else self._DartType))
if not needs_dispatcher:
« lib/html/scripts/generator.py ('K') | « lib/html/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698