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

Issue 13639003: Make LabelButton STYLE_NATIVE_TEXTBUTTON focusable; etc. (Closed)

Created:
7 years, 8 months ago by msw
Modified:
7 years, 8 months ago
Reviewers:
tfarina, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Make LabelButton STYLE_NATIVE_TEXTBUTTON focusable; etc. Make LabelButton focusable on set_style(STYLE_NATIVE_TEXTBUTTON). (this matches NativeTextButton::Init behavior) Change NativeTextButton to LabelButton in FocusTraversalTest like: https://codereview.chromium.org/13584010 Patch Set 4. Update MessageLoopForUI...RunWithDispatcher() test comments. BUG=155363, 226814 TEST=native style LabelButtons are focusable by default. Tests pass. R=tfarina@chromium.org,sky@chromium.org TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192519

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -23 lines) Patch
M ui/views/controls/button/label_button.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/views/focus/focus_manager_unittest_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/focus/focus_traversal_unittest.cc View 11 chunks +26 lines, -21 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
msw
Hey Thiago and Scott, please take a look; thanks!
7 years, 8 months ago (2013-04-04 22:47:07 UTC) #1
tfarina
https://codereview.chromium.org/13639003/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/13639003/diff/1/ui/views/controls/button/label_button.cc#newcode122 ui/views/controls/button/label_button.cc:122: set_border(new LabelButtonBorder(style)); things are getting messier here, inconsistent use ...
7 years, 8 months ago (2013-04-04 22:58:46 UTC) #2
msw
https://codereview.chromium.org/13639003/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/13639003/diff/1/ui/views/controls/button/label_button.cc#newcode122 ui/views/controls/button/label_button.cc:122: set_border(new LabelButtonBorder(style)); On 2013/04/04 22:58:46, tfarina wrote: > things ...
7 years, 8 months ago (2013-04-04 23:34:45 UTC) #3
tfarina
On 2013/04/04 23:34:45, msw wrote: >https://codereview.chromium.org/13639003/diff/1/ui/views/controls/button/label_button.cc#newcode124 > ui/views/controls/button/label_button.cc:124: if (style == STYLE_TEXTBUTTON || > style ...
7 years, 8 months ago (2013-04-04 23:52:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/13639003/5001
7 years, 8 months ago (2013-04-05 05:19:40 UTC) #5
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 06:27:54 UTC) #6
Message was sent while issue was closed.
Change committed as 192519

Powered by Google App Engine
This is Rietveld 408576698