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

Issue 438893002: Add ManagePasswordItemViewController and unit tests. (Closed)

Created:
6 years, 4 months ago by dconnelly
Modified:
6 years, 4 months ago
CC:
chromium-reviews, tfarina, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add ManagePasswordItemViewController and unit tests. Currently only implements the Pending item view. BUG=328847 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288332

Patch Set 1 #

Patch Set 2 : add another test #

Total comments: 24

Patch Set 3 : rebase and add test base class #

Patch Set 4 : simplify fixture #

Total comments: 2

Patch Set 5 : fix constants in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -10 lines) Patch
A chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm View 1 2 1 chunk +178 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller_unittest.mm View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/passwords/manage_passwords_controller_test.mm View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_password_item_view.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_password_item_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M components/password_manager/core/common/password_manager_ui.h View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
dconnelly
Still WIP. Sorry for the mail spam.
6 years, 4 months ago (2014-08-01 09:30:07 UTC) #1
dconnelly
This is very small. Other states and transitions and therefore more sophisticated tests will come ...
6 years, 4 months ago (2014-08-01 11:02:43 UTC) #2
dconnelly
+vabr for components/password_manager
6 years, 4 months ago (2014-08-01 11:03:45 UTC) #3
vabr (Chromium)
On 2014/08/01 11:03:45, dconnelly wrote: > +vabr for components/password_manager Moving the PasswordItemPosition enum to the ...
6 years, 4 months ago (2014-08-01 11:28:40 UTC) #4
Mike West
c/b/ui/views/passwords LGTM, thanks!
6 years, 4 months ago (2014-08-01 11:50:25 UTC) #5
dconnelly
FYI I added another unit test to ensure that the fields are populated properly and ...
6 years, 4 months ago (2014-08-01 12:30:42 UTC) #6
dconnelly
-rohitrao +shess
6 years, 4 months ago (2014-08-04 15:53:31 UTC) #7
dconnelly
Scott: PTAL. The CLs are all blocked in an order specified by their issue descriptions. ...
6 years, 4 months ago (2014-08-06 11:29:31 UTC) #8
chromium-reviews
Also, it's not a WIP. Not sure why the subject line hasn't changed. Fixed manually, ...
6 years, 4 months ago (2014-08-06 11:30:16 UTC) #9
Scott Hess - ex-Googler
https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/OWNERS File chrome/browser/ui/cocoa/passwords/OWNERS (right): https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/OWNERS#newcode1 chrome/browser/ui/cocoa/passwords/OWNERS:1: dconnelly@chromium.org Is this intended to cause people to loop ...
6 years, 4 months ago (2014-08-06 17:56:38 UTC) #10
dconnelly
I've also merged in a test refactoring that simplifies the fixture in this CL. https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/OWNERS ...
6 years, 4 months ago (2014-08-07 13:10:05 UTC) #11
Scott Hess - ex-Googler
LGTM, except I'm really just rubber-stamping the CALayer stuff. https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm File chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm (right): https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm#newcode145 chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm:145: ...
6 years, 4 months ago (2014-08-07 22:05:33 UTC) #12
dconnelly
The CQ bit was checked by dconnelly@chromium.org
6 years, 4 months ago (2014-08-08 08:25:53 UTC) #13
dconnelly
https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm File chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm (right): https://codereview.chromium.org/438893002/diff/80001/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm#newcode145 chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm:145: // Mac views don't have backing layers by default. ...
6 years, 4 months ago (2014-08-08 08:25:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dconnelly@chromium.org/438893002/140001
6 years, 4 months ago (2014-08-08 08:27:58 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 11:18:42 UTC) #16
Message was sent while issue was closed.
Change committed as 288332

Powered by Google App Engine
This is Rietveld 408576698