Show 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 Review URL: https://chromiumcodereview.appspot.com/23726016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221212 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment