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

Issue 133893004: Allow deleting autofill password suggestions on Shift+Delete (Closed)

Created:
6 years, 11 months ago by riadh.chtara
Modified:
5 years, 3 months ago
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_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

Allow deleting autofill password suggestions on Shift+Delete. NOTE: This CL was replaced by https://codereview.chromium.org/223133003/, due to username change of the author. It could be closed, but we keep it open for a short while yet, to allow investigation of an issue with adding collaborators. As described in the bug, when someone clicks on shift+del on a saved login, the saved login is removed only from the display and is going to reappear when the page is refreshed. This CL allows to make the remove of a saved login persistent by also deleting the corresponding entry in the PasswordStore. COLLABORATOR=rchtara@chromium.org BUG=329038

Patch Set 1 #

Total comments: 8

Patch Set 2 : Allow deleting autofill password suggestions on Shift+Delete #

Total comments: 28

Patch Set 3 : Allow deleting autofill password suggestions on Shift+Delete #

Patch Set 4 : Comments addressed #

Total comments: 6

Patch Set 5 : Patch that could be compiled, but the issue is not yet fixed #

Patch Set 6 : PasswordManager::OnRemovePasswordSuggestion is called #

Patch Set 7 : Allow Password autofill suggestions deletion #

Total comments: 19

Patch Set 8 : deletion is working #

Total comments: 24

Patch Set 9 : multiple forms #

Patch Set 10 : cleaning the code #

Total comments: 32

Patch Set 11 : fixing issues #

Patch Set 12 : fixing issues #

Patch Set 13 : fixing issues #

Patch Set 14 : fixing issues #

Patch Set 15 : ToT #

Patch Set 16 : ToT #

Total comments: 23
Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -28 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +1 line, -19 lines 2 comments Download
M components/autofill/content/browser/autofill_driver_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/browser/autofill_driver_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +10 lines, -0 lines 2 comments Download
M components/autofill/content/browser/autofill_driver_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +33 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +15 lines, -1 line 4 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +28 lines, -0 lines 4 comments Download
M components/autofill/core/browser/autofill_driver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -0 lines 2 comments Download
M components/autofill/core/browser/autofill_external_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -2 lines 3 comments Download
M components/autofill/core/browser/autofill_external_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -3 lines 2 comments Download
M components/autofill/core/browser/autofill_external_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -0 lines 4 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/password_autofill_manager.h View 1 2 3 4 5 6 7 8 9 11 2 chunks +7 lines, -1 line 0 comments Download
M components/autofill/core/browser/password_autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +13 lines, -0 lines 0 comments Download
M components/autofill/core/browser/password_autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +23 lines, -0 lines 0 comments Download
M components/autofill/core/browser/test_autofill_driver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/test_autofill_driver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +8 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +40 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (0 generated)
riadh.chtara
6 years, 11 months ago (2014-01-10 15:39:03 UTC) #1
vabr (Chromium)
Hi Riadh, Congrats for your first upload to codereview.chromium.org! :) Before my in-line comments are ...
6 years, 11 months ago (2014-01-10 18:40:00 UTC) #2
riadh.chtara
Hi Vaclav, I was very glad when reading your mail :) There is a lot ...
6 years, 11 months ago (2014-01-11 09:58:06 UTC) #3
riadh.chtara
Hi Vaclav, I updated the patch but still got 2 problems: * I have problem ...
6 years, 11 months ago (2014-01-12 17:44:56 UTC) #4
riadh.chtara
Hi Vaclav, I want just to say that git cl upload is working now for ...
6 years, 11 months ago (2014-01-13 14:22:21 UTC) #5
vabr (do not use)
Thanks for the update, Riadh! I'm currently reviewing your change, so you will hear from ...
6 years, 11 months ago (2014-01-13 14:23:49 UTC) #6
vabr (Chromium)
Hi Riadh, Thanks for your further changes. And I also really like the CL description ...
6 years, 11 months ago (2014-01-13 14:46:28 UTC) #7
riadh.chtara
Hi Vaclav, Thanks a lot for your answers and advice. I solved many of the ...
6 years, 11 months ago (2014-01-13 20:33:20 UTC) #8
riadh.chtara
https://codereview.chromium.org/133893004/diff/210001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): https://codereview.chromium.org/133893004/diff/210001/chrome/browser/password_manager/password_manager.cc#newcode364 chrome/browser/password_manager/password_manager.cc:364: password_store.get()->RemoveLogin(password_form); On 2014/01/13 14:46:29, vabr (Chromium) wrote: > You ...
6 years, 11 months ago (2014-01-13 20:34:09 UTC) #9
riadh.chtara
https://codereview.chromium.org/133893004/diff/210001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/133893004/diff/210001/components/autofill/core/browser/autofill_external_delegate.cc#newcode38 components/autofill/core/browser/autofill_external_delegate.cc:38: const PasswordForm& passwordform, I m not really but this ...
6 years, 11 months ago (2014-01-13 20:56:07 UTC) #10
vabr (Chromium)
Hi Riadh. First of all, it looks like you got the formatting script working. If ...
6 years, 11 months ago (2014-01-14 14:11:02 UTC) #11
riadh.chtara
Hi valcav, Yeah, git cl format is working now for me. It Seems not only ...
6 years, 11 months ago (2014-01-14 14:48:12 UTC) #12
vabr (Chromium)
Thanks, Riadh! I really like where this CL is going, it looks better with each ...
6 years, 11 months ago (2014-01-14 15:01:20 UTC) #13
vabr (Chromium)
BTW., Looks like we lost the BUG=329038 line from the CL description, so I added ...
6 years, 11 months ago (2014-01-15 14:30:58 UTC) #14
riadh.chtara
Hi Vaclav, I'm really glad that you like the CL. And it's thanks to your ...
6 years, 11 months ago (2014-01-15 21:27:47 UTC) #15
riadh.chtara
Hi, The current patch could be complied (it's the first one that can do that) ...
6 years, 11 months ago (2014-01-17 08:25:08 UTC) #16
vabr (Chromium)
Hi Riadh, Thanks for resolving more comments. Crossing fingers for you with getting this working. ...
6 years, 11 months ago (2014-01-17 18:40:12 UTC) #17
riadh.chtara
Hi Vaclav, No problem. I found out why PasswordManager::OnRemovePasswordSuggestion was never called. And now it's ...
6 years, 11 months ago (2014-01-19 12:13:43 UTC) #18
riadh.chtara
Hi Vaclav, I'm stuck :) As I have said the PasswordManager::OnRemovePasswordSuggestion is now called but ...
6 years, 11 months ago (2014-01-23 11:05:00 UTC) #19
vabr (Chromium)
Hi Riadh, I'm sorry for a late response. It's been busy in the office lately. ...
6 years, 11 months ago (2014-01-24 19:09:42 UTC) #20
riadh.chtara
Hi Vaclav, > I'm sorry for a late response. It's been busy in the office ...
6 years, 11 months ago (2014-01-26 08:20:52 UTC) #21
riadh.chtara
Hi Vaclav, The bug was solved and the logins can now be removed. But there ...
6 years, 11 months ago (2014-01-27 22:55:00 UTC) #22
vabr (Chromium)
Hi Riadh! Great to hear it works already. Also kudos to you for not forgetting ...
6 years, 10 months ago (2014-01-29 16:09:35 UTC) #23
riadh.chtara
Hi Vacalv, > Great to hear it works already. Also kudos to you for not ...
6 years, 10 months ago (2014-01-29 23:01:38 UTC) #24
riadh.chtara
Hey Vaclav, Thanks a lot for you comments By the way :Deletion is now working ...
6 years, 10 months ago (2014-02-04 16:22:02 UTC) #25
vabr (Chromium)
Hi Riadh, Thanks for your update, I'm really glad to hear about your success! I ...
6 years, 10 months ago (2014-02-05 20:34:19 UTC) #26
riadh.chtara
Hi Vaclav, > Thanks for your update, I'm really glad to hear about your success! ...
6 years, 10 months ago (2014-02-06 08:45:51 UTC) #27
vabr (Chromium)
Hi Riadh, Thanks for your explanation of the current code in password_autofill_agent.cc. It still looks ...
6 years, 10 months ago (2014-02-11 17:58:35 UTC) #28
riadh.chtara
https://codereview.chromium.org/133893004/diff/880001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/133893004/diff/880001/components/autofill/content/renderer/password_autofill_agent.cc#newcode565 components/autofill/content/renderer/password_autofill_agent.cc:565: // We own the FormElements* in forms. On 2014/02/05 ...
6 years, 10 months ago (2014-02-11 21:03:45 UTC) #29
riadh.chtara
Hi Vaclav, Thanks a lot for your comments. > Thanks for your explanation of the ...
6 years, 10 months ago (2014-02-11 21:12:21 UTC) #30
vabr (Chromium)
Thanks, Riadh. I'll wait with a new review until you have a chance to address ...
6 years, 10 months ago (2014-02-14 11:57:37 UTC) #31
riadh.chtara
wHi Vaclav, Great. I have discovered two issues with my code. *If there is only ...
6 years, 10 months ago (2014-02-16 15:54:35 UTC) #32
vabr (Chromium)
Hi Riadh, Thanks for the thorough testing! Please find my answers in-line. On 2014/02/16 15:54:35, ...
6 years, 10 months ago (2014-02-17 16:10:41 UTC) #33
riadh.chtara
Hi Vaclav, Sorry for my late response, I was really busy this days Thanks a ...
6 years, 10 months ago (2014-02-19 10:48:19 UTC) #34
vabr (Chromium)
Thanks, Riadh. I don't think I understand completely what you meant in your last e-mail, ...
6 years, 10 months ago (2014-02-20 13:02:52 UTC) #35
riadh.chtara
Hi, So this the new code, handling similar forms works fine. (I didn't have time ...
6 years, 10 months ago (2014-02-21 17:42:36 UTC) #36
vabr (Chromium)
Hi Riadh, I'm really sorry it took me so long to respond at all. Unfortunately ...
6 years, 9 months ago (2014-03-07 23:43:35 UTC) #37
riadh.chtara
Hi Vaclav, Thanks a lot for you answer. Have a nice holidays :) Mean while ...
6 years, 9 months ago (2014-03-08 16:43:02 UTC) #38
riadh.chtara
https://codereview.chromium.org/133893004/diff/1290001/chrome/browser/password_manager/password_form_manager.cc File chrome/browser/password_manager/password_form_manager.cc (right): https://codereview.chromium.org/133893004/diff/1290001/chrome/browser/password_manager/password_form_manager.cc#newcode113 chrome/browser/password_manager/password_form_manager.cc:113: void PasswordFormManager::RemoveAndUpdate(const string16& username_to_remove) { On 2014/03/07 23:43:36, vabr ...
6 years, 9 months ago (2014-03-14 17:16:07 UTC) #39
riadh.chtara
https://codereview.chromium.org/133893004/diff/1290001/chrome/browser/password_manager/password_form_manager.cc File chrome/browser/password_manager/password_form_manager.cc (right): https://codereview.chromium.org/133893004/diff/1290001/chrome/browser/password_manager/password_form_manager.cc#newcode285 chrome/browser/password_manager/password_form_manager.cc:285: PasswordForm f = observed_form_; I thought that using GetLogins ...
6 years, 9 months ago (2014-03-14 18:06:17 UTC) #40
vabr (Chromium)
Hi Riadh, A couple of more minor comments. I'm going to ask you some more ...
6 years, 8 months ago (2014-04-01 16:56:07 UTC) #41
vabr (Chromium)
Hi Riadh, Just added a comment recording what we spoke about today. Cheers, Vaclav https://codereview.chromium.org/133893004/diff/1440025/components/autofill/content/renderer/password_autofill_agent.cc ...
6 years, 8 months ago (2014-04-01 17:14:34 UTC) #42
rchtara
Hi, I just did what you asked me to do. Then I wanted to check ...
6 years, 8 months ago (2014-04-03 08:30:56 UTC) #43
rchtara
https://codereview.chromium.org/133893004/diff/1440025/AUTHORS File AUTHORS (left): https://codereview.chromium.org/133893004/diff/1440025/AUTHORS#oldcode39 AUTHORS:39: Arunprasad Rajkumar <ararunprasad@gmail.com> On 2014/04/01 16:56:08, vabr (Chromium) wrote: ...
6 years, 8 months ago (2014-04-03 08:44:49 UTC) #44
vabr (Chromium)
On 2014/04/03 08:30:56, rchtara wrote: > Hi, > I just did what you asked me ...
6 years, 8 months ago (2014-04-03 11:16:37 UTC) #45
vabr (Chromium)
On 2014/04/03 11:16:37, vabr (Chromium) wrote: > On 2014/04/03 08:30:56, rchtara wrote: > > Hi, ...
6 years, 8 months ago (2014-04-03 11:32:07 UTC) #46
rchtara1
6 years, 8 months ago (2014-04-03 12:18:46 UTC) #47
No, I didn't forget that.
I just wanted to update comments and tests before


On Thu, Apr 3, 2014 at 1:32 PM, <vabr@chromium.org> wrote:

> On 2014/04/03 11:16:37, vabr (Chromium) wrote:
>
>> On 2014/04/03 08:30:56, rchtara wrote:
>> > Hi,
>> > I just did what you asked me to do.
>> > Then I wanted to check whether what i did doesnt break within a page
>> with
>> > multiple frames (I didnt done anything spetial to support that so I had
>> a
>> > negative feeling about it).
>> > So I created this page
>> > https://c9.io/riadh/w1/workspace/home.html
>> > and i have checked it but apprently the password manager in chromium and
>>
> even
>
>> > the latest chrome version i got cannot autofill a page within multiple
>> frames.
>> > So could please tell me whether or not the password manager support
>> pages
>>
> with
>
>> > multiple frames ?
>> >
>> > Thanks a lot
>> > Riadh
>>
>
>  Thanks, Riadh, I'll take a look at your changes.
>>
>
>  As for the frames: I know autofilling passwords in iframes is currently
>>
> disabled
>
>> (http://crbug.com/257156), with plans to lift this restriction for
>> same-domain
>> iframes (http://crbug.com/345371). I'm not completely certain whether
>> frames
>>
> and
>
>> iframes are handled the same, but I would strongly suspect so.
>>
>
>  Cheers,
>> Vaclav
>>
>
> Also, did you forget to upload the newest patch?
>
> https://codereview.chromium.org/133893004/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698