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

Issue 23726016: Show non-incognito browser in front of incognito browser when signing in from bookmark bubble. (Closed)

Created:
7 years, 3 months ago by fdoray
Modified:
7 years, 3 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

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 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -5 lines) Patch
M chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc View 1 2 3 3 chunks +83 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
fdoray
Could you review this CL? Thanks.
7 years, 3 months ago (2013-08-31 00:31:54 UTC) #1
tfarina
https://codereview.chromium.org/23726016/diff/3001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc (right): https://codereview.chromium.org/23726016/diff/3001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc#newcode27 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc:27: virtual void Show() OVERRIDE { can this be in ...
7 years, 3 months ago (2013-08-31 01:32:05 UTC) #2
fdoray
+sky@: Owner Could you review the CL? Thanks. https://codereview.chromium.org/23726016/diff/3001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc (right): https://codereview.chromium.org/23726016/diff/3001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc#newcode27 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc:27: virtual ...
7 years, 3 months ago (2013-09-03 01:38:56 UTC) #3
Roger Tawa OOO till Jul 10th
lgtm
7 years, 3 months ago (2013-09-03 15:19:20 UTC) #4
sky
LGTM
7 years, 3 months ago (2013-09-03 16:23:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fdoray@chromium.org/23726016/9001
7 years, 3 months ago (2013-09-03 23:13:37 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-04 00:00:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fdoray@chromium.org/23726016/13001
7 years, 3 months ago (2013-09-04 01:21:03 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 17:07:28 UTC) #9
Message was sent while issue was closed.
Change committed as 221212

Powered by Google App Engine
This is Rietveld 408576698