DescriptionShow non-incognito browser in front of incognito browser when signing in from bookmark bubble.
When sign in is initiated from the bookmark bubble in an incognito
browser, the sign in page is not displayed in the browser provided to
chrome::ShowBrowserSignin() but in a new/existing non-incognito browser.
BookmarkBubbleSignInDelegate was not aware of that and called Show()
on the wrong browser.
This call was unnecessary because chrome::ShowBrowserSignin() already
make it on the right browser. I removed the unnecessary call.
BUG=282305
TEST=
Pre-condition: Make sure you are not signed in to Chrome.
1.Launch Chrome, open 'Incognito window' from hot-dog menu and navigate to www.google.com.
2.Click on bookmark icon(star) in omnibox and click on 'Sign in' link of bookmark dialog box.
Expected result: Sign in page is displayed in a non-incognito browser.
This browser is displayed in front of the incognito browser.
R=rogerta
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221212
Patch Set 1 #Patch Set 2 : Fix comment #
Total comments: 4
Patch Set 3 : Style fixes #Patch Set 4 : Fix type #
Messages
Total messages: 9 (0 generated)
|