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

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

Issue 1282823002: Add text offset to OnSurroundingTextChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting. Created 5 years, 4 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
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..56680f5982f55c581120b7421186595c0f8cd4de 100644
--- a/chrome/common/extensions/api/input_ime.json
+++ b/chrome/common/extensions/api/input_ime.json
@@ -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 the selection. This value indicates the number of characters not included in the surrounding text."
Shu Chen 2015/08/12 07:23:15 Please describe clearly for the difference between
rsadam 2015/08/12 21:46:52 Done.
}
}
}

Powered by Google App Engine
This is Rietveld 408576698