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

Issue 148413002: Add "previewing on hover" support for single-field autocomplete input (Closed)

Created:
6 years, 11 months ago by ziran.sun
Modified:
6 years, 9 months ago
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add "previewing on hover" support for single-field autocomplete input In terms of previewing on hover, treat single-field autocomplete the same as Autofill. Functions are introduced to handle when an AutoComplete selection is hovered over and clear once preview is done. This fix only handles autocomplete field. Preview support for password autofill support mentioned in the bug descriptions will be handled in a separate commit. BUG=63421 R=estade@chromium.org, isherman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257274

Patch Set 1 #

Total comments: 2

Patch Set 2 : Stated that no-op for new Autocomplete functions in autofill dialog file. #

Total comments: 6

Patch Set 3 : Update code as per review comments #

Total comments: 34

Patch Set 4 : Addressed Ilya's 2nd set comments #

Total comments: 12

Patch Set 5 : Updates as per Ilya and Tom's review comments #

Patch Set 6 : Update test code #

Total comments: 2

Patch Set 7 : Rebase and update code as per Ilya's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -38 lines) Patch
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/content/browser/content_autofill_driver.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M components/autofill/content/browser/content_autofill_driver.cc View 1 2 3 4 5 6 1 chunk +10 lines, -2 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 1 2 3 4 5 6 2 chunks +21 lines, -6 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.h View 1 2 3 4 5 6 2 chunks +10 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 2 3 4 5 6 4 chunks +20 lines, -6 lines 0 comments Download
M components/autofill/core/browser/autofill_driver.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_external_delegate.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_external_delegate.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_external_delegate_unittest.cc View 1 2 3 4 5 6 4 chunks +17 lines, -6 lines 0 comments Download
M components/autofill/core/browser/autofill_popup_delegate.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/core/browser/test_autofill_driver.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M components/autofill/core/browser/test_autofill_driver.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
ziran.sun
6 years, 11 months ago (2014-01-27 16:29:44 UTC) #1
Evan Stade
I don't really get why we'd bother showing a preview for a single field autocomplete. ...
6 years, 11 months ago (2014-01-27 17:43:16 UTC) #2
ziran.sun
updated code as per review comments. https://codereview.chromium.org/148413002/diff/1/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/148413002/diff/1/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode2242 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:2242: // TODO: inline ...
6 years, 11 months ago (2014-01-27 18:18:05 UTC) #3
Ilya Sherman
https://chromiumcodereview.appspot.com/148413002/diff/70001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://chromiumcodereview.appspot.com/148413002/diff/70001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode452 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:452: (selected_line_ < static_cast<int>(names_.size()))) nit: No need for the extra ...
6 years, 10 months ago (2014-02-14 02:22:28 UTC) #4
ziran.sun
On 2014/02/14 02:22:28, Ilya Sherman wrote: > https://chromiumcodereview.appspot.com/148413002/diff/70001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc > File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): > > https://chromiumcodereview.appspot.com/148413002/diff/70001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode452 ...
6 years, 10 months ago (2014-02-20 09:37:50 UTC) #5
Ilya Sherman
https://codereview.chromium.org/148413002/diff/130001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h File chrome/browser/ui/autofill/autofill_dialog_controller_impl.h (right): https://codereview.chromium.org/148413002/diff/130001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h#newcode169 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h:169: const base::string16& value) OVERRIDE; nit: Please update the parameters ...
6 years, 10 months ago (2014-02-22 05:59:51 UTC) #6
ziran.sun
Update code as per Ilya's 2nd round comments. All comments have been addressed. Thanks! https://codereview.chromium.org/148413002/diff/130001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h ...
6 years, 9 months ago (2014-02-27 15:38:10 UTC) #7
Ilya Sherman
+tsepez for IPC changes https://codereview.chromium.org/148413002/diff/380001/components/autofill/content/browser/autofill_driver_impl_unittest.cc File components/autofill/content/browser/autofill_driver_impl_unittest.cc (right): https://codereview.chromium.org/148413002/diff/380001/components/autofill/content/browser/autofill_driver_impl_unittest.cc#newcode140 components/autofill/content/browser/autofill_driver_impl_unittest.cc:140: AutofillMsg_FillFieldWithValue::Read(message, &autofill_param); Please check the ...
6 years, 9 months ago (2014-03-01 02:57:37 UTC) #8
Tom Sepez
lgtm. https://codereview.chromium.org/148413002/diff/380001/components/autofill/content/common/autofill_messages.h File components/autofill/content/common/autofill_messages.h (right): https://codereview.chromium.org/148413002/diff/380001/components/autofill/content/common/autofill_messages.h#newcode130 components/autofill/content/common/autofill_messages.h:130: // Sets suggested value for the currently previewed ...
6 years, 9 months ago (2014-03-03 19:28:45 UTC) #9
ziran.sun
Code updated. Please review. Thanks! https://codereview.chromium.org/148413002/diff/380001/components/autofill/content/browser/autofill_driver_impl_unittest.cc File components/autofill/content/browser/autofill_driver_impl_unittest.cc (right): https://codereview.chromium.org/148413002/diff/380001/components/autofill/content/browser/autofill_driver_impl_unittest.cc#newcode140 components/autofill/content/browser/autofill_driver_impl_unittest.cc:140: AutofillMsg_FillFieldWithValue::Read(message, &autofill_param); On 2014/03/01 ...
6 years, 9 months ago (2014-03-04 15:30:18 UTC) #10
Ilya Sherman
LGTM with one final comment addressed. Thanks very much for your patience! https://codereview.chromium.org/148413002/diff/420001/components/autofill/content/renderer/autofill_agent.cc File components/autofill/content/renderer/autofill_agent.cc ...
6 years, 9 months ago (2014-03-14 07:17:04 UTC) #11
ziran.sun
Rebased and updated code as per Ilya's review comments. Please review. Thanks! https://codereview.chromium.org/148413002/diff/420001/components/autofill/content/renderer/autofill_agent.cc File components/autofill/content/renderer/autofill_agent.cc ...
6 years, 9 months ago (2014-03-14 13:50:56 UTC) #12
Ilya Sherman
LGTM, thanks.
6 years, 9 months ago (2014-03-14 21:31:40 UTC) #13
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 9 months ago (2014-03-14 21:31:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/148413002/430001
6 years, 9 months ago (2014-03-14 21:32:16 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 21:39:02 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-14 21:39:06 UTC) #17
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 9 months ago (2014-03-14 22:42:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/148413002/430001
6 years, 9 months ago (2014-03-14 22:43:27 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 23:23:37 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-14 23:23:37 UTC) #21
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 9 months ago (2014-03-14 23:24:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/148413002/430001
6 years, 9 months ago (2014-03-14 23:25:09 UTC) #23
commit-bot: I haz the power
6 years, 9 months ago (2014-03-15 00:48:33 UTC) #24
Message was sent while issue was closed.
Change committed as 257274

Powered by Google App Engine
This is Rietveld 408576698