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

Issue 208453002: Add "previewing on hover" support for password field. (Closed)

Created:
6 years, 9 months ago by ziran.sun
Modified:
6 years, 7 months ago
Reviewers:
Tom Sepez, Ilya Sherman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add "previewing on hover" support for password field. In terms of previewing on hover, treat password the same as Autofill. Functions are introduced to handle when a username selection is hovered over, password and the selected username are previewed, and cleared once preview is done. This preview also supports "character matching" preview, e.g. type first few letters of username in, but without affecting the password "inline autocompletion" feature. R=isherman@chromium.org, tsepez@chromium.org BUG=63421 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271993

Patch Set 1 #

Total comments: 26

Patch Set 2 : Update code as per Ilya's comment. #

Total comments: 3

Patch Set 3 : Rebase code after password Refactoring[BUG178358]. #

Patch Set 4 : Improve rebased code. #

Total comments: 44

Patch Set 5 : Update code as per Ilya's review comments after rebasing code. #

Total comments: 20

Patch Set 6 : Update code as per Ilya's further comments after rebasing. #

Total comments: 8

Patch Set 7 : Update code as per Ilya's comments. #

Patch Set 8 : Update code as per review comments on SelectionRange. #

Total comments: 4

Patch Set 9 : Update code as per further review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -74 lines) Patch
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +238 lines, -7 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 4 5 6 1 chunk +9 lines, -3 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.h View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 2 3 4 5 2 chunks +15 lines, -4 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 4 5 6 7 8 4 chunks +32 lines, -13 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 8 4 chunks +54 lines, -4 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.h View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 3 4 5 1 chunk +20 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/mock_password_manager_driver.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.h View 1 2 3 4 2 chunks +14 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.cc View 1 2 3 4 5 6 5 chunks +31 lines, -11 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager_unittest.cc View 1 2 3 4 2 chunks +36 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager_unittest.cc View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/password_manager_driver.h View 1 2 3 4 5 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
ziran.sun
Add "previewing on hover" for password. Please review. Thanks!
6 years, 9 months ago (2014-03-21 16:03:12 UTC) #1
Tom Sepez
The messages in and of themselves are OK, but there was some discussion on the ...
6 years, 9 months ago (2014-03-21 18:01:51 UTC) #2
ziran.sun
On 2014/03/21 18:01:51, Tom Sepez wrote: Tom, we are aware of the disucssions. I think ...
6 years, 9 months ago (2014-03-21 18:29:17 UTC) #3
Tom Sepez
Messages LGTM. Thanks!
6 years, 9 months ago (2014-03-21 18:58:47 UTC) #4
Ilya Sherman
https://codereview.chromium.org/208453002/diff/1/chrome/renderer/autofill/form_autofill_browsertest.cc File chrome/renderer/autofill/form_autofill_browsertest.cc (right): https://codereview.chromium.org/208453002/diff/1/chrome/renderer/autofill/form_autofill_browsertest.cc#newcode2873 chrome/renderer/autofill/form_autofill_browsertest.cc:2873: EXPECT_FALSE(password.isAutofilled()); Hmm, why is the password field no longer ...
6 years, 9 months ago (2014-03-21 22:35:19 UTC) #5
ziran.sun
Updated code as per review comments. Thanks! https://codereview.chromium.org/208453002/diff/1/chrome/renderer/autofill/form_autofill_browsertest.cc File chrome/renderer/autofill/form_autofill_browsertest.cc (right): https://codereview.chromium.org/208453002/diff/1/chrome/renderer/autofill/form_autofill_browsertest.cc#newcode2873 chrome/renderer/autofill/form_autofill_browsertest.cc:2873: EXPECT_FALSE(password.isAutofilled()); On ...
6 years, 9 months ago (2014-03-25 18:25:25 UTC) #6
Ilya Sherman
Thanks, Ziran! I haven't taken another close look at the PasswordAutofillAgent changes, because I expect ...
6 years, 9 months ago (2014-03-25 19:45:27 UTC) #7
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 7 months ago (2014-05-08 16:54:47 UTC) #8
ziran.sun
The CQ bit was unchecked by ziran.sun@samsung.com
6 years, 7 months ago (2014-05-08 16:54:49 UTC) #9
ziran.sun
Rebase code after password Refactoring[BUG178358]. Please review. Thanks!
6 years, 7 months ago (2014-05-09 14:57:45 UTC) #10
Ilya Sherman
https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/autofill_agent.cc File components/autofill/content/renderer/autofill_agent.cc (right): https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/autofill_agent.cc#newcode494 components/autofill/content/renderer/autofill_agent.cc:494: password_autofill_agent_->WasPasswordAutofilled()); This call site should not need to change ...
6 years, 7 months ago (2014-05-13 00:44:05 UTC) #11
ziran.sun
update code as per review comments. All review comments have been addressed. Please review. Thanks! ...
6 years, 7 months ago (2014-05-14 15:35:12 UTC) #12
Ilya Sherman
Thanks, Ziran! This is getting quite close to being good to go :) https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc File ...
6 years, 7 months ago (2014-05-14 23:10:57 UTC) #13
ziran.sun
Updated code as per review comments. All comments have been addressed. Please review. Thanks! https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc ...
6 years, 7 months ago (2014-05-15 12:36:36 UTC) #14
Ilya Sherman
https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc#newcode414 components/autofill/content/renderer/password_autofill_agent.cc:414: // characters. On 2014/05/15 12:36:37, ziran.sun wrote: > On ...
6 years, 7 months ago (2014-05-15 21:36:08 UTC) #15
ziran.sun
Updated code as per review comments. All comments have been addressed. Please review. Thanks! https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc ...
6 years, 7 months ago (2014-05-16 09:18:13 UTC) #16
Ilya Sherman
https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc#newcode414 components/autofill/content/renderer/password_autofill_agent.cc:414: // characters. On 2014/05/16 09:18:13, ziran.sun wrote: > On ...
6 years, 7 months ago (2014-05-16 22:24:06 UTC) #17
ziran.sun
On 2014/05/16 22:24:06, Ilya Sherman wrote: > https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc > File components/autofill/content/renderer/password_autofill_agent.cc (right): > > https://codereview.chromium.org/208453002/diff/260001/components/autofill/content/renderer/password_autofill_agent.cc#newcode414 ...
6 years, 7 months ago (2014-05-19 13:37:05 UTC) #18
Ilya Sherman
Thanks, Ziran! Just a final two nits left: https://codereview.chromium.org/208453002/diff/340001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/208453002/diff/340001/components/autofill/content/renderer/password_autofill_agent.cc#newcode411 components/autofill/content/renderer/password_autofill_agent.cc:411: selection_start_= ...
6 years, 7 months ago (2014-05-20 08:34:37 UTC) #19
ziran.sun
Updated code. All review comments have been addressed. Please review. Thanks! https://codereview.chromium.org/208453002/diff/340001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): ...
6 years, 7 months ago (2014-05-20 20:48:10 UTC) #20
Ilya Sherman
LGTM, thanks :)
6 years, 7 months ago (2014-05-20 22:30:08 UTC) #21
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-20 22:30:16 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/208453002/360001
6 years, 7 months ago (2014-05-20 22:32:18 UTC) #23
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 22:37:35 UTC) #24
Message was sent while issue was closed.
Change committed as 271993

Powered by Google App Engine
This is Rietveld 408576698