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

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

Issue 1228093007: Updates for dart:js fixes after initial --gen-interop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: merge Created 5 years, 5 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 | « tools/dom/scripts/systemhtml.py ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index da954dfc02f6ae8ef29f1225b2a8264acac0512c..99e511a1f1d6052b50475248076f0fb26596f0f6 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -383,6 +383,7 @@ class DartiumBackend(HtmlDartGenerator):
self._cpp_impl_includes = None
self._cpp_definitions_emitter = None
self._cpp_resolver_emitter = None
+ self._dart_js_interop = options.dart_js_interop
def ImplementsMergedMembers(self):
# We could not add merged functions to implementation class because
@@ -1249,7 +1250,9 @@ class DartiumBackend(HtmlDartGenerator):
def GenerateCall(
stmts_emitter, call_emitter, version, operation, argument_count):
native_suffix = 'Callback'
- actuals = info.ParametersAsListOfVariables(argument_count, self._type_registry if self._dart_use_blink else None)
+ actuals = info.ParametersAsListOfVariables(argument_count,
+ self._type_registry if self._dart_use_blink else None,
Alan Knight 2015/07/16 16:55:52 Indentation looks very weird here, but it might be
terry 2015/07/16 17:36:14 Because of the preceding ( it indents after the (
+ self._dart_js_interop)
actuals_s = ", ".join(actuals)
formals=actuals
return_type = self.SecureOutputType(operation.type.id)
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698