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

Issue 484653003: Fixed the inconsistent behavior when long pressing on editable area in Chrome. (Closed)

Created:
6 years, 4 months ago by AKVT
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixed the inconsistent behavior when long pressing on editable area in Chrome. When we long press on an input field with empty text, we should show paste popup, we shouldn't show the IME. This change takes care of preventing IME appearance when we do long press on empty edit field to make it uniform among all Android apps. BUG=230192 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291021

Patch Set 1 #

Total comments: 2

Patch Set 2 : Sending UpdateTextInputState() even if we don't want to show IME case also. #

Total comments: 6

Patch Set 3 : Added unit test cases and fixed review comments. #

Patch Set 4 : Removed unwanted file from patchset. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
AKVT
@jamesr and aurimas PTAL.
6 years, 4 months ago (2014-08-18 14:56:32 UTC) #1
aurimas (slooooooooow)
https://codereview.chromium.org/484653003/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/484653003/diff/1/content/renderer/render_widget.cc#newcode1977 content/renderer/render_widget.cc:1977: UpdateTextInputState(SHOW_IME_IF_NEEDED, FROM_NON_IME); Conditionally calling UpdateTextInputState will cause all sorts ...
6 years, 4 months ago (2014-08-18 16:05:24 UTC) #2
AKVT
https://codereview.chromium.org/484653003/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/484653003/diff/1/content/renderer/render_widget.cc#newcode1977 content/renderer/render_widget.cc:1977: UpdateTextInputState(SHOW_IME_IF_NEEDED, FROM_NON_IME); On 2014/08/18 16:05:24, aurimas wrote: > Conditionally ...
6 years, 4 months ago (2014-08-18 16:14:30 UTC) #3
AKVT
@aurimas, Please share your opinion about my inline queries. If it needs to be fixed ...
6 years, 4 months ago (2014-08-19 14:41:45 UTC) #4
AKVT
@aurimas PTAL PS2
6 years, 4 months ago (2014-08-19 17:01:03 UTC) #5
aurimas (slooooooooow)
On 2014/08/19 17:01:03, AKV wrote: > @aurimas PTAL PS2 Can you explain exactly what you ...
6 years, 4 months ago (2014-08-19 17:02:36 UTC) #6
aurimas (slooooooooow)
On 2014/08/19 17:02:36, aurimas wrote: > On 2014/08/19 17:01:03, AKV wrote: > > @aurimas PTAL ...
6 years, 4 months ago (2014-08-19 17:03:01 UTC) #7
aurimas (slooooooooow)
I think this should work now that we are sending updateTextInputState in both cases. Could ...
6 years, 4 months ago (2014-08-19 17:08:56 UTC) #8
AKVT
On 2014/08/19 17:08:56, aurimas wrote: > I think this should work now that we are ...
6 years, 4 months ago (2014-08-19 17:39:37 UTC) #9
jdduke (slow)
https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc#newcode1975 content/renderer/render_widget.cc:1975: new_info = webwidget_->textInputInfo(); Is there no other way of ...
6 years, 4 months ago (2014-08-19 18:19:49 UTC) #10
AKVT
https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc#newcode1975 content/renderer/render_widget.cc:1975: new_info = webwidget_->textInputInfo(); On 2014/08/19 18:19:49, jdduke wrote: > ...
6 years, 4 months ago (2014-08-20 15:00:43 UTC) #11
jdduke (slow)
https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc#newcode1975 content/renderer/render_widget.cc:1975: new_info = webwidget_->textInputInfo(); On 2014/08/20 15:00:43, AKV wrote: > ...
6 years, 4 months ago (2014-08-20 15:37:05 UTC) #12
jdduke (slow)
https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc#newcode1975 content/renderer/render_widget.cc:1975: new_info = webwidget_->textInputInfo(); On 2014/08/20 15:37:05, jdduke wrote: > ...
6 years, 4 months ago (2014-08-20 15:37:49 UTC) #13
AKVT
@jdduke @ aurimas PTAL, I have added Unit test case for the patch. https://codereview.chromium.org/484653003/diff/20001/content/renderer/render_widget.cc File ...
6 years, 4 months ago (2014-08-20 18:20:17 UTC) #14
aurimas (slooooooooow)
lgtm
6 years, 4 months ago (2014-08-20 18:22:15 UTC) #15
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 4 months ago (2014-08-20 18:22:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/484653003/60001
6 years, 4 months ago (2014-08-20 18:24:03 UTC) #17
aurimas (slooooooooow)
The CQ bit was unchecked by aurimas@chromium.org
6 years, 4 months ago (2014-08-20 18:24:42 UTC) #18
aurimas (slooooooooow)
You need OWNERS LGTM before you check the CQ flag.
6 years, 4 months ago (2014-08-20 18:24:59 UTC) #19
AKVT
On 2014/08/20 18:24:59, aurimas wrote: > You need OWNERS LGTM before you check the CQ ...
6 years, 4 months ago (2014-08-20 18:26:23 UTC) #20
jamesr
content/renderer lgtm
6 years, 4 months ago (2014-08-20 19:00:56 UTC) #21
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 4 months ago (2014-08-21 02:01:43 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/484653003/60001
6 years, 4 months ago (2014-08-21 02:02:26 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 02:06:04 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 02:09:49 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/5666)
6 years, 4 months ago (2014-08-21 02:09:50 UTC) #26
AKVT
@jdduke PTAL. presubmit is failing due to OWNERS LGTM
6 years, 4 months ago (2014-08-21 02:10:23 UTC) #27
jdduke (slow)
On 2014/08/21 02:10:23, AKV wrote: > @jdduke PTAL. presubmit is failing due to OWNERS LGTM ...
6 years, 4 months ago (2014-08-21 02:23:05 UTC) #28
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 4 months ago (2014-08-21 05:46:17 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/484653003/60001
6 years, 4 months ago (2014-08-21 05:46:57 UTC) #30
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 08:33:53 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (60001) as 291021

Powered by Google App Engine
This is Rietveld 408576698