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

Issue 12539002: Hide the add new profile link for managed users. (Closed)

Created:
7 years, 9 months ago by Adrian Kuegel
Modified:
7 years, 8 months ago
Reviewers:
Bernhard Bauer, sail
CC:
chromium-reviews, sail+watch_chromium.org
Visibility:
Public.

Description

Hide the add new profile link for managed users. Do not show the add new profile link if ShowAddNewProfileLink returns false. Screenshot for a managed user: https://docs.google.com/a/google.com/file/d/0BzMCIwDgeNezRG9ZLVVucW9MSDQ/edit?usp=sharing Screenshot for a normal user: https://docs.google.com/a/google.com/file/d/0BzMCIwDgeNezZDRWdlFxUzNJOTA/edit?usp=sharing BUG=228736 TEST=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194872

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove some vertical space when add profile link is hidden. #

Total comments: 5

Patch Set 3 : Change space at the bottom of the menu to 7 pixels. #

Patch Set 4 : Fix problem with unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -16 lines) Patch
M chrome/browser/profiles/avatar_menu_model.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm View 1 2 3 1 chunk +15 lines, -11 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Adrian Kuegel
Bernhard, can you please take a look at my change and possibly try it out?
7 years, 9 months ago (2013-03-06 14:13:26 UTC) #1
sail
This needs screenshots and tests.
7 years, 9 months ago (2013-03-06 14:42:48 UTC) #2
Adrian Kuegel
@sail: This was not intended for a real review yet. I have no mac machine, ...
7 years, 9 months ago (2013-03-06 15:06:36 UTC) #3
sail
On 2013/03/06 15:06:36, Adrian Kuegel wrote: > @sail: This was not intended for a real ...
7 years, 9 months ago (2013-03-06 15:39:19 UTC) #4
Bernhard Bauer
Screenshots uploaded at http://www.dropmocks.com/mBpogq. https://codereview.chromium.org/12539002/diff/1/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm File chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm (right): https://codereview.chromium.org/12539002/diff/1/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm#newcode130 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm:130: CGFloat yOffset = kLinkSpacing; If ...
7 years, 9 months ago (2013-03-06 15:45:21 UTC) #5
Adrian Kuegel
@Bernhard: Maybe my new patch fixed it, but I am not sure. Could you please ...
7 years, 9 months ago (2013-03-06 16:32:56 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/12539002/diff/5001/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm File chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm (right): https://codereview.chromium.org/12539002/diff/5001/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm#newcode144 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm:144: } else If one branch has braces, the other ...
7 years, 9 months ago (2013-03-07 09:34:52 UTC) #7
Adrian Kuegel
https://codereview.chromium.org/12539002/diff/5001/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm File chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm (right): https://codereview.chromium.org/12539002/diff/5001/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm#newcode144 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm:144: } else On 2013/03/07 09:34:52, Bernhard Bauer wrote: > ...
7 years, 9 months ago (2013-03-07 09:45:46 UTC) #8
Bernhard Bauer
Sorry this got left behind. Feel free to ping me if I don't respond to ...
7 years, 8 months ago (2013-04-09 11:41:59 UTC) #9
Adrian Kuegel
On 2013/04/09 11:41:59, Bernhard Bauer wrote: > Sorry this got left behind. Feel free to ...
7 years, 8 months ago (2013-04-09 13:19:07 UTC) #10
Bernhard Bauer
On 2013/04/09 13:19:07, Adrian Kuegel wrote: > On 2013/04/09 11:41:59, Bernhard Bauer wrote: > > ...
7 years, 8 months ago (2013-04-09 17:54:56 UTC) #11
Adrian Kuegel
@Sail: can you please review this changelist? I currently use 7 pixels whitespace below the ...
7 years, 8 months ago (2013-04-10 13:25:05 UTC) #12
sail
lgtm
7 years, 8 months ago (2013-04-10 17:01:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akuegel@chromium.org/12539002/10001
7 years, 8 months ago (2013-04-10 18:04:09 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=116935
7 years, 8 months ago (2013-04-10 19:38:35 UTC) #15
Adrian Kuegel
@Sail: could you please take another look? I had to change the ShouldShowAddNewProfile method because ...
7 years, 8 months ago (2013-04-11 11:56:42 UTC) #16
Adrian Kuegel
@Sail: is it ok for you if I land this with the small change in ...
7 years, 8 months ago (2013-04-16 14:09:48 UTC) #17
sail
On 2013/04/16 14:09:48, Adrian Kuegel wrote: > @Sail: is it ok for you if I ...
7 years, 8 months ago (2013-04-16 16:32:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akuegel@chromium.org/12539002/35001
7 years, 8 months ago (2013-04-18 07:40:53 UTC) #19
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 10:12:22 UTC) #20
Message was sent while issue was closed.
Change committed as 194872

Powered by Google App Engine
This is Rietveld 408576698