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

Issue 155291: Adding a message box to confirm if the user really wants to delete all stored... (Closed)

Created:
11 years, 5 months ago by tfarina (gmail-do not use)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google), glen
Visibility:
Public.

Description

Adding a message box to confirm if the user really wants to delete all stored passwords. BUG=11401 TEST=Click on Remove all

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 10

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 9

Patch Set 7 : '' #

Total comments: 3

Patch Set 8 : '' #

Total comments: 8

Patch Set 9 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -1 line) Patch
M chrome/app/generated_resources.grd View 2 3 4 5 6 7 3 chunks +17 lines, -0 lines 0 comments Download
A chrome/browser/views/confirm_message_box_dialog.h View 4 5 6 7 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/views/confirm_message_box_dialog.cc View 4 5 6 7 8 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/browser/views/options/passwords_page_view.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -1 line 1 comment Download

Messages

Total messages: 30 (0 generated)
tfarina (gmail-do not use)
Tim, You could review this to me? Thanks!
11 years, 5 months ago (2009-07-09 15:06:04 UTC) #1
blackboxxx
The message text should be translatable, it's not good to have it hard coded.
11 years, 5 months ago (2009-07-09 15:18:39 UTC) #2
tfarina (gmail-do not use)
I know. I sent a message to Tim asking what would be the best place ...
11 years, 5 months ago (2009-07-09 15:21:24 UTC) #3
tfarina (gmail-do not use)
On 2009/07/09 15:21:24, tfarina wrote: > I know. I sent a message to Tim asking ...
11 years, 5 months ago (2009-07-09 15:45:11 UTC) #4
blackboxxx
On 2009/07/09 15:45:11, tfarina wrote: > What you think blackboxxx? Do you know where is ...
11 years, 5 months ago (2009-07-09 16:28:42 UTC) #5
tfarina (gmail-do not use)
Yes, thanks blackboxxx, I had not read the comments in top of the files. So ...
11 years, 5 months ago (2009-07-09 16:32:32 UTC) #6
tfarina (gmail-do not use)
On 2009/07/09 16:32:32, tfarina wrote: > Yes, thanks blackboxxx, I had not read the comments ...
11 years, 5 months ago (2009-07-09 17:18:18 UTC) #7
tfarina (gmail-do not use)
11 years, 5 months ago (2009-07-09 17:18:30 UTC) #8
blackboxxx
Thanks for the patch!
11 years, 5 months ago (2009-07-09 17:44:36 UTC) #9
tim (not reviewing)
Thanks very much for working on this! I definitely agree some sort of "are you ...
11 years, 5 months ago (2009-07-09 19:25:13 UTC) #10
Glen Murphy
Feature is fine to do, however: http://codereview.chromium.org/155291/diff/6/8 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/155291/diff/6/8#newcode2165 Line 2165: <message name="IDS_PASSWORDS_PAGE_VIEW_TEXT_DELETE_ALL_PASSWORDS" ...
11 years, 5 months ago (2009-07-09 19:30:30 UTC) #11
Peter Kasting
On Thu, Jul 9, 2009 at 12:30 PM, <glen@chromium.org> wrote: > http://codereview.chromium.org/155291/diff/6/7#newcode227 > Line 227: ...
11 years, 5 months ago (2009-07-09 19:32:47 UTC) #12
tim (not reviewing)
On 2009/07/09 19:32:47, pkasting wrote: > On Thu, Jul 9, 2009 at 12:30 PM, <glen@chromium.org> ...
11 years, 5 months ago (2009-07-09 19:38:19 UTC) #13
tim (not reviewing)
On 2009/07/09 19:38:19, timsteele wrote: > On 2009/07/09 19:32:47, pkasting wrote: > > On Thu, ...
11 years, 5 months ago (2009-07-09 19:39:44 UTC) #14
Alpha Left Google
On 2009/07/09 19:39:44, timsteele wrote: > On 2009/07/09 19:38:19, timsteele wrote: > > On 2009/07/09 ...
11 years, 5 months ago (2009-07-09 22:03:18 UTC) #15
tfarina (gmail-do not use)
On 2009/07/09 22:03:18, Alpha wrote: > On 2009/07/09 19:39:44, timsteele wrote: > > On 2009/07/09 ...
11 years, 5 months ago (2009-07-09 23:16:33 UTC) #16
tim (not reviewing)
I think what I like best would be to have a DialogDelegate based ConfirmDialog type ...
11 years, 5 months ago (2009-07-09 23:27:42 UTC) #17
tfarina (gmail-do not use)
This early patchs are provisional, I will be busy today, I will be back later ...
11 years, 5 months ago (2009-07-10 16:31:44 UTC) #18
Alpha Left Google
Some style nits and the biggest issue is that ConfirmMessageBoxDialog doesn't return a result.. It ...
11 years, 5 months ago (2009-07-11 01:05:50 UTC) #19
tfarina (gmail-do not use)
On 2009/07/11 01:05:50, Alpha wrote: > Some style nits and the biggest issue is that ...
11 years, 5 months ago (2009-07-11 04:14:24 UTC) #20
tfarina (gmail-do not use)
I made some changes on ConfirmMessageBoxDialog. Now you call the static method (RunConfirmMessageBoxDialog), and it ...
11 years, 5 months ago (2009-07-12 21:52:48 UTC) #21
tfarina (gmail-do not use)
I changed the parameter from HWND to gfx::NativeWindow to make it compatible with all platforms.
11 years, 5 months ago (2009-07-13 07:02:22 UTC) #22
tim (not reviewing)
Looking nice! http://codereview.chromium.org/155291/diff/1025/32 File chrome/browser/views/confirm_message_box_dialog.cc (right): http://codereview.chromium.org/155291/diff/1025/32#newcode20 Line 20: message_text, window_title); nit- indent 4 spaces ...
11 years, 5 months ago (2009-07-13 07:22:21 UTC) #23
tfarina (gmail-do not use)
11 years, 5 months ago (2009-07-13 16:31:56 UTC) #24
Alpha Left Google
LGTM with just one nit, please check with tim commit. :)
11 years, 5 months ago (2009-07-14 02:57:41 UTC) #25
tim (not reviewing)
LGTM with nits http://codereview.chromium.org/155291/diff/40/43 File chrome/browser/views/confirm_message_box_dialog.cc (right): http://codereview.chromium.org/155291/diff/40/43#newcode28 Line 28: : message_text_(message_text), two less spaces ...
11 years, 5 months ago (2009-07-14 17:31:06 UTC) #26
tfarina (gmail-do not use)
http://codereview.chromium.org/155291/diff/40/43 File chrome/browser/views/confirm_message_box_dialog.cc (right): http://codereview.chromium.org/155291/diff/40/43#newcode28 Line 28: : message_text_(message_text), On 2009/07/14 17:31:06, timsteele wrote: > ...
11 years, 5 months ago (2009-07-14 17:47:14 UTC) #27
Alpha Left Google
http://codereview.chromium.org/155291/diff/40/41 File chrome/browser/views/options/passwords_page_view.cc (right): http://codereview.chromium.org/155291/diff/40/41#newcode218 Line 218: GetWindow()->GetNativeWindow(), nit: indent by 4 spcaes http://codereview.chromium.org/155291/diff/40/41#newcode218 Line ...
11 years, 5 months ago (2009-07-14 17:49:00 UTC) #28
tfarina (gmail-do not use)
11 years, 5 months ago (2009-07-14 18:14:53 UTC) #29
tim (not reviewing)
11 years, 5 months ago (2009-07-14 18:34:52 UTC) #30
http://codereview.chromium.org/155291/diff/51/1042
File chrome/browser/views/options/passwords_page_view.cc (right):

http://codereview.chromium.org/155291/diff/51/1042#newcode218
Line 218: GetWindow()->GetNativeWindow(),
I guess I should have pointed out that the 4 spaces are from the start of the
previous line. So

bool accepted = ConfirmMessageBoxDialog::Run(
    GetWindow()->GetNativeWindow(),

Powered by Google App Engine
This is Rietveld 408576698