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

Side by Side Diff: tools/json_schema_compiler/test/idl_basics.idl

Issue 2930703003: Extensions: Support forIOThread function schema attribute for IDL files. (Closed)
Patch Set: -- Created 3 years, 6 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
« no previous file with comments | « tools/json_schema_compiler/idl_schema_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a variety of basic API definition features. 5 // Tests a variety of basic API definition features.
6 6
7 [internal] namespace idl_basics { 7 [internal] namespace idl_basics {
8 // Enum description 8 // Enum description
9 enum EnumType { 9 enum EnumType {
10 // comment1 10 // comment1
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 static long function24(); 96 static long function24();
97 static MyType1 function25(); 97 static MyType1 function25();
98 static MyType1[] function26(); 98 static MyType1[] function26();
99 static EnumType function27(); 99 static EnumType function27();
100 static EnumType[] function28(); 100 static EnumType[] function28();
101 static idl_other_namespace.SomeType function29(); 101 static idl_other_namespace.SomeType function29();
102 static idl_other_namespace.SomeType[] function30(); 102 static idl_other_namespace.SomeType[] function30();
103 103
104 [nodefine] static void function31(long switch); 104 [nodefine] static void function31(long switch);
105
106 [forIOThread] static void function32();
105 }; 107 };
106 108
107 interface Events { 109 interface Events {
108 static void onFoo1(); 110 static void onFoo1();
109 static void onFoo2(long x); 111 static void onFoo2(long x);
110 static void onFoo2(MyType1 arg); 112 static void onFoo2(MyType1 arg);
111 static void onFoo3(EnumType type); 113 static void onFoo3(EnumType type);
112 }; 114 };
113 }; 115 };
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/idl_schema_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698