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

Issue 243054: Change ConfirmMessageBoxDialog to just be a native view (it was only windows ... (Closed)

Created:
11 years, 2 months ago by tim (not reviewing)
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Change ConfirmMessageBoxDialog to just be a native view (it was only windows before, too, but now at least it doesn't cause zombie processes) with an observer that is notified when the user clicks OK/closes the dialog instead of running a nested message loop and blocking. This fixes bug 20451, where nested message loops were running a confirm dialog and could cause zombie processes at browser shutdown. BUG=20451 TEST=None (manual: verify that the confirmation dialog is shown when you try to remove all passwords, and that no zombie is left behind if the browser is closed while the confirmation dialog is showing) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27961

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 8

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -72 lines) Patch
M chrome/app/resources/locale_settings.grd View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ar.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_bg.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_bn.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ca.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_cs.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_da.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_de.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_el.xtb View 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/app/resources/locale_settings_en-GB.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_es.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_es-419.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_et.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_fi.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_fil.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_fr.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_gu.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_he.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_hi.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_hr.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_hu.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_id.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_it.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ja.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_kn.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ko.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_lt.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_lv.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ml.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_mr.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_nb.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_nl.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_or.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_pl.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_pt-BR.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_pt-PT.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ro.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ru.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_sk.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_sl.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_sr.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_sv.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_ta.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_te.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_th.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_tr.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_uk.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_vi.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_zh-CN.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/resources/locale_settings_zh-TW.xtb View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/views/confirm_message_box_dialog.h View 1 2 3 4 2 chunks +32 lines, -24 lines 0 comments Download
M chrome/browser/views/confirm_message_box_dialog.cc View 1 2 3 2 chunks +44 lines, -37 lines 0 comments Download
M chrome/browser/views/options/passwords_page_view.h View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/views/options/passwords_page_view.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tfarina (gmail-do not use)
http://codereview.chromium.org/243054/diff/1/6 File chrome/browser/views/confirm_message_box_dialog.h (right): http://codereview.chromium.org/243054/diff/1/6#newcode13 Line 13: #include "views/controls/label.h" Tim could you move this to ...
11 years, 2 months ago (2009-10-01 00:53:03 UTC) #1
tim (not reviewing)
On 2009/10/01 00:53:03, tfarina wrote: > http://codereview.chromium.org/243054/diff/1/6 > File chrome/browser/views/confirm_message_box_dialog.h (right): > > http://codereview.chromium.org/243054/diff/1/6#newcode13 > ...
11 years, 2 months ago (2009-10-01 00:56:35 UTC) #2
tfarina (gmail-do not use)
On 2009/10/01 00:56:35, timsteele wrote: > On 2009/10/01 00:53:03, tfarina wrote: > > http://codereview.chromium.org/243054/diff/1/6 > ...
11 years, 2 months ago (2009-10-01 01:19:10 UTC) #3
tim (not reviewing)
I made the pre-review suggestions from Thiago and think this is ready for review now. ...
11 years, 2 months ago (2009-10-01 01:22:01 UTC) #4
Finnur
Who is the "you" here? Not sure why I got added here as an additional ...
11 years, 2 months ago (2009-10-01 22:56:43 UTC) #5
Finnur
Just one question and a few nits. http://codereview.chromium.org/243054/diff/5001/6005 File chrome/browser/views/confirm_message_box_dialog.h (right): http://codereview.chromium.org/243054/diff/5001/6005#newcode30 Line 30: // ...
11 years, 2 months ago (2009-10-02 17:51:28 UTC) #6
tim (not reviewing)
thanks! snapshot up. http://codereview.chromium.org/243054/diff/5001/6005 File chrome/browser/views/confirm_message_box_dialog.h (right): http://codereview.chromium.org/243054/diff/5001/6005#newcode30 Line 30: // The method causes a ...
11 years, 2 months ago (2009-10-02 18:02:34 UTC) #7
Finnur
11 years, 2 months ago (2009-10-02 18:22:58 UTC) #8
LG, one nit.

http://codereview.chromium.org/243054/diff/5002/8034
File chrome/app/resources/locale_settings_el.xtb (right):

http://codereview.chromium.org/243054/diff/5002/8034#newcode62
Line 62: 
Can you remove these redundant line breaks?

Powered by Google App Engine
This is Rietveld 408576698