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

Issue 267183002: Password manager: Implement password generation UI for Mac. (Closed)

Created:
6 years, 7 months ago by Patrick Dubroy
Modified:
6 years, 7 months ago
CC:
Ilya Sherman, Garrett Casto
Visibility:
Public.

Description

Password manager: Implement password generation UI for Mac. BUG=114092 R=estade@chromium.org, isherman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270648

Patch Set 1 #

Total comments: 4

Patch Set 2 : Share code between the two bridges. #

Patch Set 3 : More implementation #

Total comments: 4

Patch Set 4 : Functions back to constants. #

Patch Set 5 : Fix Mac build. #

Patch Set 6 : Move AutofillPopupBaseViewCocoa into its own file. #

Patch Set 7 : Get mouse selection working. #

Patch Set 8 : Remove some dead code, add TODO. #

Total comments: 79

Patch Set 9 : Address isherman's comments. #

Total comments: 4

Patch Set 10 : Add back controllerDestroyed. #

Patch Set 11 : Fix Android link failure. #

Patch Set 12 : Another attempt to fix Android build. #

Patch Set 13 : Rebase. #

Patch Set 14 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+591 lines, -187 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_view_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_view.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
D chrome/browser/ui/autofill/password_generation_popup_view.cc View 1 2 3 4 5 6 7 8 11 1 chunk +8 lines, -11 lines 0 comments Download
A chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.h View 1 2 3 4 5 6 7 8 9 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +171 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -38 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm View 1 2 3 4 5 6 7 8 9 8 chunks +16 lines, -107 lines 0 comments Download
A chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.h View 1 2 3 4 5 6 7 8 9 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +167 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc View 1 2 3 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Patrick Dubroy
Hi Ilya (and gcasto FYI), PTAL for early feedback. This CL is not *nearly* complete, ...
6 years, 7 months ago (2014-05-06 15:43:51 UTC) #1
Patrick Dubroy
(Let's try this again) Hi Ilya (and gcasto FYI), PTAL for early feedback. This CL ...
6 years, 7 months ago (2014-05-06 15:44:53 UTC) #2
Garrett Casto
FWIW, organization seems reasonable to me.
6 years, 7 months ago (2014-05-07 00:22:33 UTC) #3
Ilya Sherman
Organization seems reasonable to me too. In fact, I'd encourage even one more shared base ...
6 years, 7 months ago (2014-05-07 00:34:43 UTC) #4
Patrick Dubroy
https://codereview.chromium.org/267183002/diff/1/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm File chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm (right): https://codereview.chromium.org/267183002/diff/1/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm#newcode69 chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm:69: } On 2014/05/07 00:34:44, Ilya Sherman wrote: > There's ...
6 years, 7 months ago (2014-05-07 16:48:36 UTC) #5
Ilya Sherman
https://codereview.chromium.org/267183002/diff/1/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm File chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm (right): https://codereview.chromium.org/267183002/diff/1/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm#newcode69 chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm:69: } On 2014/05/07 16:48:36, Patrick Dubroy wrote: > On ...
6 years, 7 months ago (2014-05-08 00:34:32 UTC) #6
Patrick Dubroy
PTAL. The implementation is now working.
6 years, 7 months ago (2014-05-08 16:38:16 UTC) #7
Patrick Dubroy
+estade for changes in password_generation_popup_view_views.cc
6 years, 7 months ago (2014-05-08 16:38:51 UTC) #8
Evan Stade
https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h File chrome/browser/ui/autofill/password_generation_popup_view.h (right): https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h#newcode40 chrome/browser/ui/autofill/password_generation_popup_view.h:40: static SkColor GetDividerColor(); why are these functions instead of ...
6 years, 7 months ago (2014-05-08 17:50:28 UTC) #9
Patrick Dubroy
https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h File chrome/browser/ui/autofill/password_generation_popup_view.h (right): https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h#newcode40 chrome/browser/ui/autofill/password_generation_popup_view.h:40: static SkColor GetDividerColor(); On 2014/05/08 17:50:29, Evan Stade wrote: ...
6 years, 7 months ago (2014-05-08 20:37:29 UTC) #10
Evan Stade
https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h File chrome/browser/ui/autofill/password_generation_popup_view.h (right): https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h#newcode40 chrome/browser/ui/autofill/password_generation_popup_view.h:40: static SkColor GetDividerColor(); On 2014/05/08 20:37:30, Patrick Dubroy wrote: ...
6 years, 7 months ago (2014-05-08 20:52:41 UTC) #11
Patrick Dubroy
On 2014/05/08 20:52:41, Evan Stade wrote: > https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h > File chrome/browser/ui/autofill/password_generation_popup_view.h (right): > > https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h#newcode40 ...
6 years, 7 months ago (2014-05-08 21:11:47 UTC) #12
Evan Stade
On 2014/05/08 21:11:47, Patrick Dubroy wrote: > On 2014/05/08 20:52:41, Evan Stade wrote: > > ...
6 years, 7 months ago (2014-05-08 22:18:39 UTC) #13
Patrick Dubroy
On 2014/05/08 22:18:39, Evan Stade wrote: > On 2014/05/08 21:11:47, Patrick Dubroy wrote: > > ...
6 years, 7 months ago (2014-05-09 12:30:42 UTC) #14
Patrick Dubroy
https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h File chrome/browser/ui/autofill/password_generation_popup_view.h (right): https://codereview.chromium.org/267183002/diff/40001/chrome/browser/ui/autofill/password_generation_popup_view.h#newcode40 chrome/browser/ui/autofill/password_generation_popup_view.h:40: static SkColor GetDividerColor(); On 2014/05/08 20:52:41, Evan Stade wrote: ...
6 years, 7 months ago (2014-05-09 12:44:26 UTC) #15
Patrick Dubroy
Ilya, Evan, PTAL. I'd appreciate if you can review this ASAP, so I have a ...
6 years, 7 months ago (2014-05-09 13:07:07 UTC) #16
Evan Stade
!cocoa lgtm https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/autofill/password_generation_popup_view.h File chrome/browser/ui/autofill/password_generation_popup_view.h (right): https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/autofill/password_generation_popup_view.h#newcode38 chrome/browser/ui/autofill/password_generation_popup_view.h:38: static const SkColor kExplanatoryTextBackgroundColor; nit: these should ...
6 years, 7 months ago (2014-05-09 20:45:58 UTC) #17
Ilya Sherman
https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/autofill/password_generation_popup_view.cc File chrome/browser/ui/autofill/password_generation_popup_view.cc (right): https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/autofill/password_generation_popup_view.cc#newcode1 chrome/browser/ui/autofill/password_generation_popup_view.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 7 months ago (2014-05-09 21:51:28 UTC) #18
Patrick Dubroy
https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/autofill/password_generation_popup_view.cc File chrome/browser/ui/autofill/password_generation_popup_view.cc (right): https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/autofill/password_generation_popup_view.cc#newcode1 chrome/browser/ui/autofill/password_generation_popup_view.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 7 months ago (2014-05-12 14:13:38 UTC) #19
Ilya Sherman
Thanks! Just one outstanding issue around memory management: https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h File chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h (right): https://codereview.chromium.org/267183002/diff/130001/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h#newcode15 chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h:15: @class ...
6 years, 7 months ago (2014-05-12 21:46:10 UTC) #20
Patrick Dubroy
https://codereview.chromium.org/267183002/diff/150001/chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm File chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm (right): https://codereview.chromium.org/267183002/diff/150001/chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm#newcode90 chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm:90: return; On 2014/05/12 21:46:10, Ilya Sherman wrote: > This ...
6 years, 7 months ago (2014-05-13 12:18:04 UTC) #21
Ilya Sherman
LGTM, thanks!
6 years, 7 months ago (2014-05-13 18:32:54 UTC) #22
Patrick Dubroy
The CQ bit was checked by dubroy@chromium.org
6 years, 7 months ago (2014-05-14 09:55:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/267183002/220001
6 years, 7 months ago (2014-05-14 09:56:43 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 11:50:08 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 11:53:18 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/151731)
6 years, 7 months ago (2014-05-14 11:53:19 UTC) #27
Patrick Dubroy
The CQ bit was checked by dubroy@chromium.org
6 years, 7 months ago (2014-05-14 14:22:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/267183002/220001
6 years, 7 months ago (2014-05-14 14:22:58 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 15:14:34 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 15:32:13 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/26548)
6 years, 7 months ago (2014-05-14 15:32:14 UTC) #32
Patrick Dubroy
The CQ bit was checked by dubroy@chromium.org
6 years, 7 months ago (2014-05-14 18:53:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/267183002/220001
6 years, 7 months ago (2014-05-14 18:54:37 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 19:11:27 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 19:25:27 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/26720)
6 years, 7 months ago (2014-05-14 19:25:28 UTC) #37
Patrick Dubroy
6 years, 7 months ago (2014-05-15 09:10:47 UTC) #38
Message was sent while issue was closed.
Committed patchset #14 manually as r270648 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698