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

Issue 11416047: Add mac UI for password generation (Closed)

Created:
8 years, 1 month ago by Garrett Casto
Modified:
7 years, 9 months ago
CC:
chromium-reviews, sail+watch_chromium.org, Yue Zhang, guohui
Visibility:
Public.

Description

Add mac UI for password generation This is the Mac implementation of the password generation (http://dev.chromium.org/developers/design-documents/password-generation). Screenshot - http://oi49.tinypic.com/kcchz6.jpg Windows UI (for comparison) - http://oi45.tinypic.com/51eauw.jpg BUG=120776 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172231

Patch Set 1 #

Patch Set 2 : Add some comments. #

Total comments: 54

Patch Set 3 : Address comments #

Patch Set 4 : comments and tests #

Total comments: 20

Patch Set 5 : Address comments. #

Total comments: 4

Patch Set 6 : More comments #

Patch Set 7 : Sync #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -13 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
A chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm View 1 2 3 4 5 1 chunk +388 lines, -0 lines 1 comment Download
A chrome/browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 6 chunks +43 lines, -8 lines 0 comments Download
A chrome/browser/ui/cocoa/browser_window_cocoa_browsertest.mm View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Garrett Casto
8 years, 1 month ago (2012-11-16 23:38:42 UTC) #1
sail
(Drive by, this needs a unit test for the new class and a browser test ...
8 years, 1 month ago (2012-11-16 23:42:52 UTC) #2
sail
On 2012/11/16 23:42:52, sail wrote: > (Drive by, this needs a unit test for the ...
8 years, 1 month ago (2012-11-16 23:44:20 UTC) #3
Scott Hess - ex-Googler
Time to go home. here's a partial review. https://codereview.chromium.org/11416047/diff/9/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h File chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h (right): https://codereview.chromium.org/11416047/diff/9/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h#newcode43 chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h:43: PasswordGenerationTextField* ...
8 years, 1 month ago (2012-11-17 01:22:41 UTC) #4
Garrett Casto
Screenshot of UI - http://www.corp.google.com/~gcasto/mac_ui.png For comparison, this is the Windows UI - http://www.corp.google.com/~gcasto/windows_ui.png You ...
8 years, 1 month ago (2012-11-19 22:17:42 UTC) #5
sail
On 2012/11/19 22:17:42, Garrett Casto wrote: > Screenshot of UI - http://www.corp.google.com/%7Egcasto/mac_ui.png > For comparison, ...
8 years, 1 month ago (2012-11-19 22:27:57 UTC) #6
sail
Also, another quick question. What happens when you press enter or escape?
8 years, 1 month ago (2012-11-19 22:28:45 UTC) #7
Garrett Casto
On 2012/11/19 22:27:57, sail wrote: > On 2012/11/19 22:17:42, Garrett Casto wrote: > > Screenshot ...
8 years, 1 month ago (2012-11-19 23:07:12 UTC) #8
Garrett Casto
On 2012/11/19 22:28:45, sail wrote: > Also, another quick question. What happens when you press ...
8 years, 1 month ago (2012-11-19 23:07:58 UTC) #9
sail
On 2012/11/19 23:07:58, Garrett Casto wrote: > On 2012/11/19 22:28:45, sail wrote: > > Also, ...
8 years, 1 month ago (2012-11-19 23:13:03 UTC) #10
sail
> Working on it. Windows and Linux don't seem to test, so I need to ...
8 years, 1 month ago (2012-11-19 23:16:03 UTC) #11
Scott Hess - ex-Googler
On 2012/11/19 23:07:12, Garrett Casto wrote: > On 2012/11/19 22:27:57, sail wrote: > > Also, ...
8 years, 1 month ago (2012-11-19 23:18:19 UTC) #12
Scott Hess - ex-Googler
Hmm. I'm going OOT for a week tomorrow, so I don't think I'm going to ...
8 years, 1 month ago (2012-11-19 23:20:35 UTC) #13
Garrett Casto
I've added tests, though the unittest currently fails because all of my attempts to simulate ...
8 years ago (2012-11-27 07:59:49 UTC) #14
sail
https://codereview.chromium.org/11416047/diff/9/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm File chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm (right): https://codereview.chromium.org/11416047/diff/9/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm#newcode74 chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm:74: [[self cell] setUpTrackingAreaInRect:[self bounds] ofView:self]; On 2012/11/27 07:59:49, Garrett ...
8 years ago (2012-11-28 06:47:15 UTC) #15
Scott Hess - ex-Googler
Sorry if this is incoherent. First day back from vacation, and I'm barely managing containment. ...
8 years ago (2012-11-28 20:01:05 UTC) #16
Garrett Casto
https://codereview.chromium.org/11416047/diff/7002/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm File chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm (right): https://codereview.chromium.org/11416047/diff/7002/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm#newcode124 chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm:124: - (void)mouseDown:(NSEvent*)theEvent { On 2012/11/28 20:01:06, shess wrote: > ...
8 years ago (2012-11-30 20:56:26 UTC) #17
Scott Hess - ex-Googler
lgtm https://codereview.chromium.org/11416047/diff/5005/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm File chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm (right): https://codereview.chromium.org/11416047/diff/5005/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm#newcode7 chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm:7: #include "base/sys_string_conversions.h" This should order below base/mac. https://codereview.chromium.org/11416047/diff/5005/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm#newcode9 ...
8 years ago (2012-12-03 21:50:42 UTC) #18
Garrett Casto
+sky for chrome/test/... and chrome/browser/... changes. https://codereview.chromium.org/11416047/diff/5005/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm File chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm (right): https://codereview.chromium.org/11416047/diff/5005/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm#newcode7 chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm:7: #include "base/sys_string_conversions.h" On ...
8 years ago (2012-12-10 18:49:18 UTC) #19
sky
LGTM
8 years ago (2012-12-10 22:12:42 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/11416047/18004
8 years ago (2012-12-10 22:48:53 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/11416047/18004
8 years ago (2012-12-11 01:49:51 UTC) #22
commit-bot: I haz the power
Change committed as 172231
8 years ago (2012-12-11 02:04:12 UTC) #23
Nico
7 years, 9 months ago (2013-03-04 14:11:10 UTC) #24
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/11416047/diff/18004/chrome/browser/ui/...
File chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
(right):

https://chromiumcodereview.appspot.com/11416047/diff/18004/chrome/browser/ui/...
chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm:366:
kTitleHeight)];
This is leaked. Fix at https://codereview.chromium.org/12390058.

Powered by Google App Engine
This is Rietveld 408576698