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

Issue 3058011: Add "pushed" as a state a TextButton can show (alongside "normal" and "hover"... (Closed)

Created:
10 years, 5 months ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add "pushed" as a state a TextButton can show (alongside "normal" and "hover"). BUG=50107 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53847

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -24 lines) Patch
M chrome/browser/autofill/autofill_cc_infobar_win.cc View 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/status/clock_menu_button.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/language_menu_button.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/status/status_area_button.cc View 4 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/browser_action_test_util_views.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/views/wrench_menu.cc View 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/button/text_button.h View 2 3 4 5 chunks +14 lines, -6 lines 1 comment Download
M views/controls/button/text_button.cc View 2 3 4 6 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Peter Kasting
10 years, 5 months ago (2010-07-26 20:45:12 UTC) #1
Peter Kasting
Changing reviewer to Ben since Jay is not here.
10 years, 5 months ago (2010-07-27 18:34:43 UTC) #2
Ben Goodger (Google)
10 years, 5 months ago (2010-07-27 21:20:09 UTC) #3
LGTM

http://codereview.chromium.org/3058011/diff/10003/29008
File views/controls/button/text_button.h (right):

http://codereview.chromium.org/3058011/diff/10003/29008#newcode139
views/controls/button/text_button.h:139: void SetShowMultipleStates(bool
show_multiple_states);
I think this should be SetShowMultipleIconStates to make it clear this is
applying to the button icon.

Also, the comment would then read something like:

// Sets whether or not to show the hot and pushed states of the button icon (if
present) in addition to the normal state. Defaults to true.

Powered by Google App Engine
This is Rietveld 408576698