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

Issue 24195023: Switch to sending IME selection updates early. (Closed)

Created:
7 years, 3 months ago by aurimas (slooooooooow)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Switch to sending IME selection updates early. - Switching to send out UpdateSelection updates as soon as the change is applied in AdapterInputConnection (instead of waiting for Blink) - Start ignoring the IME updates from Blink if it was caused by an IME event sent from AdapterInputConnection by checking requiredAck flag. BUG=235704, 145521 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226301

Patch Set 1 #

Patch Set 2 : Remove the other IPC message #

Patch Set 3 : Base files missing #

Patch Set 4 : Set DEBUG to false #

Total comments: 8

Patch Set 5 : Tommy's nits #

Total comments: 4

Patch Set 6 : Ted's nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -170 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 2 chunks +3 lines, -10 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 2 chunks +1 line, -8 lines 0 comments Download
M content/common/view_messages.h View 1 2 chunks +0 lines, -9 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 3 chunks +4 lines, -11 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java View 1 2 3 4 5 15 chunks +43 lines, -61 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 2 chunks +0 lines, -7 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/AdapterInputConnectionTest.java View 1 2 3 4 5 2 chunks +23 lines, -4 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 2 3 4 3 chunks +5 lines, -40 lines 0 comments Download
M content/renderer/render_widget.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
aurimas (slooooooooow)
Hey Tommy, This is the continuation of the IME refactoring. Please take a look at ...
7 years, 3 months ago (2013-09-24 02:59:21 UTC) #1
aurimas (slooooooooow)
On 2013/09/24 02:59:21, aurimas wrote: > Hey Tommy, > > This is the continuation of ...
7 years, 2 months ago (2013-09-25 21:18:21 UTC) #2
nyquist
nice work! https://codereview.chromium.org/24195023/diff/6001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/24195023/diff/6001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode121 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:121: int compositionStart, int compositionEnd, boolean requireAck) { ...
7 years, 2 months ago (2013-09-27 18:02:36 UTC) #3
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/24195023/diff/6001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://chromiumcodereview.appspot.com/24195023/diff/6001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode121 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:121: int compositionStart, int compositionEnd, boolean requireAck) { On 2013/09/27 ...
7 years, 2 months ago (2013-09-27 21:06:04 UTC) #4
aurimas (slooooooooow)
+tedchoc: please take a look at this CL. Aurimas
7 years, 2 months ago (2013-09-27 23:46:33 UTC) #5
nyquist
lgtm
7 years, 2 months ago (2013-09-30 21:28:24 UTC) #6
Ted C
lgtm w/ a couple comments https://codereview.chromium.org/24195023/diff/12001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/24195023/diff/12001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode429 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:429: protected boolean isIgnoringTextInputStateUpdates() { ...
7 years, 2 months ago (2013-09-30 21:59:46 UTC) #7
aurimas (slooooooooow)
https://codereview.chromium.org/24195023/diff/12001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/24195023/diff/12001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode429 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:429: protected boolean isIgnoringTextInputStateUpdates() { On 2013/09/30 21:59:46, Ted C ...
7 years, 2 months ago (2013-09-30 23:04:50 UTC) #8
aurimas (slooooooooow)
cdn@chromium.org: Please review changes in content/common/view_messages.h jamesr@chromium.org: Please review changes in content/renderer/render_widget.* sievers@chromium.org: Please review ...
7 years, 2 months ago (2013-09-30 23:08:59 UTC) #9
no sievers
On 2013/09/30 23:08:59, aurimas wrote: > cdn@chromium.org: Please review changes in content/common/view_messages.h > > jamesr@chromium.org: ...
7 years, 2 months ago (2013-09-30 23:18:23 UTC) #10
jamesr
lgtm
7 years, 2 months ago (2013-10-01 00:28:00 UTC) #11
Cris Neckar
IPC changes LGTM
7 years, 2 months ago (2013-10-01 18:19:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/24195023/35001
7 years, 2 months ago (2013-10-01 18:21:58 UTC) #13
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-01 19:07:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/24195023/35001
7 years, 2 months ago (2013-10-01 19:43:14 UTC) #15
commit-bot: I haz the power
7 years, 2 months ago (2013-10-01 21:14:38 UTC) #16
Message was sent while issue was closed.
Change committed as 226301

Powered by Google App Engine
This is Rietveld 408576698