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

Issue 2348423002: [Signin Error Dialog] (3/3) Added the triggering code (Closed)

Created:
4 years, 3 months ago by anthonyvd
Modified:
4 years, 2 months ago
CC:
chromium-reviews, sync-reviews_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Signin Error Dialog] (3/3) Added the triggering code Signin Error Dialog: Part of the desktop user menu revamp project is to migrate signin error surfacing from user menu's tutorial card to a tab modal dialog, and thus completing the flow of signin modal -> sync confirmation modal dialog or signin error modal dialog. Particularly, this CL adds the code for appropriately triggering the dialog. DO NOT LAND until after the first two CLs land ( https://codereview.chromium.org/2274013002/, https://codereview.chromium.org/2275883003/). Design doc: https://docs.google.com/document/d/17yHrKd_EU6WoIAgljnZmNCSJLRlbM3O2Pxr7aPEnqik/edit?ts=57445a70#heading=h.9vm5owqqt3w1 BUG=630523 BUG=615893 Committed: https://crrev.com/0abc347b7f09546244d619b81a5d0f3c55de3fee Cr-Commit-Position: refs/heads/master@{#421220}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Add comment. #

Total comments: 5

Patch Set 4 : Address feedback. #

Patch Set 5 : Fix malformed function declaration on mac. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -32 lines) Patch
M chrome/browser/ui/browser.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.mm View 3 chunks +35 lines, -1 line 0 comments Download
M chrome/browser/ui/signin_view_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/signin_view_controller.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/signin_view_controller_delegate.h View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc View 1 2 3 5 chunks +33 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 4 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_service.h View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_service.cc View 1 1 chunk +13 lines, -7 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
anthonyvd
Hi Tommy, This is part 3 of the work Jane started before her internship finished. ...
4 years, 3 months ago (2016-09-19 19:25:39 UTC) #2
tommycli
lgtm looks good. one nit: https://codereview.chromium.org/2348423002/diff/20001/chrome/browser/ui/webui/signin/login_ui_service.h File chrome/browser/ui/webui/signin/login_ui_service.h (right): https://codereview.chromium.org/2348423002/diff/20001/chrome/browser/ui/webui/signin/login_ui_service.h#newcode83 chrome/browser/ui/webui/signin/login_ui_service.h:83: void DisplayLoginResult(Browser* browser, I ...
4 years, 3 months ago (2016-09-20 17:48:05 UTC) #3
anthonyvd
Hello everyone, can you please take a rogerta@chromium.org: c/b/ui/sync/* rsesek@chromium.org: c/b/ui/cocoa/* sky@chromium.org: c/b/ui/* and c/b/ui/views* ...
4 years, 3 months ago (2016-09-21 15:07:24 UTC) #5
anthonyvd
On 2016/09/21 15:07:24, anthonyvd wrote: > Hello everyone, can you please take a > > ...
4 years, 3 months ago (2016-09-21 15:09:26 UTC) #6
sky
https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/signin_view_controller_delegate.h File chrome/browser/ui/signin_view_controller_delegate.h (right): https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/signin_view_controller_delegate.h#newcode37 chrome/browser/ui/signin_view_controller_delegate.h:37: static SigninViewControllerDelegate* CreateSigninErrorDelegate( Please document lifetime here. https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc File ...
4 years, 3 months ago (2016-09-21 16:14:40 UTC) #7
anthonyvd
https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/signin_view_controller_delegate.h File chrome/browser/ui/signin_view_controller_delegate.h (right): https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/signin_view_controller_delegate.h#newcode37 chrome/browser/ui/signin_view_controller_delegate.h:37: static SigninViewControllerDelegate* CreateSigninErrorDelegate( On 2016/09/21 16:14:39, sky wrote: > ...
4 years, 3 months ago (2016-09-22 16:52:01 UTC) #8
Robert Sesek
cocoa/ LGTM
4 years, 3 months ago (2016-09-22 18:39:50 UTC) #9
sky
https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc File chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc (right): https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc#newcode157 chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc:157: views::WebView* SigninViewControllerDelegateViews::CreateSigninErrorWebView( On 2016/09/22 16:52:01, anthonyvd wrote: > On ...
4 years, 3 months ago (2016-09-22 20:29:35 UTC) #10
anthonyvd
On 2016/09/22 20:29:35, sky wrote: > https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc > File chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc > (right): > > https://codereview.chromium.org/2348423002/diff/40001/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc#newcode157 ...
4 years, 3 months ago (2016-09-23 16:57:56 UTC) #11
sky
LGTM
4 years, 3 months ago (2016-09-23 17:59:57 UTC) #12
Roger Tawa OOO till Jul 10th
lgtm
4 years, 2 months ago (2016-09-26 19:00:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2348423002/60001
4 years, 2 months ago (2016-09-26 19:18:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/274836)
4 years, 2 months ago (2016-09-26 19:59:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2348423002/80001
4 years, 2 months ago (2016-09-27 14:55:23 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-27 15:41:25 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 15:43:21 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0abc347b7f09546244d619b81a5d0f3c55de3fee
Cr-Commit-Position: refs/heads/master@{#421220}

Powered by Google App Engine
This is Rietveld 408576698