| OLD | NEW |
| 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 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "input.ime", | 7 "namespace": "input.ime", |
| 8 "platforms": ["chromeos"], | 8 "platforms": ["chromeos"], |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 "candidates": { | 243 "candidates": { |
| 244 "description": "List of candidates to show in the candidate wind
ow", | 244 "description": "List of candidates to show in the candidate wind
ow", |
| 245 "type": "array", | 245 "type": "array", |
| 246 "items": { | 246 "items": { |
| 247 "type": "object", | 247 "type": "object", |
| 248 "properties": { | 248 "properties": { |
| 249 "candidate": {"type": "string", "description": "The candidat
e"}, | 249 "candidate": {"type": "string", "description": "The candidat
e"}, |
| 250 "id": {"type": "integer", "description": "The candidate's id
"}, | 250 "id": {"type": "integer", "description": "The candidate's id
"}, |
| 251 "parentId": {"type": "integer", "optional": true, "descripti
on": "The id to add these candidates under"}, | 251 "parentId": {"type": "integer", "optional": true, "descripti
on": "The id to add these candidates under"}, |
| 252 "label": {"type": "string", "optional": true, "description":
"Short string displayed to next to the candidate, often the shortcut key or ind
ex"}, | 252 "label": {"type": "string", "optional": true, "description":
"Short string displayed to next to the candidate, often the shortcut key or ind
ex"}, |
| 253 "annotation": {"type": "string", "optional": true, "descript
ion": "Additional text describing the candidate"} | 253 "annotation": {"type": "string", "optional": true, "descript
ion": "Additional text describing the candidate"}, |
| 254 "usage": { |
| 255 "type": "object", |
| 256 "optional": true, |
| 257 "description": "The usage or detail description of word.", |
| 258 "properties": { |
| 259 "title": { "type": "string", "description": "The title s
tring of details description."}, |
| 260 "body": { "type": "string", "description": "The body str
ing of detail description."} |
| 261 } |
| 262 } |
| 254 } | 263 } |
| 255 } | 264 } |
| 256 } | 265 } |
| 257 } | 266 } |
| 258 }, | 267 }, |
| 259 { | 268 { |
| 260 "type": "function", | 269 "type": "function", |
| 261 "name": "callback", | 270 "name": "callback", |
| 262 "optional": true, | 271 "optional": true, |
| 263 "description": "Called when the operation completes.", | 272 "description": "Called when the operation completes.", |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 { | 537 { |
| 529 "type": "string", | 538 "type": "string", |
| 530 "name": "name", | 539 "name": "name", |
| 531 "description": "Name of the MenuItem which was activated" | 540 "description": "Name of the MenuItem which was activated" |
| 532 } | 541 } |
| 533 ] | 542 ] |
| 534 } | 543 } |
| 535 ] | 544 ] |
| 536 } | 545 } |
| 537 ] | 546 ] |
| OLD | NEW |