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

Issue 3389033: Fix the issue in 'Clear browsing data' dialog with Cancel vs Close button. (Closed)

Created:
10 years, 3 months ago by tfarina
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Base URL:
git://git.chromium.org/chromium.git
Visibility:
Public.

Description

Fix the issue in 'Clear browsing data' dialog with Cancel vs Close button. We should *only* save the state of the checkboxes when the user click on the button to clear the data, otherwise we shouldn't change the preferences of the checkboxes. Along the way, rename the button from 'Close' to 'Cancel'. BUG=35098 TEST=open the dialog, see the current state of the checkboxes, click 'Cancel'. reopen the dialog, the state should be the same. Now uncheck some checkbox, click 'Cancel', reopen the dialog the unchecked checkbox should be checked. Open the dialog again, uncheck a checkbox and click 'Clear browsing data', reopen the dialog, that checkbox should be *unchecked*. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60755

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 8

Patch Set 3 : fix Peter nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -53 lines) Patch
M chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc View 1 2 3 chunks +19 lines, -25 lines 0 comments Download
M chrome/browser/views/clear_browsing_data.cc View 1 2 3 chunks +19 lines, -28 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tfarina
10 years, 3 months ago (2010-09-26 02:23:01 UTC) #1
Evan Martin
LGTM http://codereview.chromium.org/3389033/diff/5001/6001 File chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc (right): http://codereview.chromium.org/3389033/diff/5001/6001#newcode48 chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc:48: GtkWidget* close_button = gtk_dialog_add_button(GTK_DIALOG(dialog_), maybe rename this variable ...
10 years, 3 months ago (2010-09-26 05:19:03 UTC) #2
tfarina
http://codereview.chromium.org/3389033/diff/5001/6001 File chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc (right): http://codereview.chromium.org/3389033/diff/5001/6001#newcode48 chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc:48: GtkWidget* close_button = gtk_dialog_add_button(GTK_DIALOG(dialog_), On 2010/09/26 05:19:03, Evan Martin ...
10 years, 3 months ago (2010-09-26 06:59:02 UTC) #3
Peter Kasting
LGTM http://codereview.chromium.org/3389033/diff/10001/11001 File chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc (right): http://codereview.chromium.org/3389033/diff/10001/11001#newcode48 chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc:48: GtkWidget* cancel_button = gtk_dialog_add_button(GTK_DIALOG(dialog_), Nit: The old wrapping ...
10 years, 2 months ago (2010-09-27 17:02:52 UTC) #4
tfarina
http://codereview.chromium.org/3389033/diff/10001/11001 File chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc (right): http://codereview.chromium.org/3389033/diff/10001/11001#newcode48 chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc:48: GtkWidget* cancel_button = gtk_dialog_add_button(GTK_DIALOG(dialog_), On 2010/09/27 17:02:53, Peter Kasting ...
10 years, 2 months ago (2010-09-28 02:53:26 UTC) #5
twittermoo_googlemail.com
> We should *only* save the state of the > checkboxes when the user click ...
10 years, 2 months ago (2010-10-09 02:08:27 UTC) #6
tfarina
On 2010/10/09 02:08:27, twittermoo wrote: > > We should *only* save the state of the ...
10 years, 2 months ago (2010-10-09 02:11:40 UTC) #7
tfarina
On Fri, Oct 8, 2010 at 11:37 PM, Mixesoft <omnisat.support@gmail.com> wrote: > Hello, > >> ...
10 years, 2 months ago (2010-10-09 02:43:34 UTC) #8
Peter Kasting
Please do not harass Thiago for implementing the design we specified on bug 35098 comment ...
10 years, 2 months ago (2010-10-09 03:27:16 UTC) #9
tfarina
On Sat, Oct 9, 2010 at 12:27 AM, <pkasting@chromium.org> wrote: > You can file bugs ...
10 years, 2 months ago (2010-10-09 03:29:31 UTC) #10
twittermoo_googlemail.com
10 years, 2 months ago (2010-10-09 03:32:20 UTC) #11
Fix the issue in 'Clear browsing data' dialog when user click [x] - Close button
or press ALT+F4:
http://code.google.com/p/chromium/issues/detail?id=58592

Powered by Google App Engine
This is Rietveld 408576698