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 "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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 "properties": { | 94 "properties": { |
95 "start": { | 95 "start": { |
96 "description": "Index of the character to start this segme
nt at", | 96 "description": "Index of the character to start this segme
nt at", |
97 "type": "integer" | 97 "type": "integer" |
98 }, | 98 }, |
99 "end": { | 99 "end": { |
100 "description": "Index of the character to end this segment
after.", | 100 "description": "Index of the character to end this segment
after.", |
101 "type": "integer" | 101 "type": "integer" |
102 }, | 102 }, |
103 "style": { | 103 "style": { |
104 "description": "How to render this segment", | 104 "description": "The type of the underline to modify this s
egment.", |
105 "enum": ["underline", "doubleUnderline"], | 105 "enum": ["underline", "doubleUnderline", "noUnderline"], |
106 "type": "string" | 106 "type": "string" |
107 } | 107 } |
108 } | 108 } |
109 } | 109 } |
110 } | 110 } |
111 } | 111 } |
112 }, | 112 }, |
113 { | 113 { |
114 "type": "function", | 114 "type": "function", |
115 "name": "callback", | 115 "name": "callback", |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 { | 673 { |
674 "type": "string", | 674 "type": "string", |
675 "name": "engineID", | 675 "name": "engineID", |
676 "description": "ID of the engine receiving the event" | 676 "description": "ID of the engine receiving the event" |
677 } | 677 } |
678 ] | 678 ] |
679 } | 679 } |
680 ] | 680 ] |
681 } | 681 } |
682 ] | 682 ] |
OLD | NEW |