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

Side by Side Diff: ppapi/apps_tests/test3.idl

Issue 9359040: WIP IDL-IPC2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Checkpoint before going back to returning ListValue via ExtensionMsg_Response. Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/apps_tests/test2.idl ('k') | ppapi/generators/apiidlc.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Namespace comment.
2 namespace foo.bar {
3
4 dictionary Dict1 {
5 long x;
6 DOMString y;
7
8 long[] an_array;
9 long? something_optional;
10 long[]? optional_array;
11 [nodoc] long something_hidden;
12 [nodoc,foo=1] long[] hidden_array;
13 };
14
15 // Dictionary comment
16 dictionary Dict2 {
17 Dict1 d1;
18 Dict1[] d2;
19 [nodoc] Dict1[]? d3;
20 };
21
22 [nodoc] dictionary Dict3 {};
23
24 callback Callback1 = void ();
25 // callback Comment
26 callback Callback2 = long ();
27 callback Callback3 = void (long x);
28 // Another callback comment.
29 [nodoc] callback Callback4 = void (DOMString x, long y);
30 callback Callback5 = DOMString (optional long x);
31 callback Callback6 = void (optional long x, optional Dict1 y);
32 callback Callback7 = void (long x, DOMString y, optional Dict2[] z);
33
34 interface Functions {
35 // Function comment
36 static void fn1();
37 static void fn2(long x);
38
39 // Another function comment
40 static void fn3(long x, DOMString y);
41 static void fn4(Dict1 d, Callback4 cb);
42 static void fn5(long x, optional Callback6 cb);
43 static void fn6(optional long x, optional Dict2 y);
44 static long fn7(Dict1[] foo, optional Dict2[] bar);
45 [nodoc] static void fn8(long x, long y, optional Callback1 cb);
46 };
47
48 // Interface comment.
49 interface Events {
50 static void OnFoo1();
51 static void OnFoo2(long x);
52 static void OnFoo3(long x, DOMString y);
53 // Event comment.
54 static void OnFoo4(Dict1 d, Callback4 cb);
55 static void OnFoo5(long x, optional Callback6 cb);
56 static void OnFoo6(optional long x, optional Dict2 y);
57 static void OnFoo7(Dict1[] foo, optional Dict2[] bar);
58 [nodoc, foo=1] static void OnFoo8(long x, DOMString y, long z);
59 };
60 };
OLDNEW
« no previous file with comments | « ppapi/apps_tests/test2.idl ('k') | ppapi/generators/apiidlc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698