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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 8558013: Add API tests for all input.ime functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 7bc852072bf171d64e9f3255265830a1451c650b..6be5b4bc95a5561b1671bfa9e397df79538bd5e6 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -3371,21 +3371,24 @@
},
"segments": {
"description": "List of segments and their associated types.",
- "type": "object",
+ "type": "array",
"optional": true,
- "properties": {
- "start": {
- "description": "Index of the character to start this segment at",
- "type": "integer"
- },
- "end": {
- "description": "Index of the character to end this segment after.",
- "type": "integer"
- },
- "style": {
- "description": "How to render this segment",
- "enum": ["underline", "doubleUnderline"],
- "type": "string"
+ "items": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "description": "Index of the character to start this segment at",
+ "type": "integer"
+ },
+ "end": {
+ "description": "Index of the character to end this segment after.",
+ "type": "integer"
+ },
+ "style": {
+ "description": "How to render this segment",
+ "enum": ["underline", "doubleUnderline"],
+ "type": "string"
+ }
}
}
}
@@ -3598,7 +3601,12 @@
"name": "callback",
"optional": true,
"description": "Called when the operation completes",
- "parameters": []
+ "parameters": [
+ {
+ "name": "success",
+ "type": "boolean"
+ }
+ ]
}
]
},

Powered by Google App Engine
This is Rietveld 408576698