Index: tonic/dart_invoke.h |
diff --git a/tonic/dart_invoke.h b/tonic/dart_invoke.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7d5888507d2b56eacf99c9e4f8a53a3259dd2851 |
--- /dev/null |
+++ b/tonic/dart_invoke.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SKY_ENGINE_TONIC_DART_INVOKE_H_ |
+#define SKY_ENGINE_TONIC_DART_INVOKE_H_ |
+ |
+#include "dart/runtime/include/dart_api.h" |
+ |
+namespace blink { |
+ |
+bool DartInvokeAppField(Dart_Handle target, Dart_Handle name, |
+ int number_of_arguments, |
+ Dart_Handle* arguments); |
+ |
+bool DartInvokeAppClosure(Dart_Handle closure, |
+ int number_of_arguments, |
+ Dart_Handle* arguments); |
+ |
+} // namespace blink |
+ |
+#endif // SKY_ENGINE_TONIC_DART_INVOKE_H_ |
+ |