Chromium Code Reviews| Index: chrome/common/extensions/api/input_ime.json |
| diff --git a/chrome/common/extensions/api/input_ime.json b/chrome/common/extensions/api/input_ime.json |
| index cb41d2934f73c2121dccb8d7d40d1188836eeb5a..32eb56826ef5df06f31a5c562cf9bdfb9d78162d 100644 |
| --- a/chrome/common/extensions/api/input_ime.json |
| +++ b/chrome/common/extensions/api/input_ime.json |
| @@ -693,7 +693,7 @@ |
| "properties": { |
| "text": { |
| "type": "string", |
| - "description": "The text around cursor." |
| + "description": "The text around cursor. This is only a subset of all text in the input field." |
|
Ken Rockot(use gerrit already)
2015/08/13 17:15:59
maybe "around the cursor"?
rsadam
2015/08/13 17:23:18
Done.
|
| }, |
| "focus": { |
| "type": "integer", |
| @@ -701,7 +701,11 @@ |
| }, |
| "anchor": { |
| "type": "integer", |
| - "description": "The beginning position of the selection. This value indicates caret position if is no selection." |
| + "description": "The beginning position of the selection. This value indicates caret position if there is no selection." |
| + }, |
| + "offset": { |
| + "type": "integer", |
| + "description": "The offset position of |text|. Since |text| only includes a subset of text around the cursor, offset indicates the absolute position of the first character of |text|." |
|
Ken Rockot(use gerrit already)
2015/08/13 17:15:59
In JSON schemas, description strings need to use u
rsadam
2015/08/13 17:23:18
Ack! Fixed all instances in description.
|
| } |
| } |
| } |