Index: ui/views/controls/button/label_button.h |
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h |
index b96c7854de60267627dded24aee36ae42f83620f..6233bb438f43719a47c39d3087227653b236f0b2 100644 |
--- a/ui/views/controls/button/label_button.h |
+++ b/ui/views/controls/button/label_button.h |
@@ -66,6 +66,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton, |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |
+ protected: |
+ // Fill |params| with information about the button. |
+ virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const; |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(LabelButtonTest, Init); |
FRIEND_TEST_ALL_PREFIXES(LabelButtonTest, Label); |
@@ -95,8 +99,6 @@ class VIEWS_EXPORT LabelButton : public CustomButton, |
virtual ui::NativeTheme::State GetForegroundThemeState( |
ui::NativeTheme::ExtraParams* params) const OVERRIDE; |
- // Fill |params| with information about the button. |
- virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const; |
// The image and label shown in the button. |
ImageView* image_; |