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

Unified Diff: chrome/test/data/extensions/input_ime/main.js

Issue 739323002: Requests for tabs permission for VirtualKeyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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');
},
« no previous file with comments | « chrome/common/extensions/api/input_ime.json ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698