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

Unified Diff: third_party/chrome/tools/test/idl_callback_arrays.idl

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « third_party/chrome/tools/test/idl_basics.idl ('k') | third_party/chrome/tools/test/idl_object_types.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/tools/test/idl_callback_arrays.idl
diff --git a/third_party/chrome/tools/test/idl_callback_arrays.idl b/third_party/chrome/tools/test/idl_callback_arrays.idl
new file mode 100644
index 0000000000000000000000000000000000000000..105e4dbae4846f190b10d68c0720608c01399916
--- /dev/null
+++ b/third_party/chrome/tools/test/idl_callback_arrays.idl
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 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.
+
+// Tests the case of an array of callbacks as an a argument
+
+namespace idl_callback_arrays {
+ callback MyCallback = void(long x);
+
+ interface Functions {
+ static void whatever(MyCallback[] callbacks);
+ };
+};
« no previous file with comments | « third_party/chrome/tools/test/idl_basics.idl ('k') | third_party/chrome/tools/test/idl_object_types.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698