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

Issue 1955963002: [Autofill] Send events to fields being autofilled. (Closed)

Created:
4 years, 7 months ago by sebsg
Modified:
4 years, 7 months ago
Reviewers:
tkent, Mathieu
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-html_chromium.org, bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, estade+watch_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

For input and textarea fields send these events: Focus KeyDown Change (already present) Input (already present) KeyUp Blur For select fields send these events: Focus Change (already present) Input (already present) Blur BUG=581537 TEST=AutofillInteractiveTest Committed: https://crrev.com/4463586e3152ae8dec90f949a401b4695acf882c Cr-Commit-Position: refs/heads/master@{#392842}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Patch Set 4 : Added focus check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -1 line) Patch
M chrome/browser/autofill/autofill_interactive_uitest.cc View 2 chunks +159 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFormControlElement.cpp View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFormControlElement.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
sebsg
mathp@chromium.org: Could you please review the changes in chrome/* and components/* ? tkent@chromium.org: Could you ...
4 years, 7 months ago (2016-05-06 17:48:10 UTC) #4
Mathieu
Thanks, the autofill side lgtm. On the bug there is a question about not sending ...
4 years, 7 months ago (2016-05-06 21:14:22 UTC) #5
tkent
https://codereview.chromium.org/1955963002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormControlElement.h File third_party/WebKit/Source/core/html/HTMLFormControlElement.h (right): https://codereview.chromium.org/1955963002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormControlElement.h#newcode66 third_party/WebKit/Source/core/html/HTMLFormControlElement.h:66: void dispatchKeyDownEvent(); Can you move these two functions to ...
4 years, 7 months ago (2016-05-09 01:54:21 UTC) #6
sebsg
Thanks for the comments, could you please take another look? https://codereview.chromium.org/1955963002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormControlElement.h File third_party/WebKit/Source/core/html/HTMLFormControlElement.h (right): https://codereview.chromium.org/1955963002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormControlElement.h#newcode66 ...
4 years, 7 months ago (2016-05-09 22:19:11 UTC) #12
tkent
looks ok. As mathp wrote, probably it's safer to skip focus/blur if the element is ...
4 years, 7 months ago (2016-05-09 23:26:33 UTC) #13
sebsg
I just added the focus check, thanks!
4 years, 7 months ago (2016-05-10 15:24:04 UTC) #15
tkent
lgtm
4 years, 7 months ago (2016-05-10 23:55:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955963002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955963002/200001
4 years, 7 months ago (2016-05-11 02:08:23 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:200001)
4 years, 7 months ago (2016-05-11 03:45:03 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 03:46:34 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4463586e3152ae8dec90f949a401b4695acf882c
Cr-Commit-Position: refs/heads/master@{#392842}

Powered by Google App Engine
This is Rietveld 408576698