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

Issue 323143004: [Mac] Misc fixes for the new avatar bubble (Closed)

Created:
6 years, 6 months ago by noms (inactive)
Modified:
6 years, 6 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews
Visibility:
Public.

Description

[Mac] Misc fixes for the new avatar bubble In this CL: - crbug.com/343688: when editing the profile name but not changing it, the text field would freeze. this is because it would remain enabled, but hidden, and steal the button click (because it used to be a first responder) - add a separator between the "not you" and "lock" bottom option buttons, to match the mocks. I added this as a vertical separator to the BaseBubbleController itself, so that other classes can use it in the future. - center the profile name correctly. Because of the pencil icon, the name would be shifted slightly to the left - the "change photo" overlay should be more opaque - the bubble bottom corners were overlapped by the option buttons, and didn't appear rounded. BUG=343688 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278840

Patch Set 1 #

Total comments: 20

Patch Set 2 : rebase #

Patch Set 3 : fix first responder stuff #

Patch Set 4 : fix custom cell #

Total comments: 4

Patch Set 5 : NSDivideRect is magical #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : unbork rebase and fix unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -95 lines) Patch
M chrome/browser/ui/cocoa/base_bubble_controller.h View 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/base_bubble_controller.mm View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 7 18 chunks +97 lines, -77 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 5 6 7 1 chunk +14 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
noms (inactive)
Welcome back! :) Here's some minor UI fixes that came up from a recent UI ...
6 years, 6 months ago (2014-06-10 18:46:29 UTC) #1
groby-ooo-7-16
https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode335 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:335: // Custom button cell that adds a left padding ...
6 years, 6 months ago (2014-06-10 19:53:23 UTC) #2
noms (inactive)
No code, just questions, answers, and the occasional fist shaking at Cocoa. https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm ...
6 years, 6 months ago (2014-06-11 15:09:00 UTC) #3
groby-ooo-7-16
Some answers, but mostly, questions for your questions ;) https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode335 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:335: ...
6 years, 6 months ago (2014-06-11 18:11:22 UTC) #4
noms (inactive)
Moar answers, but now with diagrams! :) https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode335 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:335: // Custom ...
6 years, 6 months ago (2014-06-11 19:29:58 UTC) #5
groby-ooo-7-16
Gah. Head asplode. I hope this answers your questions. If it doesn't, maybe you should ...
6 years, 6 months ago (2014-06-12 01:48:12 UTC) #6
groby-ooo-7-16
OK, since it's buried in tons of comments, here's the relevant text on controlTextDidEndEditing: And ...
6 years, 6 months ago (2014-06-12 01:49:05 UTC) #7
noms (inactive)
https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/323143004/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode335 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:335: // Custom button cell that adds a left padding ...
6 years, 6 months ago (2014-06-16 19:17:10 UTC) #8
groby-ooo-7-16
lgtm w/ nit https://codereview.chromium.org/323143004/diff/80001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/323143004/diff/80001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode362 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:362: frame.origin.x += leftMarginSpacing_; nit: Might want ...
6 years, 6 months ago (2014-06-16 20:49:38 UTC) #9
noms (inactive)
Thanks for putting up with this review! I will try to not repeat this experience ...
6 years, 6 months ago (2014-06-17 14:11:19 UTC) #10
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-17 14:11:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/100001
6 years, 6 months ago (2014-06-17 14:12:25 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 16:46:47 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18117)
6 years, 6 months ago (2014-06-17 16:46:48 UTC) #14
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-17 16:48:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/100001
6 years, 6 months ago (2014-06-17 16:50:24 UTC) #16
groby-ooo-7-16
On 2014/06/17 14:11:19, Monica Dinculescu wrote: > Thanks for putting up with this review! I ...
6 years, 6 months ago (2014-06-17 18:24:34 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 19:35:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18117)
6 years, 6 months ago (2014-06-17 19:35:48 UTC) #19
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-18 13:58:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/100001
6 years, 6 months ago (2014-06-18 13:59:22 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 16:59:28 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18117)
6 years, 6 months ago (2014-06-18 16:59:28 UTC) #23
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-18 17:56:44 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/100001
6 years, 6 months ago (2014-06-18 17:58:09 UTC) #25
groby-ooo-7-16
If this keeps failing on the win builders: As long as the mac builders pass, ...
6 years, 6 months ago (2014-06-18 18:01:22 UTC) #26
groby-ooo-7-16
NM. The build log finally opened, and it's a patch failure. I don't know why ...
6 years, 6 months ago (2014-06-18 18:02:30 UTC) #27
noms (inactive)
I think the bot is sick: crbug.com/383353. On 2014/06/18 18:02:30, groby wrote: > NM. The ...
6 years, 6 months ago (2014-06-18 18:04:19 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 23:28:54 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18117)
6 years, 6 months ago (2014-06-18 23:28:55 UTC) #30
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-19 13:46:13 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/100001
6 years, 6 months ago (2014-06-19 13:47:40 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 16:56:00 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/41182)
6 years, 6 months ago (2014-06-19 16:56:01 UTC) #34
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-19 17:14:26 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/120001
6 years, 6 months ago (2014-06-19 17:16:33 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 22:18:23 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/19171)
6 years, 6 months ago (2014-06-19 22:18:24 UTC) #38
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-20 13:56:28 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/140001
6 years, 6 months ago (2014-06-20 13:58:57 UTC) #40
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 17:17:40 UTC) #41
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-20 17:48:36 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/323143004/160001
6 years, 6 months ago (2014-06-20 17:50:08 UTC) #43
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 22:36:19 UTC) #44
Message was sent while issue was closed.
Change committed as 278840

Powered by Google App Engine
This is Rietveld 408576698