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

Issue 944563002: Fix fast user switcher appearance when empty. (Closed)

Created:
5 years, 10 months ago by anthonyvd
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove one pixel line in the fast user switcher appearance when there are no profiles to display. BUG=458355 TEST= Make sure the new avatar menu flag is enabled. 1. Open a Chrome instance with 0 or 1 available profiles. 2. Right click on the User Menu button. 3. Nothing should be displayed. 4. Open the User Manager and add some profiles until there are at least 2. 5. Right click on the User Menu button 6. The fast user switcher should display a list of profiles that can be switched to. Committed: https://crrev.com/3803191395efc35ca1dc288e16d47987a2bf4176 Cr-Commit-Position: refs/heads/master@{#318063}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Histograms and cleanup #

Total comments: 3

Patch Set 3 : Revert instrumentation changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
anthonyvd
Hi guys, could you please take a look at this: asvitkine@: chrome/browser/ui/cocoa/* mlerman@: profile_metrics sky@: ...
5 years, 10 months ago (2015-02-19 21:23:49 UTC) #2
sky
LGTM
5 years, 10 months ago (2015-02-19 21:39:57 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/944563002/diff/1/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/944563002/diff/1/chrome/browser/profiles/profile_metrics.h#newcode77 chrome/browser/profiles/profile_metrics.h:77: SWITCH_PROFILE_FAST_SWITCHER, Please update histograms.xml' definition of this enum. https://codereview.chromium.org/944563002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc ...
5 years, 10 months ago (2015-02-19 22:24:28 UTC) #4
Mike Lerman
https://codereview.chromium.org/944563002/diff/1/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/944563002/diff/1/chrome/browser/profiles/profile_metrics.h#newcode76 chrome/browser/profiles/profile_metrics.h:76: // User switches profiles from the Avatar Menu fast ...
5 years, 10 months ago (2015-02-20 14:40:57 UTC) #5
anthonyvd
https://codereview.chromium.org/944563002/diff/1/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/944563002/diff/1/chrome/browser/profiles/profile_metrics.h#newcode76 chrome/browser/profiles/profile_metrics.h:76: // User switches profiles from the Avatar Menu fast ...
5 years, 10 months ago (2015-02-20 15:01:32 UTC) #7
Mike Lerman
https://codereview.chromium.org/944563002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/944563002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode811 chrome/browser/ui/views/profiles/profile_chooser_view.cc:811: ProfileMetrics::SWITCH_PROFILE_FAST_SWITCHER); We can always determine whether someone's in the ...
5 years, 10 months ago (2015-02-20 15:34:00 UTC) #8
anthonyvd
https://codereview.chromium.org/944563002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/944563002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode811 chrome/browser/ui/views/profiles/profile_chooser_view.cc:811: ProfileMetrics::SWITCH_PROFILE_FAST_SWITCHER); On 2015/02/20 15:33:59, Mike Lerman wrote: > We ...
5 years, 10 months ago (2015-02-20 19:06:05 UTC) #9
Mike Lerman
https://codereview.chromium.org/944563002/diff/20001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/944563002/diff/20001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode501 chrome/browser/ui/views/profiles/profile_chooser_view.cc:501: g_browser_process->profile_manager()->GetNumberOfProfiles() <= 1) { On 2015/02/20 19:06:05, anthonyvd wrote: ...
5 years, 10 months ago (2015-02-20 19:17:09 UTC) #10
Alexei Svitkine (slow)
histograms.xml LGTM I'm a little bit sad that we're duplicating profiles logic in two UI ...
5 years, 10 months ago (2015-02-24 16:26:38 UTC) #11
anthonyvd
Reverted the instrumentation changes in light of the discussion with mlerman@
5 years, 10 months ago (2015-02-24 21:15:46 UTC) #12
Mike Lerman
On 2015/02/24 21:15:46, anthonyvd wrote: > Reverted the instrumentation changes in light of the discussion ...
5 years, 10 months ago (2015-02-25 14:42:10 UTC) #13
anthonyvd
On 2015/02/25 14:42:10, Mike Lerman wrote: > On 2015/02/24 21:15:46, anthonyvd wrote: > > Reverted ...
5 years, 10 months ago (2015-02-25 16:02:09 UTC) #14
Mike Lerman
LGTM Thanks!
5 years, 10 months ago (2015-02-25 16:04:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944563002/40001
5 years, 10 months ago (2015-02-25 16:08:57 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-25 17:00:12 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 17:00:53 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3803191395efc35ca1dc288e16d47987a2bf4176
Cr-Commit-Position: refs/heads/master@{#318063}

Powered by Google App Engine
This is Rietveld 408576698