Index: ui/views/controls/button/menu_button.h |
diff --git a/ui/views/controls/button/menu_button.h b/ui/views/controls/button/menu_button.h |
index a1baf05cc5f30e95bd28a555e90b89e5d56d8fd3..afaf4d0d92de30a504042abdc6529796a50ccb67 100644 |
--- a/ui/views/controls/button/menu_button.h |
+++ b/ui/views/controls/button/menu_button.h |
@@ -85,6 +85,9 @@ class VIEWS_EXPORT MenuButton : public LabelButton { |
// Overridden from LabelButton: |
virtual gfx::Rect GetChildAreaBounds() override; |
+ // Overridden from CustomButton: |
+ virtual bool ShouldEnterPushedState(const ui::Event& event) OVERRIDE; |
+ |
// Offset of the associated menu position. |
gfx::Point menu_offset_; |