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

Issue 155060: This patch changes the behavior of clear search button in cookies_view to wor... (Closed)

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

Description

This patch changes the behavior of clear search button in cookies_view to work as in firefox. When the dialog is launched the clear search button in the old cookie_view the state of this button is enabled, but the text field is empty, so the correct behavior is make the button disabled. Only when the user start typing in the text field, the clear button will be enabled. BUG=None TEST=None

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M chrome/browser/views/options/cookies_view.cc View 1 2 3 5 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tfarina (gmail-do not use)
11 years, 5 months ago (2009-07-03 22:02:51 UTC) #1
tfarina (gmail-do not use)
Hi Glen, Can you review this to me?
11 years, 5 months ago (2009-07-06 14:49:10 UTC) #2
Glen Murphy
LG, one nit/question. http://codereview.chromium.org/155060/diff/1004/3 File chrome/browser/views/options/cookies_view.cc (right): http://codereview.chromium.org/155060/diff/1004/3#newcode53 Line 53: // TableModel methods. Why this ...
11 years, 5 months ago (2009-07-07 23:39:05 UTC) #3
tfarina (gmail-do not use)
These changes I made was to make these comments equals to others comments I saw ...
11 years, 5 months ago (2009-07-07 23:55:55 UTC) #4
tfarina (gmail-do not use)
On 2009/07/07 23:55:55, tfarina wrote: > These changes I made was to make these comments ...
11 years, 5 months ago (2009-07-08 17:27:44 UTC) #5
Glen Murphy
LG, with: http://codereview.chromium.org/155060/diff/6/1007 File chrome/browser/views/options/cookies_view.cc (right): http://codereview.chromium.org/155060/diff/6/1007#newcode786 Line 786: clear_search_button_->SetEnabled(false); super minor nit: can you ...
11 years, 5 months ago (2009-07-08 17:35:53 UTC) #6
tfarina (gmail-do not use)
11 years, 5 months ago (2009-07-08 17:41:01 UTC) #7
http://codereview.chromium.org/155060/diff/6/1007
File chrome/browser/views/options/cookies_view.cc (right):

http://codereview.chromium.org/155060/diff/6/1007#newcode786
Line 786: clear_search_button_->SetEnabled(false);
On 2009/07/08 17:35:53, Glen Murphy wrote:
> super minor nit: can you swap the order of these two lines so the field is
> cleared and then the button is disabled? (I know it makes no practical
> difference)

Done.

Powered by Google App Engine
This is Rietveld 408576698