summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/button/image_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/controls/button/image_button.h')
-rw-r--r--ui/views/controls/button/image_button.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/views/controls/button/image_button.h b/ui/views/controls/button/image_button.h
index 4015def..44f5cfb 100644
--- a/ui/views/controls/button/image_button.h
+++ b/ui/views/controls/button/image_button.h
@@ -109,6 +109,7 @@ class VIEWS_EXPORT ToggleImageButton : public ImageButton {
// Change the toggled state.
void SetToggled(bool toggled);
+ bool toggled() const { return toggled_; }
// Like ImageButton::SetImage(), but to set the graphics used for the
// "has been toggled" state. Must be called for each button state