DescriptionShow sync setup in same tab as sign in instead of active tab.
When the user wanted to "Choose what to sync" in an explicit sign in,
the sync setup page was displayed in the active tab at the end of the
sign in process (except for "Sign in" initiated from the Settings page).
However, the user can change the active tab before that happens.
With this fix, the sync setup page is loaded in the same tab as the
sign in flow. If the sign in tab has been closed, a new tab is created.
The sync setup tab is also activated if it's not already.
TEST=
1. Open Chrome with a clean profile.
2. Sign in from the NTP, hot-dog menu or startup promo. Check "Choose what to sync".
3. After clicking on 'Submit', immediately navigate to some other tab.
Expected result: The sync setup page is loaded in the sign in tab and this tab is activated.
BUG=242428
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216859
Patch Set 1 #Patch Set 2 : Fix comments #Patch Set 3 : Fix style #
Total comments: 5
Patch Set 4 : Rebase #Patch Set 5 : Add web_contents parameter to ShowSyncSettingsPageInWebContents #
Messages
Total messages: 10 (0 generated)
|