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

Issue 631163004: Mac - show user manager before opening browser. (Closed)

Created:
6 years, 2 months ago by Mike Lerman
Modified:
6 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Mac - show user manager before opening browser. When no browsers are open and About Chrome, Preferences or the Task Manager are selected from the menu, the guest profile is by default used. If the guest profile preference is disabled, then first show the user manager, then direct to the selected page. This is somewhat of a follow up to: https://codereview.chromium.org/564453003 BUG=412862 Committed: https://crrev.com/e6e040a21c78c9097600312d761c0295fa9312f1 Cr-Commit-Position: refs/heads/master@{#302202}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Use different app_controller_mac method. use different TaskMgr call. #

Total comments: 4

Patch Set 3 : Chrome Memory now forces user manager, not Task Manager #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : noms nit (combine ifs) #

Patch Set 6 : Rebase #

Patch Set 7 : Two tests that, combined, test the About Chrome via User Manager flow #

Total comments: 4

Patch Set 8 : mark's post-test comments #

Total comments: 8

Patch Set 9 : noms nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -15 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 3 4 5 5 chunks +25 lines, -7 lines 0 comments Download
M chrome/browser/app_controller_mac_browsertest.mm View 1 2 3 4 5 6 7 8 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_window.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 1 2 3 4 5 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 3 4 5 4 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/chrome_pages.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (6 generated)
Mike Lerman
Hi reviewers, PTAL! noms - profiles and user_manager_screen_handler mark - app_controller_mac (know things about mac) ...
6 years, 2 months ago (2014-10-07 16:01:52 UTC) #2
sky
I'm not a good owner for mac related files. Can you add per-file owners for ...
6 years, 2 months ago (2014-10-07 16:22:26 UTC) #3
Mark Mentovai
So if you don’t have any windows open, you can’t get Chrome to tell you ...
6 years, 2 months ago (2014-10-07 16:35:27 UTC) #4
Mike Lerman
On 2014/10/07 16:35:27, Mark Mentovai wrote: > So if you don’t have any windows open, ...
6 years, 2 months ago (2014-10-07 16:46:32 UTC) #5
sky
On Tue, Oct 7, 2014 at 9:46 AM, <mlerman@chromium.org> wrote: > On 2014/10/07 16:35:27, Mark ...
6 years, 2 months ago (2014-10-07 17:36:43 UTC) #6
Mike Lerman
Proposal for reviewers: mark@ and thomasvl@, who are the reviewers for chrome/browser/mac. I'll put that ...
6 years, 2 months ago (2014-10-07 17:48:11 UTC) #7
Mark Mentovai
thomasvl hasn’t worked on Chrome in a long time.
6 years, 2 months ago (2014-10-07 17:49:33 UTC) #8
Mark Mentovai
https://codereview.chromium.org/631163004/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://codereview.chromium.org/631163004/diff/1/chrome/browser/app_controller_mac.mm#newcode1109 chrome/browser/app_controller_mac.mm:1109: case IDC_TASK_MANAGER: How does the task manager interact with ...
6 years, 2 months ago (2014-10-07 20:22:57 UTC) #9
noms (inactive)
https://codereview.chromium.org/631163004/diff/1/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/631163004/diff/1/chrome/browser/profiles/profile_window.cc#newcode159 chrome/browser/profiles/profile_window.cc:159: profile_path_to_focus != ProfileManager::GetGuestProfilePath()) { Not sure why this would ...
6 years, 2 months ago (2014-10-07 21:25:48 UTC) #10
Mike Lerman
mark@ and noms@ comments addressed. Sky@, there is now a small change to /ui/views which ...
6 years, 2 months ago (2014-10-08 15:41:37 UTC) #11
sky
chrome/browser/ui/views/profiles/user_manager_view.cc LGTM
6 years, 2 months ago (2014-10-08 16:00:05 UTC) #12
Mark Mentovai
https://codereview.chromium.org/631163004/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://codereview.chromium.org/631163004/diff/1/chrome/browser/app_controller_mac.mm#newcode1109 chrome/browser/app_controller_mac.mm:1109: case IDC_TASK_MANAGER: Mike Lerman wrote: > On 2014/10/07 20:22:57, ...
6 years, 2 months ago (2014-10-08 16:43:22 UTC) #13
Mike Lerman
https://codereview.chromium.org/631163004/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://codereview.chromium.org/631163004/diff/1/chrome/browser/app_controller_mac.mm#newcode1109 chrome/browser/app_controller_mac.mm:1109: case IDC_TASK_MANAGER: On 2014/10/08 16:43:22, Mark Mentovai wrote: > ...
6 years, 2 months ago (2014-10-08 20:23:41 UTC) #14
Mike Lerman
More reviewers please, as this CL grows and takes form. Thanks for your time! +nick ...
6 years, 2 months ago (2014-10-08 20:26:27 UTC) #16
groby-ooo-7-16
c/b/ui/cocoa LGTM
6 years, 2 months ago (2014-10-08 20:27:42 UTC) #17
noms (inactive)
https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc File chrome/browser/task_manager/task_manager.cc (right): https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc#newcode1534 chrome/browser/task_manager/task_manager.cc:1534: if (profile->IsGuestSession()) { Hmmmm so what happens if you ...
6 years, 2 months ago (2014-10-08 21:06:08 UTC) #18
Mike Lerman
https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc File chrome/browser/task_manager/task_manager.cc (right): https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc#newcode1534 chrome/browser/task_manager/task_manager.cc:1534: if (profile->IsGuestSession()) { On 2014/10/08 21:06:08, Monica Dinculescu wrote: ...
6 years, 2 months ago (2014-10-09 14:02:45 UTC) #19
noms (inactive)
profiles lgtm % nit https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc File chrome/browser/task_manager/task_manager.cc (right): https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc#newcode1534 chrome/browser/task_manager/task_manager.cc:1534: if (profile->IsGuestSession()) { On 2014/10/09 ...
6 years, 2 months ago (2014-10-09 16:45:13 UTC) #20
Mike Lerman
https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc File chrome/browser/task_manager/task_manager.cc (right): https://codereview.chromium.org/631163004/diff/40001/chrome/browser/task_manager/task_manager.cc#newcode1534 chrome/browser/task_manager/task_manager.cc:1534: if (profile->IsGuestSession()) { On 2014/10/09 16:45:13, Monica Dinculescu wrote: ...
6 years, 2 months ago (2014-10-09 17:17:20 UTC) #21
Mark Mentovai
LGTM
6 years, 2 months ago (2014-10-09 20:11:02 UTC) #22
ncarter (slow)
lgtm task_manager lgtm
6 years, 2 months ago (2014-10-13 16:57:05 UTC) #23
ncarter (slow)
On 2014/10/13 16:57:05, ncarter wrote: > lgtm > > task_manager lgtm Oh and also: did ...
6 years, 2 months ago (2014-10-13 17:07:00 UTC) #24
Mike Lerman
On 2014/10/13 17:07:00, ncarter wrote: > On 2014/10/13 16:57:05, ncarter wrote: > > lgtm > ...
6 years, 1 month ago (2014-10-30 14:28:58 UTC) #26
Mark Mentovai
LGTM still https://codereview.chromium.org/631163004/diff/190001/chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc File chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc (right): https://codereview.chromium.org/631163004/diff/190001/chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc#newcode3 chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc:3: // found in the LICENSE file. There ...
6 years, 1 month ago (2014-10-30 17:34:28 UTC) #27
Mike Lerman
https://codereview.chromium.org/631163004/diff/190001/chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc File chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc (right): https://codereview.chromium.org/631163004/diff/190001/chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc#newcode3 chrome/browser/ui/webui/signin/user_manager_ui_browsertest.cc:3: // found in the LICENSE file. On 2014/10/30 17:34:27, ...
6 years, 1 month ago (2014-10-30 17:37:25 UTC) #28
noms (inactive)
still lgtm % nits https://codereview.chromium.org/631163004/diff/210001/chrome/browser/app_controller_mac_browsertest.mm File chrome/browser/app_controller_mac_browsertest.mm (right): https://codereview.chromium.org/631163004/diff/210001/chrome/browser/app_controller_mac_browsertest.mm#newcode281 chrome/browser/app_controller_mac_browsertest.mm:281: nit: is there an extra ...
6 years, 1 month ago (2014-10-30 17:45:11 UTC) #29
Mike Lerman
Thanks Monica and Mark! https://codereview.chromium.org/631163004/diff/210001/chrome/browser/app_controller_mac_browsertest.mm File chrome/browser/app_controller_mac_browsertest.mm (right): https://codereview.chromium.org/631163004/diff/210001/chrome/browser/app_controller_mac_browsertest.mm#newcode281 chrome/browser/app_controller_mac_browsertest.mm:281: On 2014/10/30 17:45:11, Monica Dinculescu ...
6 years, 1 month ago (2014-10-30 18:06:02 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/631163004/230001
6 years, 1 month ago (2014-10-30 18:08:14 UTC) #32
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 1 month ago (2014-10-31 00:10:38 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/631163004/230001
6 years, 1 month ago (2014-10-31 00:14:45 UTC) #36
commit-bot: I haz the power
Committed patchset #9 (id:230001)
6 years, 1 month ago (2014-10-31 00:53:29 UTC) #37
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 00:54:01 UTC) #38
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e6e040a21c78c9097600312d761c0295fa9312f1
Cr-Commit-Position: refs/heads/master@{#302202}

Powered by Google App Engine
This is Rietveld 408576698