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

Side by Side Diff: chrome/common/extensions/api/experimental.input.ime.json

Issue 9230004: Remove API elements that are no longer in the IME API design document (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright Created 8 years, 11 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 | « chrome/browser/extensions/extension_input_module_constants.cc ('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 [ 1 [
2 { 2 {
3 "namespace": "experimental.input.ime", 3 "namespace": "experimental.input.ime",
4 "platforms": ["chromeos"], 4 "platforms": ["chromeos"],
5 "nodoc": true, 5 "nodoc": true,
6 "types": [ 6 "types": [
7 { 7 {
8 "id": "KeyboardEvent", 8 "id": "KeyboardEvent",
9 "type": "object", 9 "type": "object",
10 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb oardEvent", 10 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb oardEvent",
11 "properties": { 11 "properties": {
12 "type": {"type": "string", "description": "One of keyup or keydown.", "enum": ["keyup", "keydown"]}, 12 "type": {"type": "string", "description": "One of keyup or keydown.", "enum": ["keyup", "keydown"]},
13 "requestId": {"type": "string", "description": "The ID of the request. "}, 13 "requestId": {"type": "string", "description": "The ID of the request. "},
14 "key": {"type": "string", "description": "Value of the key being press ed"}, 14 "key": {"type": "string", "description": "Value of the key being press ed"},
15 "keyCode": {"type": "string", "description": "Value of the key being p ress, unmodified by control keys."},
16 "altKey": {"type": "boolean", "optional": true, "description": "Whethe r or not the ALT key is pressed."}, 15 "altKey": {"type": "boolean", "optional": true, "description": "Whethe r or not the ALT key is pressed."},
17 "ctrlKey": {"type": "boolean", "optional": true, "description": "Wheth er or not the CTRL key is pressed."}, 16 "ctrlKey": {"type": "boolean", "optional": true, "description": "Wheth er or not the CTRL key is pressed."},
18 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet her or not the SHIFT key is pressed."} 17 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet her or not the SHIFT key is pressed."}
19 } 18 }
20 }, 19 },
21 { 20 {
22 "id": "InputContext", 21 "id": "InputContext",
23 "type": "object", 22 "type": "object",
24 "description": "Describes an input Context", 23 "description": "Describes an input Context",
25 "properties": { 24 "properties": {
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."}, 323 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."},
325 "label": {"type": "string", "optional": true, "description": "Text displayed in the menu for this item."}, 324 "label": {"type": "string", "optional": true, "description": "Text displayed in the menu for this item."},
326 "style": { 325 "style": {
327 "type": "string", 326 "type": "string",
328 "optional": true, 327 "optional": true,
329 "description": "Enum representing if this item is: none, c heck, radio, or a separator. Radio buttons between separators are considered gr ouped.", 328 "description": "Enum representing if this item is: none, c heck, radio, or a separator. Radio buttons between separators are considered gr ouped.",
330 "enum": ["none", "check", "radio", "separator"] 329 "enum": ["none", "check", "radio", "separator"]
331 }, 330 },
332 "visible": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is visible."}, 331 "visible": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is visible."},
333 "checked": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item should be drawn with a check."}, 332 "checked": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item should be drawn with a check."},
334 "enabled": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is enabled."}, 333 "enabled": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is enabled."}
335 "icon": {"type": "string", "optional": true, "description": "Name of the icon to use. Must be bundled in the extension. Data urls are also acceptable."},
336 "shortcutKey": {
337 "type": "object",
338 "optional": true,
339 "description": "Used to create a shortcut key label. The IME should handle the shortcut key itself, however.",
340 "properties": {
341 "key": {"type": "string", "description": "Value of the s hortcut key"},
342 "altKey": {"type": "boolean", "optional": true, "descrip tion": "Whether or not the ALT key is pressed."},
343 "ctrlKey": {"type": "boolean", "optional": true, "descri ption": "Whether or not the CTRL key is pressed."},
344 "shiftKey": {"type": "boolean", "optional": true, "descr iption": "Whether or not the SHIFT key is pressed."}
345 }
346 }
347 } 334 }
348 } 335 }
349 } 336 }
350 } 337 }
351 }, 338 },
352 { 339 {
353 "type": "function", 340 "type": "function",
354 "name": "callback", 341 "name": "callback",
355 "optional": true, 342 "optional": true,
356 "description": "", 343 "description": "",
(...skipping 24 matching lines...) Expand all
381 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."}, 368 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."},
382 "label": {"type": "string", "optional": true, "description": "Text displayed in the menu for this item."}, 369 "label": {"type": "string", "optional": true, "description": "Text displayed in the menu for this item."},
383 "style": { 370 "style": {
384 "type": "string", 371 "type": "string",
385 "optional": true, 372 "optional": true,
386 "description": "Enum representing if this item is: none, c heck, radio, or a separator. Radio buttons between separators are considered gr ouped.", 373 "description": "Enum representing if this item is: none, c heck, radio, or a separator. Radio buttons between separators are considered gr ouped.",
387 "enum": ["none", "check", "radio", "separator"] 374 "enum": ["none", "check", "radio", "separator"]
388 }, 375 },
389 "visible": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is visible."}, 376 "visible": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is visible."},
390 "checked": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item should be drawn with a check."}, 377 "checked": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item should be drawn with a check."},
391 "enabled": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is enabled."}, 378 "enabled": {"type": "boolean", "optional": true, "descriptio n": "Indicates this item is enabled."}
392 "icon": {"type": "string", "optional": true, "description": "Name of the icon to use. Must be bundled in the extension. Data urls are also acceptable."},
393 "shortcutKey": {
394 "type": "object",
395 "optional": true,
396 "description": "Used to create a shortcut key label. The IME should handle the shortcut key itself, however.",
397 "properties": {
398 "key": {"type": "string", "description": "Value of the k ey being pressed"},
399 "altKey": {"type": "boolean", "optional": true, "descrip tion": "Whether or not the ALT key is pressed."},
400 "ctrlKey": {"type": "boolean", "optional": true, "descri ption": "Whether or not the CTRL key is pressed."},
401 "shiftKey": {"type": "boolean", "optional": true, "descr iption": "Whether or not the SHIFT key is pressed."}
402 }
403 }
404 } 379 }
405 } 380 }
406 } 381 }
407 } 382 }
408 }, 383 },
409 { 384 {
410 "type": "function", 385 "type": "function",
411 "name": "callback", 386 "name": "callback",
412 "optional": true, 387 "optional": true,
413 "description": "Called when the operation completes", 388 "description": "Called when the operation completes",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 { 519 {
545 "type": "string", 520 "type": "string",
546 "name": "name", 521 "name": "name",
547 "description": "Name of the MenuItem which was activated" 522 "description": "Name of the MenuItem which was activated"
548 } 523 }
549 ] 524 ]
550 } 525 }
551 ] 526 ]
552 } 527 }
553 ] 528 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_input_module_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698