diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 13:14:58 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 13:14:58 +0000 |
commit | bf9940639b4a942b18837f532d71bf4e0855a39e (patch) | |
tree | 9ce2a7675ea516c4a3a0787824d19f7d61c3875c /views/controls/button/native_button_gtk.h | |
parent | f34fc289bcfff2304a854b2d8bf29a78979c75c3 (diff) | |
download | chromium_src-bf9940639b4a942b18837f532d71bf4e0855a39e.zip chromium_src-bf9940639b4a942b18837f532d71bf4e0855a39e.tar.gz chromium_src-bf9940639b4a942b18837f532d71bf4e0855a39e.tar.bz2 |
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.
Review URL: http://codereview.chromium.org/6955002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/button/native_button_gtk.h')
-rw-r--r-- | views/controls/button/native_button_gtk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/button/native_button_gtk.h b/views/controls/button/native_button_gtk.h index 91a1ce1..2b1b8926 100644 --- a/views/controls/button/native_button_gtk.h +++ b/views/controls/button/native_button_gtk.h @@ -86,7 +86,7 @@ class NativeCheckboxGtk : public NativeButtonGtk { // A View that hosts a native Gtk radio button. class NativeRadioButtonGtk : public NativeCheckboxGtk { public: - explicit NativeRadioButtonGtk(RadioButton* radio_button); + explicit NativeRadioButtonGtk(NativeRadioButton* radio_button); virtual ~NativeRadioButtonGtk(); protected: @@ -100,7 +100,7 @@ class NativeRadioButtonGtk : public NativeCheckboxGtk { static void CallToggled(GtkButton* widget, NativeRadioButtonGtk* button); // Return RadioButton we are bound to. - RadioButton* radio_button(); + NativeRadioButton* radio_button(); // Set the gtk radio button's group to that of given wrapper's gruop. void SetGroupFrom(NativeButtonWrapper* wrapper); // Invoked when the radio button's state is changed. |