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

Issue 9193004: Fix flashing window when deleting profile (Closed)

Created:
8 years, 11 months ago by sail
Modified:
8 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix flashing window when deleting profile Deleting a profile with the sync promo open would cause the delete profile's browser window to temporarily re-open. The problem was that the sync promo was attempting to navigate to a page when the promo was closed. Fix was to disable the navigation if the browser window was being closed. BUG=108801 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118710

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed review comment #

Patch Set 3 : updated sync_promo_handler2.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -9 lines) Patch
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc View 1 1 chunk +12 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler2.cc View 1 2 1 chunk +11 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sail
rsesek, sky: could you please take a look. My solution isn't very good. If you ...
8 years, 11 months ago (2012-01-23 05:12:43 UTC) #1
sky
'attemptingToClose' can be set in various places so I don't think it's wise to make ...
8 years, 11 months ago (2012-01-23 16:09:54 UTC) #2
sail
https://chromiumcodereview.appspot.com/9193004/diff/1/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc File chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc (right): https://chromiumcodereview.appspot.com/9193004/diff/1/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc#newcode204 chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc:204: BrowserList::FindBrowserWithWebContents(web_ui()->GetWebContents()); On 2012/01/23 16:09:54, sky wrote: > Add a ...
8 years, 11 months ago (2012-01-23 17:06:56 UTC) #3
sky
LGTM
8 years, 11 months ago (2012-01-23 17:27:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/9193004/6003
8 years, 11 months ago (2012-01-23 17:34:21 UTC) #5
commit-bot: I haz the power
Presubmit check for 9193004-6003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-23 17:34:25 UTC) #6
sail
jhawkins: Do I need to make this change to sync_promo_handler2.cc as well?
8 years, 11 months ago (2012-01-23 17:35:25 UTC) #7
James Hawkins
Yes, though this mess will be cleaned up shortly.
8 years, 11 months ago (2012-01-23 17:37:41 UTC) #8
sail
On 2012/01/23 17:37:41, James Hawkins wrote: > Yes, though this mess will be cleaned up ...
8 years, 11 months ago (2012-01-23 17:46:46 UTC) #9
James Hawkins
lgtm
8 years, 11 months ago (2012-01-23 17:48:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/9193004/3
8 years, 11 months ago (2012-01-23 17:50:16 UTC) #11
commit-bot: I haz the power
8 years, 11 months ago (2012-01-23 19:10:42 UTC) #12
Change committed as 118710

Powered by Google App Engine
This is Rietveld 408576698