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

Side by Side Diff: third_party/chrome/tools/test/callbacks.json

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 [
2 {
3 "namespace": "callbacks",
4 "types": [],
5 "functions": [
6 {
7 "name": "returnsNothing",
8 "type": "function",
9 "description": "Takes nothing. Returns nothing.",
10 "parameters": [
11 {
12 "name": "callback",
13 "type": "function",
14 "parameters": []
15 }
16 ]
17 },
18 {
19 "name": "returnsObject",
20 "description": "Returns an object.",
21 "type": "function",
22 "parameters": [
23 {
24 "name": "callback",
25 "type": "function",
26 "parameters": [
27 {
28 "name": "someObject",
29 "type": "object",
30 "properties": {
31 "state": {
32 "type": "string",
33 "enum": ["foo", "bar", "baz"]
34 }
35 }
36 }
37 ]
38 }
39 ]
40 },
41 {
42 "name": "returnsMultiple",
43 "description": "Returns an object.",
44 "type": "function",
45 "parameters": [
46 {
47 "name": "callback",
48 "type": "function",
49 "parameters": [
50 {
51 "name": "someInteger",
52 "type": "integer"
53 },
54 {
55 "name": "someObject",
56 "type": "object",
57 "properties": {
58 "state": {
59 "type": "string",
60 "enum": ["foo", "bar", "baz"]
61 }
62 }
63 }
64 ]
65 }
66 ]
67 }
68 ]
69 }
70 ]
71
OLDNEW
« no previous file with comments | « third_party/chrome/tools/test/browser_action.json ('k') | third_party/chrome/tools/test/choices.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698