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

Issue 1261433013: Implement online reauth UI for Locked Profiles on Mac (Closed)

Created:
5 years, 4 months ago by anthonyvd
Modified:
5 years, 4 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

Implement online reauth UI for Locked Profiles on Mac This CL implements the Mac UI for online reauth on Mac to match the flow already implemented on other desktop platforms. BUG=472596 TEST= 1. Create a supervised user 2. In a regular profile, click on the Avatar button 3. Click on "Exit and Childlock" 4. Select the locked profile and enter the wrong password 5. A window should open allowing online reauth Committed: https://crrev.com/b857f9db847bf0e56eefbf00869bfb98ceb61d2a Cr-Commit-Position: refs/heads/master@{#343110}

Patch Set 1 #

Patch Set 2 : Fix Linux/Windows build #

Patch Set 3 : Fix views code #

Total comments: 6

Patch Set 4 : Address review feedback #

Total comments: 20

Patch Set 5 : Address review feedback #

Patch Set 6 : Address feedback #

Patch Set 7 : Use ConstrainedWindow. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -55 lines) Patch
M chrome/browser/ui/cocoa/profiles/user_manager_mac.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 4 5 6 9 chunks +202 lines, -3 lines 2 comments Download
M chrome/browser/ui/user_manager.h View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/ui/user_manager.cc View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 4 4 chunks +14 lines, -52 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (8 generated)
anthonyvd
Hi Roger, can you please take a look at this CL before I add more ...
5 years, 4 months ago (2015-08-04 17:48:50 UTC) #2
Roger Tawa OOO till Jul 10th
Thanks for handling the mac implementation Anthony. Some comments below. https://codereview.chromium.org/1261433013/diff/40001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/1261433013/diff/40001/chrome/browser/profiles/profile_window.cc#newcode265 ...
5 years, 4 months ago (2015-08-05 13:36:05 UTC) #3
anthonyvd
https://codereview.chromium.org/1261433013/diff/40001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/1261433013/diff/40001/chrome/browser/profiles/profile_window.cc#newcode265 chrome/browser/profiles/profile_window.cc:265: GURL url = web_contents_->GetURL(); On 2015/08/05 13:36:05, Roger Tawa ...
5 years, 4 months ago (2015-08-05 18:20:44 UTC) #4
anthonyvd
Hello everyone! This CL implements the mac UI for the work rogerta@ has done in ...
5 years, 4 months ago (2015-08-05 20:03:14 UTC) #6
Mike Lerman
The code you wrote in profile_window looks good, although it has nothing to do with ...
5 years, 4 months ago (2015-08-05 20:12:23 UTC) #7
groby-ooo-7-16
https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.h File chrome/browser/ui/cocoa/profiles/user_manager_mac.h (right): https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.h#newcode60 chrome/browser/ui/cocoa/profiles/user_manager_mac.h:60: base::scoped_nsobject<ReauthDialogWindowController> reauthWindow_; reauth_window_, please (Yes, the style interesection of ...
5 years, 4 months ago (2015-08-05 21:16:39 UTC) #8
Roger Tawa OOO till Jul 10th
lgtm Thanks Anthony.
5 years, 4 months ago (2015-08-06 13:20:01 UTC) #9
sky
LGTM
5 years, 4 months ago (2015-08-06 18:03:43 UTC) #10
anthonyvd
Thanks for your time everyone. Most feedback is addressed with the 2 latest patchsets, except ...
5 years, 4 months ago (2015-08-06 19:08:04 UTC) #11
Mike Lerman
lgtm - you may want sky@ to take another look at what you moved into ...
5 years, 4 months ago (2015-08-06 19:24:26 UTC) #12
groby-ooo-7-16
https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode163 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:163: modalSession_ = [NSApp beginModalSessionForWindow:[self window]]; On 2015/08/06 19:08:04, anthonyvd ...
5 years, 4 months ago (2015-08-06 19:49:25 UTC) #13
anthonyvd
https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode163 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:163: modalSession_ = [NSApp beginModalSessionForWindow:[self window]]; On 2015/08/06 19:49:25, groby ...
5 years, 4 months ago (2015-08-06 20:07:19 UTC) #14
groby-ooo-7-16
On 2015/08/06 20:07:19, anthonyvd wrote: > https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm > File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): > > https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode163 > ...
5 years, 4 months ago (2015-08-06 20:27:27 UTC) #15
anthonyvd
On 2015/08/06 20:27:27, groby wrote: > On 2015/08/06 20:07:19, anthonyvd wrote: > > > https://codereview.chromium.org/1261433013/diff/60001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm ...
5 years, 4 months ago (2015-08-07 14:27:30 UTC) #16
groby-ooo-7-16
On 2015/08/07 14:27:30, anthonyvd wrote: > On 2015/08/06 20:27:27, groby wrote: > > On 2015/08/06 ...
5 years, 4 months ago (2015-08-07 17:25:45 UTC) #17
anthonyvd
On 2015/08/07 17:25:45, groby wrote: > On 2015/08/07 14:27:30, anthonyvd wrote: > > On 2015/08/06 ...
5 years, 4 months ago (2015-08-11 19:27:38 UTC) #20
sky
LGTM
5 years, 4 months ago (2015-08-11 19:51:48 UTC) #21
groby-ooo-7-16
https://codereview.chromium.org/1261433013/diff/160001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/1261433013/diff/160001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode355 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:355: web_modal::WebContentsModalDialogManager::CreateForWebContents( I think I've explained things badly :( AIUI, ...
5 years, 4 months ago (2015-08-11 21:24:51 UTC) #22
anthonyvd
https://codereview.chromium.org/1261433013/diff/160001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): https://codereview.chromium.org/1261433013/diff/160001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode355 chrome/browser/ui/cocoa/profiles/user_manager_mac.mm:355: web_modal::WebContentsModalDialogManager::CreateForWebContents( On 2015/08/11 21:24:50, groby wrote: > I think ...
5 years, 4 months ago (2015-08-11 21:37:29 UTC) #23
groby-ooo-7-16
On 2015/08/11 21:37:29, anthonyvd wrote: > https://codereview.chromium.org/1261433013/diff/160001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm > File chrome/browser/ui/cocoa/profiles/user_manager_mac.mm (right): > > https://codereview.chromium.org/1261433013/diff/160001/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm#newcode355 > ...
5 years, 4 months ago (2015-08-12 19:10:58 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1261433013/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1261433013/160001
5 years, 4 months ago (2015-08-12 20:29:42 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-12 21:39:05 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1261433013/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1261433013/160001
5 years, 4 months ago (2015-08-12 22:17:10 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:160001)
5 years, 4 months ago (2015-08-12 22:22:04 UTC) #32
commit-bot: I haz the power
5 years, 4 months ago (2015-08-12 22:22:49 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b857f9db847bf0e56eefbf00869bfb98ceb61d2a
Cr-Commit-Position: refs/heads/master@{#343110}

Powered by Google App Engine
This is Rietveld 408576698