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

Issue 342833002: [Password Generation] Update Aura UI (Closed)

Created:
6 years, 6 months ago by Garrett Casto
Modified:
6 years, 5 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, benquan, tfarina, Dane Wallinga, dyu1, rouslan+autofillwatch_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, Ilya Sherman, mkwst+watchlist_chromium.org, rolfe
Project:
chromium
Visibility:
Public.

Description

[Password Generation] Update Aura UI See bug for new mocks and screenshots. BUG=318977 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283517

Patch Set 1 : #

Total comments: 30

Patch Set 2 : Comments #

Patch Set 3 : More comments #

Patch Set 4 : UI changes #

Total comments: 11

Patch Set 5 : #

Patch Set 6 : Latest coments #

Total comments: 4

Patch Set 7 : More comments #

Patch Set 8 : Fix images #

Total comments: 4

Patch Set 9 : Mac #

Patch Set 10 : More mac fixes #

Total comments: 6

Patch Set 11 : More comments #

Patch Set 12 : StyledLabel #

Total comments: 2

Patch Set 13 : #

Total comments: 2

Patch Set 14 : #

Total comments: 2

Patch Set 15 : #

Total comments: 13

Patch Set 16 : Mac unittest #

Patch Set 17 : Latest comments #

Total comments: 2

Patch Set 18 : Comments #

Total comments: 8

Patch Set 19 : Coments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -226 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_controller.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +10 lines, -91 lines 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_view.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/popup_controller_common.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/popup_controller_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/ui/autofill/popup_controller_common_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm View 1 2 3 4 5 6 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +1 line, -20 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_base_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 8 chunks +132 lines, -50 lines 0 comments Download
M ui/views/controls/styled_label.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +8 lines, -0 lines 0 comments Download
M ui/views/controls/styled_label.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +14 lines, -4 lines 0 comments Download
M ui/views/controls/styled_label_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
Garrett Casto
oshima - chrome/app/theme/* changes estade - chrome/browser/ui/* changes sky - styled_label changes
6 years, 6 months ago (2014-06-18 22:12:44 UTC) #1
oshima
c/a/theme lgtm
6 years, 6 months ago (2014-06-18 22:24:20 UTC) #2
Evan Stade
https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode186 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:186: int PasswordGenerationPopupControllerImpl::GetDesiredHeight(int width) { size calculations belong in view ...
6 years, 6 months ago (2014-06-19 00:16:36 UTC) #3
Garrett Casto
Adding Rebecca as some of these questions seem to touch on Chrome's design philosophy, which ...
6 years, 6 months ago (2014-06-20 23:47:01 UTC) #4
Evan Stade
https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode186 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:186: int PasswordGenerationPopupControllerImpl::GetDesiredHeight(int width) { On 2014/06/20 23:47:00, Garrett Casto ...
6 years, 6 months ago (2014-06-23 18:20:40 UTC) #5
Garrett Casto
https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode186 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:186: int PasswordGenerationPopupControllerImpl::GetDesiredHeight(int width) { On 2014/06/23 18:20:40, Evan Stade ...
6 years, 6 months ago (2014-06-24 01:15:12 UTC) #6
Evan Stade
https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc File chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc (right): https://codereview.chromium.org/342833002/diff/20001/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc#newcode130 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc:130: const SkColor kPasswordBackground = SkColorSetARGB(0xFF, 0xFB, 0xFB, 0xFB); On ...
6 years, 6 months ago (2014-06-24 21:16:58 UTC) #7
Garrett Casto
For the moment I've hard coded all the text in the password generation bubble as ...
6 years, 6 months ago (2014-06-24 23:51:23 UTC) #8
Garrett Casto
https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode162 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:162: const int minimum_required_width = 350; On 2014/06/24 21:16:58, Evan ...
6 years, 6 months ago (2014-06-24 23:51:30 UTC) #9
Evan Stade
https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode162 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:162: const int minimum_required_width = 350; On 2014/06/24 23:51:30, Garrett ...
6 years, 6 months ago (2014-06-25 00:02:41 UTC) #10
Garrett Casto
+isherman for Cocoa changes. This will just disable the UI in Mac for now until ...
6 years, 6 months ago (2014-06-25 19:38:14 UTC) #11
Ilya Sherman
Cocoa changes LGTM https://codereview.chromium.org/342833002/diff/160001/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/342833002/diff/160001/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm#newcode39 chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm:39: // TODO: Implement this function. nit: ...
6 years, 6 months ago (2014-06-25 19:46:55 UTC) #12
Garrett Casto
https://codereview.chromium.org/342833002/diff/160001/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/342833002/diff/160001/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm#newcode39 chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm:39: // TODO: Implement this function. On 2014/06/25 19:46:55, Ilya ...
6 years, 6 months ago (2014-06-25 20:29:37 UTC) #13
Garrett Casto
Adding Ben, since sky@ is unresponsive over e-mail and IM. Ben, could you take a ...
6 years, 6 months ago (2014-06-25 21:05:47 UTC) #14
Evan Stade
https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode162 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:162: const int minimum_required_width = 350; On 2014/06/25 19:38:14, Garrett ...
6 years, 6 months ago (2014-06-25 21:27:29 UTC) #15
sky
Also, how about test coverage? https://codereview.chromium.org/342833002/diff/200001/ui/views/controls/styled_label.cc File ui/views/controls/styled_label.cc (right): https://codereview.chromium.org/342833002/diff/200001/ui/views/controls/styled_label.cc#newcode322 ui/views/controls/styled_label.cc:322: int StyledLabel::GetLineHeight() { nit: ...
6 years, 6 months ago (2014-06-25 21:53:48 UTC) #16
Garrett Casto
https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode162 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:162: const int minimum_required_width = 350; On 2014/06/25 21:27:29, Evan ...
6 years, 6 months ago (2014-06-25 21:54:55 UTC) #17
Garrett Casto
I added a really simple unittest to make sure that setting line height works, but ...
6 years, 6 months ago (2014-06-25 22:06:44 UTC) #18
Evan Stade
https://codereview.chromium.org/342833002/diff/260001/ui/views/controls/styled_label.cc File ui/views/controls/styled_label.cc (right): https://codereview.chromium.org/342833002/diff/260001/ui/views/controls/styled_label.cc#newcode137 ui/views/controls/styled_label.cc:137: void StyledLabel::SetLineHeight(int line_height) { what happened to making this ...
6 years, 6 months ago (2014-06-25 22:19:27 UTC) #19
Garrett Casto
https://codereview.chromium.org/342833002/diff/260001/ui/views/controls/styled_label.cc File ui/views/controls/styled_label.cc (right): https://codereview.chromium.org/342833002/diff/260001/ui/views/controls/styled_label.cc#newcode137 ui/views/controls/styled_label.cc:137: void StyledLabel::SetLineHeight(int line_height) { On 2014/06/25 22:19:27, Evan Stade ...
6 years, 6 months ago (2014-06-25 23:03:28 UTC) #20
sky
LGTM https://codereview.chromium.org/342833002/diff/280001/ui/views/controls/styled_label.cc File ui/views/controls/styled_label.cc (right): https://codereview.chromium.org/342833002/diff/280001/ui/views/controls/styled_label.cc#newcode138 ui/views/controls/styled_label.cc:138: if (multiplier < 1.0) DCHECK
6 years, 6 months ago (2014-06-25 23:29:09 UTC) #21
Garrett Casto
https://codereview.chromium.org/342833002/diff/280001/ui/views/controls/styled_label.cc File ui/views/controls/styled_label.cc (right): https://codereview.chromium.org/342833002/diff/280001/ui/views/controls/styled_label.cc#newcode138 ui/views/controls/styled_label.cc:138: if (multiplier < 1.0) On 2014/06/25 23:29:09, sky wrote: ...
6 years, 6 months ago (2014-06-25 23:47:25 UTC) #22
Evan Stade
https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc File chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/80001/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc#newcode183 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc:183: popup_bounds_ = controller_common_.GetPopupBounds(popup_height, popup_width); On 2014/06/25 21:54:55, Garrett Casto ...
6 years, 6 months ago (2014-06-26 00:06:04 UTC) #23
Garrett Casto
https://codereview.chromium.org/342833002/diff/290001/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc File chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc (right): https://codereview.chromium.org/342833002/diff/290001/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc#newcode160 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc:160: static_cast<PasswordBox*>(password_view_)->Init( On 2014/06/26 00:06:04, Evan Stade wrote: > nit: ...
6 years, 6 months ago (2014-06-26 01:48:53 UTC) #24
Evan Stade
I just noticed Label has a SetLineHeight (which takes an integer). We should make StyledLabel ...
6 years, 6 months ago (2014-06-26 03:28:08 UTC) #25
Garrett Casto
Terribly sorry for the long delay. Was on vacation and dealing with beta blockers. I ...
6 years, 5 months ago (2014-07-14 06:18:39 UTC) #26
Evan Stade
lgtm https://codereview.chromium.org/342833002/diff/340001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/340001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode607 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:607: int popup_required_width = GetDesiredPopupWidth(); I don't understand what ...
6 years, 5 months ago (2014-07-15 22:46:29 UTC) #27
Garrett Casto
https://codereview.chromium.org/342833002/diff/340001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/342833002/diff/340001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode607 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:607: int popup_required_width = GetDesiredPopupWidth(); On 2014/07/15 22:46:28, Evan Stade ...
6 years, 5 months ago (2014-07-16 07:38:23 UTC) #28
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 5 months ago (2014-07-16 07:38:31 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/342833002/360001
6 years, 5 months ago (2014-07-16 07:40:35 UTC) #30
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 21:37:32 UTC) #31
Message was sent while issue was closed.
Change committed as 283517

Powered by Google App Engine
This is Rietveld 408576698