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

Issue 928753003: Clean password_manager::ui::State (Closed)

Created:
5 years, 10 months ago by vasilii
Modified:
5 years, 10 months ago
CC:
chromium-reviews, gcasto+watchlist_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

Clean password_manager::ui::State. The goal is to get rid of states "I'm opening the bubble now" as it should be an implementation detail of ManagePasswordsUIController. For bubbles, which can be opened both automatically and later on user interaction, there should be exactly one state (like PENDING_PASSWORD_STATE). For one-time automatic bubble there are two states. One is while the bubble is visible (e.g. CONFIRMATION_STATE). The second one is after it was closed (e.g. MANAGE_STATE). BUG=400674 TBR=sky@chromium.org Committed: https://crrev.com/ce64ac53deb73da655bb2c21f02c722835ee3bab Cr-Commit-Position: refs/heads/master@{#316547}

Patch Set 1 : clear more #

Total comments: 2

Patch Set 2 : fix the tests hopefully #

Patch Set 3 : Merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -164 lines) Patch
M chrome/browser/ui/browser_commands.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration_unittest.mm View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.cc View 6 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc View 4 chunks +5 lines, -20 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_icon.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_test.cc View 1 5 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller.h View 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller.cc View 1 2 10 chunks +36 lines, -27 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc View 1 2 9 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_password_items_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc View 1 4 chunks +7 lines, -0 lines 0 comments Download
M components/password_manager/core/common/password_manager_ui.h View 3 chunks +2 lines, -28 lines 0 comments Download
M components/password_manager/core/common/password_manager_ui.cc View 1 chunk +1 line, -36 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
vasilii
Hi Mike, please review the CL.
5 years, 10 months ago (2015-02-16 11:03:44 UTC) #2
Mike West
The bots are pretty sad. :( I think the direction is fine, as it certainly ...
5 years, 10 months ago (2015-02-16 11:45:34 UTC) #3
vasilii
I'm working on making everybody happy. https://codereview.chromium.org/928753003/diff/40001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/928753003/diff/40001/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode201 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:201: ManagePasswordsUIController::FromWebContents(web_contents()) On 2015/02/16 ...
5 years, 10 months ago (2015-02-16 11:51:44 UTC) #4
vasilii
Hi Jeremy, could you review chrome/browser/ui/cocoa? Mike, I expect the tests to turn green.
5 years, 10 months ago (2015-02-16 13:29:14 UTC) #9
Mike West
LGTM if the bots are green.
5 years, 10 months ago (2015-02-16 13:30:11 UTC) #10
vasilii
On 2015/02/16 13:30:11, Mike West wrote: > LGTM if the bots are green. Thanks, the ...
5 years, 10 months ago (2015-02-16 14:00:52 UTC) #12
vasilii
Alexei, please review chrome/browser/ui/cocoa
5 years, 10 months ago (2015-02-16 18:06:29 UTC) #14
Alexei Svitkine (slow)
LGTM, but please associate this with a crbug via BUG= in the CL description, since ...
5 years, 10 months ago (2015-02-17 00:50:50 UTC) #15
vasilii
I'm TBRing sky@ for the trivial change in chrome/browser/ui/browser_commands.cc
5 years, 10 months ago (2015-02-17 09:12:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928753003/80001
5 years, 10 months ago (2015-02-17 09:14:40 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 10 months ago (2015-02-17 09:30:53 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 09:31:24 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ce64ac53deb73da655bb2c21f02c722835ee3bab
Cr-Commit-Position: refs/heads/master@{#316547}

Powered by Google App Engine
This is Rietveld 408576698