Index: chrome/test/data/extensions/input_ime/main.js |
diff --git a/chrome/test/data/extensions/input_ime/main.js b/chrome/test/data/extensions/input_ime/main.js |
index 8199cd19ca2b4127818ef72ce315b8702b7ee8d8..e5cb23a54bd0ad90a2d0fe2b60f252c416e79830 100644 |
--- a/chrome/test/data/extensions/input_ime/main.js |
+++ b/chrome/test/data/extensions/input_ime/main.js |
@@ -17,7 +17,7 @@ IMEBase.prototype = { |
onKeyEvent: function(context, engine, keyData) { return false; }, |
onCandidateClicked: function(candidateID, button) {}, |
onMenuItemActivated: function(name) {}, |
- onSurroundingTextChanged: function(text, focus, anchor) {}, |
+ onSurroundingTextChanged: function(text, focus, anchor, offset) {}, |
onReset: function(engineID) {} |
}; |
@@ -208,7 +208,7 @@ EngineBridge.prototype = { |
**/ |
onSurroundingTextChanged_: function(engineID, object) { |
this.engineInstance_[engineID].onSurroundingTextChanged( |
- object.text, object.focus, object.anchor); |
+ object.text, object.focus, object.anchor, object.offset); |
chrome.test.sendMessage('onSurroundingTextChanged'); |
}, |