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

Issue 194037: Fix hottracking on button views... (Closed)

Created:
11 years, 3 months ago by Mohamed Mansour
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Fix hottracking on button views.The hottracking on the toolbar was broken, the expected behavoir is when focus is set to the toolbar (by hitting SHIFT+ALT+T) and toolbar buttons are traversed by right/left arrow keys, a bevel should appear on the button (HOT Image). This patch fixes the initial hottracking issue where the first item is not hottracked. BUG=10942 TEST=ALT+SHIFT+T and traverse with arrow keys, observe hot tracking. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27145

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M chrome/browser/views/toolbar_view.cc View 3 1 chunk +0 lines, -4 lines 0 comments Download
M views/controls/button/custom_button.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M views/controls/button/custom_button.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mohamed Mansour
Please review, Ben and Scott are familiar with the Views code. Simple change that allows ...
11 years, 3 months ago (2009-09-07 03:24:35 UTC) #1
Peter Kasting
http://codereview.chromium.org/194037/diff/1/2 File views/controls/button/custom_button.cc (right): http://codereview.chromium.org/194037/diff/1/2#newcode223 Line 223: if (flag && state_ != BS_DISABLED) { Drive-by: ...
11 years, 3 months ago (2009-09-07 04:33:52 UTC) #2
Mohamed Mansour
http://codereview.chromium.org/194037/diff/1/2 File views/controls/button/custom_button.cc (right): http://codereview.chromium.org/194037/diff/1/2#newcode223 Line 223: if (flag && state_ != BS_DISABLED) { On ...
11 years, 3 months ago (2009-09-07 05:06:37 UTC) #3
sky
http://codereview.chromium.org/194037/diff/2002/2003 File views/controls/button/custom_button.cc (right): http://codereview.chromium.org/194037/diff/2002/2003#newcode222 Line 222: void CustomButton::SetHotTracked(bool flag) { The getter and setter ...
11 years, 3 months ago (2009-09-08 15:57:05 UTC) #4
tfarina (gmail-do not use)
Also there is a old CL that does this, but was never committed. http://codereview.chromium.org/100333/show
11 years, 3 months ago (2009-09-08 16:20:14 UTC) #5
Mohamed Mansour
On 2009/09/08 16:20:14, tfarina wrote: > Also there is a old CL that does this, ...
11 years, 3 months ago (2009-09-09 01:16:16 UTC) #6
Jonas Klink (Google)
Sorry if there was a hold-up on me on this one, just saw that this ...
11 years, 3 months ago (2009-09-22 02:35:55 UTC) #7
Mohamed Mansour
On 2009/09/22 02:35:55, Jonas Klink (Google) wrote: > Sorry if there was a hold-up on ...
11 years, 3 months ago (2009-09-22 02:56:47 UTC) #8
sky
11 years, 3 months ago (2009-09-22 15:53:51 UTC) #9
My mistake. LGTM.

Powered by Google App Engine
This is Rietveld 408576698