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

Issue 1644993002: Initialize UserGestureIndicator for IME commitText. (Closed)

Created:
4 years, 10 months ago by ashlin.j
Modified:
4 years, 10 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initialize UserGestureIndicator for IME commitText. Autofill code ignores non-user-gesture-based form updates since they are often greyed-out filler text or suggestions. KeyDown events as well as IME setComposition were already correctly registered as user gestures, but commitText was not. This could cause autofill to save partially typed form fields. BUG=582401 Committed: https://crrev.com/6ad2101efa6830ca3f9d156d662b977707b8ceff Cr-Commit-Position: refs/heads/master@{#374340}

Patch Set 1 #

Patch Set 2 : handling the null return #

Patch Set 3 : fixed layout test errors #

Patch Set 4 : fixing layout test errors #

Patch Set 5 : #

Patch Set 6 : new approach #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : Writing unit test for the new approach #

Total comments: 1

Patch Set 9 : Final patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (26 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644993002/1
4 years, 10 months ago (2016-01-29 09:24:31 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/15401)
4 years, 10 months ago (2016-01-29 11:42:28 UTC) #8
commit-bot: I haz the power
Dry run: CQ cannot get SignCLA result. Please try later.
4 years, 10 months ago (2016-02-01 12:32:26 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644993002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644993002/60001
4 years, 10 months ago (2016-02-02 11:21:30 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-02 12:18:28 UTC) #17
ashlin.j
Please take a look
4 years, 10 months ago (2016-02-02 12:52:19 UTC) #18
vabr (Chromium)
Thanks for your fix. I defer the review to the code OWNERS, though, because I ...
4 years, 10 months ago (2016-02-02 12:58:02 UTC) #19
ashlin.j
@vabr Will get it reviewed by the OWNERS of the file. @aelias @aurimas PTAL .
4 years, 10 months ago (2016-02-02 13:02:17 UTC) #21
aelias_OOO_until_Jul13
According to your investigation on http://crbug.com/582401, it seems like the bug is that autofill doesn't ...
4 years, 10 months ago (2016-02-02 23:00:00 UTC) #23
ashlin.j
On 2016/02/02 23:00:00, aelias wrote: > According to your investigation on http://crbug.com/582401, it seems like ...
4 years, 10 months ago (2016-02-03 15:59:53 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644993002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644993002/100001
4 years, 10 months ago (2016-02-05 10:09:25 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/112043)
4 years, 10 months ago (2016-02-05 10:28:09 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644993002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644993002/120001
4 years, 10 months ago (2016-02-05 13:03:16 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 14:11:58 UTC) #32
ashlin.j
@aelias I have uploaded a new approach for solving the issue. The issue was while ...
4 years, 10 months ago (2016-02-05 15:02:44 UTC) #34
aelias_OOO_until_Jul13
Looks like a good approach, thanks. Could you also: - Write a test checking the ...
4 years, 10 months ago (2016-02-05 20:15:00 UTC) #35
ashlin.j
https://codereview.chromium.org/1644993002/diff/120001/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1644993002/diff/120001/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2401 third_party/WebKit/Source/web/WebViewImpl.cpp:2401: bool WebViewImpl::confirmComposition(const WebString& text, ConfirmCompositionBehavior selectionBehavior) On 2016/02/05 20:15:00, ...
4 years, 10 months ago (2016-02-08 11:02:36 UTC) #37
ashlin.j
@aelias I have added the unit test to WebviewTest.cpp and also updated the description as ...
4 years, 10 months ago (2016-02-08 11:11:57 UTC) #39
aelias_OOO_until_Jul13
OK, lgtm modulo test comment below. https://codereview.chromium.org/1644993002/diff/140001/third_party/WebKit/Source/web/tests/WebViewTest.cpp File third_party/WebKit/Source/web/tests/WebViewTest.cpp (right): https://codereview.chromium.org/1644993002/diff/140001/third_party/WebKit/Source/web/tests/WebViewTest.cpp#newcode3219 third_party/WebKit/Source/web/tests/WebViewTest.cpp:3219: #if OS(ANDROID) As ...
4 years, 10 months ago (2016-02-08 22:06:04 UTC) #40
ashlin.j
@alieas I have updated WebViewTest.cpp as per your comments. PTAL Thanks for updating the commit ...
4 years, 10 months ago (2016-02-09 07:43:22 UTC) #44
aelias_OOO_until_Jul13
Sure, thanks! Still lgtm, you can press "Commit" when you want.
4 years, 10 months ago (2016-02-09 07:48:16 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644993002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644993002/160001
4 years, 10 months ago (2016-02-09 07:49:38 UTC) #47
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-09 09:07:39 UTC) #48
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 09:08:54 UTC) #50
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/6ad2101efa6830ca3f9d156d662b977707b8ceff
Cr-Commit-Position: refs/heads/master@{#374340}

Powered by Google App Engine
This is Rietveld 408576698