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

Issue 1413533009: Make the new Gaia password separated signin flow modal. (Closed)

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

Make the new Gaia password separated signin flow modal. BUG=533004 Committed: https://crrev.com/7a71e2529da7d10316cdacbd2c20697594ae2746 Cr-Commit-Position: refs/heads/master@{#362722}

Patch Set 1 #

Patch Set 2 : Properly close the modal window all the time #

Patch Set 3 : Cleanup #

Total comments: 6

Patch Set 4 : Rebase #

Patch Set 5 : Address comments #

Patch Set 6 : Fix build on other platforms #

Patch Set 7 : Fix Mac build #

Total comments: 20

Patch Set 8 : Address feedback #

Patch Set 9 : Use DialogDelegateView #

Total comments: 2

Patch Set 10 : Address feedback #

Total comments: 6

Patch Set 11 : Address feedback and added some comments. #

Total comments: 4

Patch Set 12 : Change the close codepaths #

Patch Set 13 : Cleanup #

Total comments: 2

Patch Set 14 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -63 lines) Patch
M chrome/browser/signin/signin_promo.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_promo.cc View 1 2 3 4 5 6 7 2 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +23 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 20 chunks +43 lines, -58 lines 0 comments Download
A chrome/browser/ui/views/profiles/signin_view_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/profiles/signin_view_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +149 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
anthonyvd
Hi Roger, Can you please take a quick look at this modal-izing of the new ...
5 years, 1 month ago (2015-11-09 21:51:34 UTC) #2
Roger Tawa OOO till Jul 10th
lg, a couple of questions below. https://codereview.chromium.org/1413533009/diff/40001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1413533009/diff/40001/chrome/browser/ui/views/frame/browser_view.cc#newcode2535 chrome/browser/ui/views/frame/browser_view.cc:2535: mode == AVATAR_BUBBLE_MODE_REAUTH)) ...
5 years, 1 month ago (2015-11-11 19:34:30 UTC) #3
anthonyvd
Thanks for looking! I'll make sure it builds on all platforms and that tests pass ...
5 years ago (2015-11-24 16:28:04 UTC) #4
anthonyvd
Hi everyone, can you please take a look at this CL that moves the new ...
5 years ago (2015-11-24 23:18:18 UTC) #6
Robert Sesek
cocoa/ LGTM https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/browser_window.h File chrome/browser/ui/browser_window.h (right): https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/browser_window.h#newcode390 chrome/browser/ui/browser_window.h:390: virtual void ShowModalSigninWindow(AvatarBubbleMode mode) = 0; This ...
5 years ago (2015-11-24 23:27:34 UTC) #7
sky
https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode68 chrome/browser/ui/views/profiles/signin_view_controller.cc:68: return views::DialogDelegate::CreateDialogFrameView(widget); Is there a reason you're not subclassing ...
5 years ago (2015-11-25 00:30:07 UTC) #8
anthonyvd
Thank you very much for your feedback, here's a new patchset that should address those ...
5 years ago (2015-11-25 18:49:31 UTC) #9
Roger Tawa OOO till Jul 10th
c/b/s/ lgtm
5 years ago (2015-11-25 19:04:21 UTC) #10
sky
https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode68 chrome/browser/ui/views/profiles/signin_view_controller.cc:68: return views::DialogDelegate::CreateDialogFrameView(widget); On 2015/11/25 18:49:31, anthonyvd wrote: > On ...
5 years ago (2015-11-25 20:57:17 UTC) #11
anthonyvd
https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/120001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode68 chrome/browser/ui/views/profiles/signin_view_controller.cc:68: return views::DialogDelegate::CreateDialogFrameView(widget); On 2015/11/25 20:57:16, sky wrote: > On ...
5 years ago (2015-11-25 23:05:22 UTC) #12
sky
https://codereview.chromium.org/1413533009/diff/160001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/160001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode38 chrome/browser/ui/views/profiles/signin_view_controller.cc:38: modal_signin_widget_->Close(); Close is not synchronous. DeleteDelegate will be called ...
5 years ago (2015-11-30 16:16:39 UTC) #13
anthonyvd
Thanks for the feedback, here's a new patchset that I think addresses it! https://codereview.chromium.org/1413533009/diff/160001/chrome/browser/ui/views/profiles/signin_view_controller.cc File ...
5 years ago (2015-11-30 21:59:34 UTC) #14
sky
https://codereview.chromium.org/1413533009/diff/180001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/180001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode29 chrome/browser/ui/views/profiles/signin_view_controller.cc:29: class SigninViewControllerImpl { Why do you need this implementation ...
5 years ago (2015-11-30 23:54:23 UTC) #15
anthonyvd
https://codereview.chromium.org/1413533009/diff/180001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/180001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode29 chrome/browser/ui/views/profiles/signin_view_controller.cc:29: class SigninViewControllerImpl { On 2015/11/30 23:54:23, sky wrote: > ...
5 years ago (2015-12-01 16:37:08 UTC) #16
sky
https://codereview.chromium.org/1413533009/diff/200001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/200001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode64 chrome/browser/ui/views/profiles/signin_view_controller.cc:64: signin_view_controller_->RemoveObserver(this); Again, won't this crash if SigninViewController has since ...
5 years ago (2015-12-01 21:12:37 UTC) #17
anthonyvd
Thanks for the advice, the changes discussed in comments are implemented over the 2 latest ...
5 years ago (2015-12-01 22:25:04 UTC) #18
anthonyvd
On 2015/12/01 22:25:04, anthonyvd wrote: > Thanks for the advice, the changes discussed in comments ...
5 years ago (2015-12-01 22:26:20 UTC) #19
sky
LGTM https://codereview.chromium.org/1413533009/diff/240001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/240001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode134 chrome/browser/ui/views/profiles/signin_view_controller.cc:134: modal_signin_delegate_->CloseModalSignin(); null out modal_signin_delegate_ here, or a DCHECK ...
5 years ago (2015-12-01 23:34:52 UTC) #20
anthonyvd
https://codereview.chromium.org/1413533009/diff/240001/chrome/browser/ui/views/profiles/signin_view_controller.cc File chrome/browser/ui/views/profiles/signin_view_controller.cc (right): https://codereview.chromium.org/1413533009/diff/240001/chrome/browser/ui/views/profiles/signin_view_controller.cc#newcode134 chrome/browser/ui/views/profiles/signin_view_controller.cc:134: modal_signin_delegate_->CloseModalSignin(); On 2015/12/01 23:34:52, sky wrote: > null out ...
5 years ago (2015-12-02 15:24:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413533009/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413533009/260001
5 years ago (2015-12-02 15:25:30 UTC) #24
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years ago (2015-12-02 16:06:13 UTC) #25
commit-bot: I haz the power
5 years ago (2015-12-02 16:06:54 UTC) #27
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/7a71e2529da7d10316cdacbd2c20697594ae2746
Cr-Commit-Position: refs/heads/master@{#362722}

Powered by Google App Engine
This is Rietveld 408576698