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

Issue 1011523002: Confirm the compostion text on TAP gesture. (Closed)

Created:
5 years, 9 months ago by Miyoung Shin
Modified:
5 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Confirm the compostion text on TAP gesture. The problem is that the editor is not activated when tapping on the the second input box if the compostion exists in first input box. The patch is to confirm the compostion text on TAP gesture, to make sure the input caret won't be moved with an ongoing composition text. BUG=467365 R=jdduke@chromium.org, rbyers@chromium.org, donnd@chromium.org

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M content/browser/renderer_host/ime_adapter_android.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 1 chunk +8 lines, -0 lines 1 comment Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 chunks +15 lines, -0 lines 1 comment Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Miyoung Shin
5 years, 9 months ago (2015-03-15 02:04:58 UTC) #1
jdduke (slow)
https://codereview.chromium.org/1011523002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1011523002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1750 content/browser/renderer_host/render_widget_host_view_android.cc:1750: FinishImeCompositionSession(); +aurimas. Why is this behavior Android-specific? Also, is ...
5 years, 9 months ago (2015-03-16 15:11:31 UTC) #2
Miyoung Shin
https://codereview.chromium.org/1011523002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1011523002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1750 content/browser/renderer_host/render_widget_host_view_android.cc:1750: FinishImeCompositionSession(); On 2015/03/16 15:11:31, jdduke wrote: > +aurimas. > ...
5 years, 9 months ago (2015-03-17 00:40:35 UTC) #3
jdduke (slow)
+aurimas for IME-specific comments. Ideally this would be in the renderer, yes, but I can't ...
5 years, 9 months ago (2015-03-17 18:47:21 UTC) #5
Miyoung Shin
https://codereview.chromium.org/1011523002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1011523002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1937 content/browser/renderer_host/render_widget_host_view_android.cc:1937: if (host_) { On 2015/03/17 18:47:21, jdduke wrote: > ...
5 years, 9 months ago (2015-03-18 16:44:27 UTC) #6
jdduke (slow)
https://codereview.chromium.org/1011523002/diff/20001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/1011523002/diff/20001/content/browser/renderer_host/ime_adapter_android.cc#newcode230 content/browser/renderer_host/ime_adapter_android.cc:230: bool ImeAdapterAndroid::HasComposition() { Would it be worth simply moving ...
5 years, 9 months ago (2015-03-18 19:50:08 UTC) #7
aurimas (slooooooooow)
Let's first have a discussion on the bug (crbug.com/467365) to make sure what the actual ...
5 years, 9 months ago (2015-03-18 23:21:11 UTC) #8
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/1011523002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://chromiumcodereview.appspot.com/1011523002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1940 content/browser/renderer_host/render_widget_host_view_android.cc:1940: host_->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), This will get called even if the ...
5 years, 9 months ago (2015-03-19 05:40:30 UTC) #9
Miyoung Shin
On 2015/03/19 05:40:30, aurimas wrote: > https://chromiumcodereview.appspot.com/1011523002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > > https://chromiumcodereview.appspot.com/1011523002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1940 > ...
5 years, 9 months ago (2015-03-19 13:42:29 UTC) #10
jdduke (slow)
5 years, 9 months ago (2015-03-19 15:05:55 UTC) #11
On 2015/03/19 13:42:29, Miyoung Shin wrote:
> @aurimas, @jdduke,
> Thank you for your kind review. I will investigate how to handle it in the
> renderer.

Great, thanks, this may even simplify (or fix) the Aura implementation.

Powered by Google App Engine
This is Rietveld 408576698