| Index: third_party/google_input_tools/src/chrome/os/inputview/events.js
|
| diff --git a/third_party/google_input_tools/src/chrome/os/inputview/events.js b/third_party/google_input_tools/src/chrome/os/inputview/events.js
|
| index 646298ffd0679158dcdd5baf42aa94968b06d976..317ebad78e46b21f6a2c087a5b2fe7dc73ae1c56 100644
|
| --- a/third_party/google_input_tools/src/chrome/os/inputview/events.js
|
| +++ b/third_party/google_input_tools/src/chrome/os/inputview/events.js
|
| @@ -255,21 +255,25 @@ goog.inherits(events.DragEvent, events.PointerEvent);
|
| /**
|
| * The event when the surrounding text is changed.
|
| *
|
| - * @param {string} text The surrounding text.
|
| + * @param {string} textBeforeCursor The surrounding text before the cursor.
|
| * @param {number} anchor .
|
| * @param {number} focus .
|
| + * @param {number} offset .
|
| * @constructor
|
| * @extends {goog.events.Event}
|
| */
|
| -events.SurroundingTextChangedEvent = function(text, anchor, focus) {
|
| +events.SurroundingTextChangedEvent = function(textBeforeCursor,
|
| + anchor, focus, offset) {
|
| goog.base(this, events.EventType.SURROUNDING_TEXT_CHANGED);
|
|
|
| /** @type {string} */
|
| - this.text = text;
|
| + this.textBeforeCursor = textBeforeCursor;
|
| /** @type {number} */
|
| this.anchor = anchor;
|
| /** @type {number} */
|
| this.focus = focus;
|
| + /** @type {number} */
|
| + this.offset = offset;
|
| };
|
| goog.inherits(events.SurroundingTextChangedEvent, goog.events.Event);
|
|
|
|
|