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

Issue 8439015: Make infobar controls focusable by default. (Closed)

Created:
9 years, 1 month ago by dmazzoni
Modified:
9 years, 1 month ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina, Aaron Boodman, mihaip+watch_chromium.org, Erik does not do reviews, dhollowa, Peter Kasting
Visibility:
Public.

Description

Make infobar controls focusable by default. This also fixes views::TextButton so that the focus rect is drawn with an appropriate inset. BUG=98367 TEST=Trigger an infobar (Translate, Save Password, etc.), type Ctrl+L to focus location bar, press Tab to focus controls in info bar. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108202

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -5 lines) Patch
M chrome/browser/ui/views/infobars/extension_infobar.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M views/controls/button/text_button.h View 1 chunk +1 line, -0 lines 0 comments Download
M views/controls/button/text_button.cc View 1 2 3 3 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dmazzoni
9 years, 1 month ago (2011-11-01 21:41:07 UTC) #1
Peter Kasting
http://codereview.chromium.org/8439015/diff/1/views/controls/button/text_button.cc File views/controls/button/text_button.cc (right): http://codereview.chromium.org/8439015/diff/1/views/controls/button/text_button.cc#newcode750 views/controls/button/text_button.cc:750: rect.Inset(3, 3); Please, no context-free magic numbers.
9 years, 1 month ago (2011-11-01 21:46:04 UTC) #2
dmazzoni
http://codereview.chromium.org/8439015/diff/1/views/controls/button/text_button.cc File views/controls/button/text_button.cc (right): http://codereview.chromium.org/8439015/diff/1/views/controls/button/text_button.cc#newcode750 views/controls/button/text_button.cc:750: rect.Inset(3, 3); On 2011/11/01 21:46:04, Peter Kasting wrote: > ...
9 years, 1 month ago (2011-11-01 21:49:06 UTC) #3
Peter Kasting
http://codereview.chromium.org/8439015/diff/6001/views/controls/button/text_button.cc File views/controls/button/text_button.cc (right): http://codereview.chromium.org/8439015/diff/6001/views/controls/button/text_button.cc#newcode45 views/controls/button/text_button.cc:45: // Number of pixels from the edge of the ...
9 years, 1 month ago (2011-11-01 21:51:28 UTC) #4
dmazzoni
On 2011/11/01 21:51:28, Peter Kasting wrote: > views/controls/button/text_button.cc:45: // Number of pixels from the edge ...
9 years, 1 month ago (2011-11-01 22:25:57 UTC) #5
Peter Kasting
Fantastic, thanks. LGTM.
9 years, 1 month ago (2011-11-01 22:30:05 UTC) #6
sky
LGTM
9 years, 1 month ago (2011-11-01 23:03:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/8439015/1008
9 years, 1 month ago (2011-11-01 23:23:53 UTC) #8
commit-bot: I haz the power
9 years, 1 month ago (2011-11-02 00:24:43 UTC) #9
Change committed as 108202

Powered by Google App Engine
This is Rietveld 408576698