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

Unified Diff: sky/engine/bindings2/scripts/templates/callback_interface_dart.template

Issue 914413004: Add a new bindings2/scripts directory for Dart bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove idlrenderer.py it's not used Created 5 years, 10 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
Index: sky/engine/bindings2/scripts/templates/callback_interface_dart.template
diff --git a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java b/sky/engine/bindings2/scripts/templates/callback_interface_dart.template
similarity index 54%
copy from build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
copy to sky/engine/bindings2/scripts/templates/callback_interface_dart.template
index 1281b39586e399c3103b5f2ab3ca1f3fab26d182..dab95f7efad0a11644aee0cd936de8f9035a7f39 100644
--- a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
+++ b/sky/engine/bindings2/scripts/templates/callback_interface_dart.template
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.dummy;
-
-/** Does nothing. */
-class Dummy {}
+// WARNING: Do not edit - generated code.
+part of dart.sky;
+typedef void {{cpp_class}}({{methods[0].argument_declarations | join(', ')}});

Powered by Google App Engine
This is Rietveld 408576698