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

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

Issue 858303004: Exposes cursor position to IME extension through chrome.inputMethodPrivate.onCompositionBoundsChang… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/input_method_private.json
diff --git a/chrome/common/extensions/api/input_method_private.json b/chrome/common/extensions/api/input_method_private.json
index d3ea0362e4f9a8538a0e73d8682ed64fd1d5d480..e7e248bd059d9fa9cf9ce6fd2ff1663d03086fb1 100644
--- a/chrome/common/extensions/api/input_method_private.json
+++ b/chrome/common/extensions/api/input_method_private.json
@@ -113,17 +113,20 @@
}, {
"name": "onCompositionBoundsChanged",
"type": "function",
- "description": "Fired when the composition bounds are changed.",
+ "description": "Fired when the composition bounds or cursor bounds are changed.",
"parameters": [
{
"name": "bounds",
- "type": "object",
- "description": "Composition bounds.",
- "properties": {
- "x": {"type": "integer"},
- "y": {"type": "integer"},
- "w": {"type": "integer"},
- "h": {"type": "integer"}
+ "type": "array",
+ "description": "List of bounds information.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "x": {"type": "integer"},
+ "y": {"type": "integer"},
+ "w": {"type": "integer"},
+ "h": {"type": "integer"}
+ }
}
}
]
« no previous file with comments | « no previous file | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698