OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "omnibox", | 3 "namespace": "omnibox", |
4 "types": [ | 4 "types": [ |
5 { | 5 { |
6 "id": "SuggestResult", | 6 "id": "SuggestResult", |
7 "type": "object", | 7 "type": "object", |
8 "description": "A suggest result.", | 8 "description": "A suggest result.", |
9 "properties": { | 9 "properties": { |
10 "content": { | 10 "content": { |
(...skipping 11 matching lines...) Expand all Loading... |
22 ], | 22 ], |
23 "functions": [ | 23 "functions": [ |
24 { | 24 { |
25 "name": "sendSuggestions", | 25 "name": "sendSuggestions", |
26 "nodoc": true, | 26 "nodoc": true, |
27 "type": "function", | 27 "type": "function", |
28 "description": "A callback passed to the onInputChanged event used for s
ending suggestions back to the browser.", | 28 "description": "A callback passed to the onInputChanged event used for s
ending suggestions back to the browser.", |
29 "parameters": [ | 29 "parameters": [ |
30 {"type": "integer", "name": "requestId"}, | 30 {"type": "integer", "name": "requestId"}, |
31 { | 31 { |
| 32 "name": "suggestResults", |
32 "type": "array", | 33 "type": "array", |
33 "description": "Array of suggest results", | 34 "description": "Array of suggest results", |
34 "items": { | 35 "items": { |
35 "type": "object", | 36 "type": "object", |
36 "additionalProperties": { "type": "any" } | 37 "additionalProperties": { "type": "any" } |
37 } | 38 } |
38 } | 39 } |
39 ] | 40 ] |
40 }, | 41 }, |
41 { | 42 { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 { | 74 { |
74 "type": "string", | 75 "type": "string", |
75 "name": "text" | 76 "name": "text" |
76 }, | 77 }, |
77 { | 78 { |
78 "name": "suggest", | 79 "name": "suggest", |
79 "type": "function", | 80 "type": "function", |
80 "description": "A callback passed to the onInputChanged event used f
or sending suggestions back to the browser.", | 81 "description": "A callback passed to the onInputChanged event used f
or sending suggestions back to the browser.", |
81 "parameters": [ | 82 "parameters": [ |
82 { | 83 { |
| 84 "name": "suggestResults", |
83 "type": "array", | 85 "type": "array", |
84 "description": "Array of suggest results", | 86 "description": "Array of suggest results", |
85 "items": { | 87 "items": { |
86 "$ref": "SuggestResult" | 88 "$ref": "SuggestResult" |
87 } | 89 } |
88 } | 90 } |
89 ] | 91 ] |
90 } | 92 } |
91 ] | 93 ] |
92 }, | 94 }, |
(...skipping 10 matching lines...) Expand all Loading... |
103 }, | 105 }, |
104 { | 106 { |
105 "name": "onInputCancelled", | 107 "name": "onInputCancelled", |
106 "type": "function", | 108 "type": "function", |
107 "description": "User has ended the keyword input session without accepti
ng the input.", | 109 "description": "User has ended the keyword input session without accepti
ng the input.", |
108 "parameters": [] | 110 "parameters": [] |
109 } | 111 } |
110 ] | 112 ] |
111 } | 113 } |
112 ] | 114 ] |
OLD | NEW |