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

Issue 1515553006: Change password bubble for Mac. (Closed)

Created:
5 years ago by dvadym
Modified:
5 years ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change password bubble for Mac. This CL contains all UI changes related to change password support on Mac. On Windows/Linux UI was implemented in https://codereview.chromium.org/1151373006/ and https://codereview.chromium.org/1271283002/. This CL contains implementation of 2 bubbles: 1.For confirmation from the user that he/she changed password in case when the user has only one credentials for current site. It's the same as password save bubble with "Save"->"Update" 2.For selecting by user which credentials should be updated after change password form submission in case when the user has more than one credentials and we have no clue which credentials is correct. It contains a dropbox with a list of all credentials for current site. Also in case when there are no stored credentials and no username form found username-password row is not shown in the bubble. Screenshots of UI: https://docs.google.com/document/d/1k1SN_e5XQtSTEQnssPlpZRKz66aXC3h6WS35AXtz9BA/edit# Update bubble is currently behind a flag until UI review. BUG=359315 Committed: https://crrev.com/5cc29b8637175db4d6a48fa7d8ea6119749fed7b Cr-Commit-Position: refs/heads/master@{#365796}

Patch Set 1 #

Patch Set 2 : Layout fixes, tests added #

Patch Set 3 : Rebase, clean-up #

Total comments: 27

Patch Set 4 : Addressed reviwers comments #

Patch Set 5 : Test is fixed #

Total comments: 8

Patch Set 6 : Comments addressed #

Patch Set 7 : Comment fix #

Patch Set 8 : Tiny comment update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+491 lines, -70 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 12 chunks +62 lines, -43 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.mm View 1 2 3 4 5 3 chunks +23 lines, -1 line 0 comments Download
A chrome/browser/ui/cocoa/passwords/credentials_selection_view.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/credentials_selection_view.mm View 1 2 3 4 5 6 7 1 chunk +115 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/passwords_bubble_controller_unittest.mm View 1 2 3 4 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.mm View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/passwords/pending_password_view_controller.mm View 1 2 3 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.mm View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller_unittest.mm View 1 2 3 5 chunks +15 lines, -1 line 0 comments Download
A + chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h View 1 1 chunk +13 lines, -10 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.mm View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller_unittest.mm View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
dvadym
Hi Vasilii, Could you please review this code from password manager point of view? Best ...
5 years ago (2015-12-15 14:11:23 UTC) #3
vasilii
https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2239 chrome/browser/password_manager/password_manager_browsertest.cc:2239: #endif Shouldn't it go to the test's setup? https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/ui/cocoa/passwords/credentials_selection_view.h ...
5 years ago (2015-12-15 15:58:02 UTC) #4
dvadym
Thanks Vasilii for comments! I've addressed all your comments, PTAL https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2239 ...
5 years ago (2015-12-16 14:16:31 UTC) #5
vasilii
https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.mm File chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.mm (right): https://codereview.chromium.org/1515553006/diff/40001/chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.mm#newcode291 chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.mm:291: password_manager::ui::PENDING_PASSWORD_UPDATE_STATE) On 2015/12/16 14:16:31, dvadym wrote: > On 2015/12/15 ...
5 years ago (2015-12-16 18:10:57 UTC) #6
dvadym
Thanks Vasilii for comments. PTAL https://codereview.chromium.org/1515553006/diff/80001/chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h File chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h (right): https://codereview.chromium.org/1515553006/diff/80001/chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h#newcode31 chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h:31: void SetUpUpdatePendingState(bool multipleForms); On ...
5 years ago (2015-12-16 18:50:12 UTC) #7
vasilii
lgtm
5 years ago (2015-12-17 09:44:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1515553006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1515553006/140001
5 years ago (2015-12-17 09:45:11 UTC) #10
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-12-17 10:34:14 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-17 10:35:07 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5cc29b8637175db4d6a48fa7d8ea6119749fed7b
Cr-Commit-Position: refs/heads/master@{#365796}

Powered by Google App Engine
This is Rietveld 408576698