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

Issue 1282823002: Add text offset to OnSurroundingTextChanged (Closed)

Created:
5 years, 4 months ago by rsadam
Modified:
5 years, 4 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, kalyank, yusukes+watch_chromium.org, tfarina, jam, shuchen+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, danakj+watch_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add text offset to OnSurroundingTextChanged. See bug below for proposal doc. BUG=518921 Committed: https://crrev.com/df0c56f1d2b8bb37141d368c80e677e0f8c2321d Cr-Commit-Position: refs/heads/master@{#343243}

Patch Set 1 #

Patch Set 2 : Fix formatting. #

Total comments: 9

Patch Set 3 : Address reviewer feedback. #

Total comments: 4

Patch Set 4 : Address reviewer feedback. #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -25 lines) Patch
M chrome/browser/chromeos/input_method/input_method_engine.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine_interface.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/mock_input_method_engine.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/mock_input_method_engine.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/extensions/api/input_ime.json View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/input_ime/main.js View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/ime/chromeos/ime_bridge.h View 1 chunk +6 lines, -3 lines 0 comments Download
M ui/base/ime/chromeos/mock_ime_engine_handler.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/ime/chromeos/mock_ime_engine_handler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/ime/input_method_chromeos.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/ime/text_input_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (5 generated)
rsadam
Hi Shu, please take a look!
5 years, 4 months ago (2015-08-10 18:42:39 UTC) #2
rsadam
Fix some formatting issues.
5 years, 4 months ago (2015-08-10 19:46:53 UTC) #3
rsadam
Friendly ping!
5 years, 4 months ago (2015-08-11 17:45:14 UTC) #4
Shu Chen
https://codereview.chromium.org/1282823002/diff/20001/chrome/common/extensions/api/input_ime.json File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/1282823002/diff/20001/chrome/common/extensions/api/input_ime.json#newcode708 chrome/common/extensions/api/input_ime.json:708: "description": "The offset position of the selection. This value ...
5 years, 4 months ago (2015-08-12 07:23:16 UTC) #5
rsadam
https://codereview.chromium.org/1282823002/diff/20001/chrome/common/extensions/api/input_ime.json File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/1282823002/diff/20001/chrome/common/extensions/api/input_ime.json#newcode708 chrome/common/extensions/api/input_ime.json:708: "description": "The offset position of the selection. This value ...
5 years, 4 months ago (2015-08-12 21:46:52 UTC) #6
Shu Chen
https://codereview.chromium.org/1282823002/diff/20001/ui/views/controls/textfield/textfield.cc File ui/views/controls/textfield/textfield.cc (right): https://codereview.chromium.org/1282823002/diff/20001/ui/views/controls/textfield/textfield.cc#newcode1562 ui/views/controls/textfield/textfield.cc:1562: return 0; On 2015/08/12 21:46:52, rsadam wrote: > On ...
5 years, 4 months ago (2015-08-13 01:27:24 UTC) #7
rsadam
Removed the new method from text_input_client. Rely on textRange.start() instead https://codereview.chromium.org/1282823002/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/1282823002/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1709 ...
5 years, 4 months ago (2015-08-13 04:31:11 UTC) #8
Shu Chen
lgtm
5 years, 4 months ago (2015-08-13 06:15:46 UTC) #9
rsadam
rockot@chromium.org: Please review changes in input_ime.json
5 years, 4 months ago (2015-08-13 16:47:49 UTC) #11
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1282823002/diff/60001/chrome/common/extensions/api/input_ime.json File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/1282823002/diff/60001/chrome/common/extensions/api/input_ime.json#newcode696 chrome/common/extensions/api/input_ime.json:696: "description": "The text around cursor. This is only a ...
5 years, 4 months ago (2015-08-13 17:15:59 UTC) #12
rsadam
Thanks for the feedback. I addressed the concerns you listed, PTANL! https://codereview.chromium.org/1282823002/diff/60001/chrome/common/extensions/api/input_ime.json File chrome/common/extensions/api/input_ime.json (right): ...
5 years, 4 months ago (2015-08-13 17:23:18 UTC) #14
Ken Rockot(use gerrit already)
lgtm
5 years, 4 months ago (2015-08-13 17:27:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1282823002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1282823002/100001
5 years, 4 months ago (2015-08-13 17:59:26 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 4 months ago (2015-08-13 18:42:19 UTC) #19
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 18:42:58 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/df0c56f1d2b8bb37141d368c80e677e0f8c2321d
Cr-Commit-Position: refs/heads/master@{#343243}

Powered by Google App Engine
This is Rietveld 408576698