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

Issue 6955002: Change chrome to use the new native themed radio button. (Closed)

Created:
9 years, 7 months ago by Roger Tawa OOO till Jul 10th
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Change chrome to use the new native themed radio button. While testing the chromeos password changed dialog, I noticed that the dialog was clipped at the bottom, so that the text field to enter the old password was not fully visible. This was with and without my change. To fix, I increase the height of the dialog, hence the locale_settings.grd change. BUG=None TEST=Make sure all uses of radio buttons in chrome, on all platforms including chromeos, work as expected. The look may be slightly different, but the behaviour should be the same. To test the password changed dialog on chromeos, login and then logout with a given account. Change the password of that account (with another computer for example) and then log back in using the new password. The text field at the bottom should not be clipped. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86283

Patch Set 1 #

Patch Set 2 : Fixing buildbot break in linux variants #

Patch Set 3 : Forget to include .h file in CL #

Patch Set 4 : Fixed password changed dialog on chromeos #

Total comments: 2

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : Addressed some more comments from review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -78 lines) Patch
M chrome/app/resources/locale_settings.grd View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M views/controls/button/native_button_gtk.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/button/native_button_gtk.cc View 1 2 3 4 5 4 chunks +6 lines, -6 lines 0 comments Download
M views/controls/button/native_button_win.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M views/controls/button/native_button_win.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/button/native_button_wrapper.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/button/radio_button.h View 1 2 3 4 5 3 chunks +9 lines, -11 lines 0 comments Download
M views/controls/button/radio_button.cc View 1 2 3 4 5 8 chunks +41 lines, -32 lines 0 comments Download
M views/examples/radio_button_example.h View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M views/examples/radio_button_example.cc View 1 2 3 4 5 4 chunks +20 lines, -16 lines 0 comments Download
M views/focus/focus_manager_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Roger Tawa OOO till Jul 10th
9 years, 7 months ago (2011-05-13 19:07:10 UTC) #1
tfarina
http://codereview.chromium.org/6955002/diff/8004/views/examples/radio_button_example.h File views/examples/radio_button_example.h (right): http://codereview.chromium.org/6955002/diff/8004/views/examples/radio_button_example.h#newcode35 views/examples/radio_button_example.h:35: views::NativeRadioButton* radio_buttons_[3]; Invert the name of these two member ...
9 years, 7 months ago (2011-05-13 19:14:01 UTC) #2
Ben Goodger (Google)
Have you verified we behave consistently with a11y etc?
9 years, 7 months ago (2011-05-13 19:18:00 UTC) #3
(NOT FOR CODE REVIEWS)
Hi Ben, I have not done anything manually. What do I need to do? Thanks, ...
9 years, 7 months ago (2011-05-13 19:36:32 UTC) #4
Ben Goodger (Google)
+dominic. Dominic, Is there a set of steps that Roger can use to test his ...
9 years, 7 months ago (2011-05-13 19:47:14 UTC) #5
dmazzoni
Sure - if you can test it with at least one Windows screen reader and ...
9 years, 7 months ago (2011-05-13 20:00:14 UTC) #6
(NOT FOR CODE REVIEWS)
Thanks for the pointers Dominic. I tried with NVDA with the scenarios you mention. All ...
9 years, 7 months ago (2011-05-13 20:53:12 UTC) #7
Ben Goodger (Google)
LGTM then. On Fri, May 13, 2011 at 1:52 PM, Roger Tawa <rogerta@google.com> wrote: > ...
9 years, 7 months ago (2011-05-13 20:55:18 UTC) #8
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/6955002/diff/8004/views/examples/radio_button_example.h File views/examples/radio_button_example.h (right): http://codereview.chromium.org/6955002/diff/8004/views/examples/radio_button_example.h#newcode35 views/examples/radio_button_example.h:35: views::NativeRadioButton* radio_buttons_[3]; On 2011/05/13 19:14:01, tfarina wrote: > Invert ...
9 years, 7 months ago (2011-05-20 15:32:51 UTC) #9
tfarina
http://codereview.chromium.org/6955002/diff/16001/views/examples/radio_button_example.cc File views/examples/radio_button_example.cc (right): http://codereview.chromium.org/6955002/diff/16001/views/examples/radio_button_example.cc#newcode48 views/examples/radio_button_example.cc:48: for (size_t i = 0; i < arraysize(native_radio_buttons_); i++) ...
9 years, 7 months ago (2011-05-20 23:43:44 UTC) #10
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/6955002/diff/16001/views/examples/radio_button_example.cc File views/examples/radio_button_example.cc (right): http://codereview.chromium.org/6955002/diff/16001/views/examples/radio_button_example.cc#newcode48 views/examples/radio_button_example.cc:48: for (size_t i = 0; i < arraysize(native_radio_buttons_); i++) ...
9 years, 7 months ago (2011-05-22 23:39:27 UTC) #11
commit-bot: I haz the power
9 years, 7 months ago (2011-05-23 03:23:18 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698