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

Side by Side Diff: chrome/common/extensions/api/input_ime.json

Issue 47553010: Set focused TextInputType to the Ime extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete password enum Created 7 years, 1 month 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
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 "description": "Use the <code>chrome.input.ime</code> API to implement a cus tom IME for Chrome OS. This allows your extension to handle keystrokes, set the composition, and manage the candidate window.", 8 "description": "Use the <code>chrome.input.ime</code> API to implement a cus tom IME for Chrome OS. This allows your extension to handle keystrokes, set the composition, and manage the candidate window.",
9 "platforms": ["chromeos"], 9 "platforms": ["chromeos"],
10 "types": [ 10 "types": [
(...skipping 11 matching lines...) Expand all
22 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet her or not the SHIFT key is pressed."}, 22 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet her or not the SHIFT key is pressed."},
23 "capsLock": {"type": "boolean", "optional": true, "description": "Whet her or not the CAPS_LOCK is enabled."} 23 "capsLock": {"type": "boolean", "optional": true, "description": "Whet her or not the CAPS_LOCK is enabled."}
24 } 24 }
25 }, 25 },
26 { 26 {
27 "id": "InputContext", 27 "id": "InputContext",
28 "type": "object", 28 "type": "object",
29 "description": "Describes an input Context", 29 "description": "Describes an input Context",
30 "properties": { 30 "properties": {
31 "contextID": {"type": "integer", "description": "This is used to speci fy targets of text field operations. This ID becomes invalid as soon as onBlur is called."}, 31 "contextID": {"type": "integer", "description": "This is used to speci fy targets of text field operations. This ID becomes invalid as soon as onBlur is called."},
32 "type": {"type": "string", "description": "Type of value this text fie ld edits, (Text, Number, Password, etc)", "enum": ["text", "number", "password"] } 32 "type": {"type": "string", "description": "Type of value this text fie ld edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "e mail", "number"]}
not at google - send to devlin 2013/10/30 13:58:31 what happened to password?
not at google - send to devlin 2013/10/31 02:40:30 It's already in the API though, you can't remove i
yoichio 2013/10/31 03:05:41 Even if it is never used?
not at google - send to devlin 2013/10/31 14:59:58 It probably doesn't matter come to think about it,
33 } 33 }
34 }, 34 },
35 { 35 {
36 "id": "MenuItem", 36 "id": "MenuItem",
37 "type": "object", 37 "type": "object",
38 "description": "A menu item used by an input method to interact with the user from the language menu.", 38 "description": "A menu item used by an input method to interact with the user from the language menu.",
39 "properties": { 39 "properties": {
40 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."}, 40 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."},
41 "label": {"type": "string", "optional": true, "description": "Text dis played in the menu for this item."}, 41 "label": {"type": "string", "optional": true, "description": "Text dis played in the menu for this item."},
42 "style": { 42 "style": {
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 { 628 {
629 "type": "string", 629 "type": "string",
630 "name": "engineID", 630 "name": "engineID",
631 "description": "ID of the engine receiving the event" 631 "description": "ID of the engine receiving the event"
632 } 632 }
633 ] 633 ]
634 } 634 }
635 ] 635 ]
636 } 636 }
637 ] 637 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698