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

Side by Side Diff: tools/json_schema_compiler/dart_test/basic_function.idl

Issue 12218151: Added unit tests for the Dart Chrome.* API wrappers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove print statement if outputting to file. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Tests the case of an array of callbacks as an a argument 5 namespace basic_function {
6
7 namespace idl_callback_arrays {
8 callback MyCallback = void(long x);
9
10 interface Functions { 6 interface Functions {
11 static void whatever(MyCallback[] callbacks); 7 // Documentation for the basic function, foo().
8 void foo();
9
10 // Documentation for the basic static function, staticFoo().
11 static void staticFoo();
12 }; 12 };
13 }; 13 };
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/dart_test/basic_function.dart ('k') | tools/json_schema_compiler/dart_test/basic_type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698