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

Unified Diff: ui/views/controls/button/menu_button.h

Issue 639893003: Unify MenuButton Pushed state logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/controls/button/menu_button.cc » ('j') | ui/views/controls/button/menu_button.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1eedc0f7d6b0fc03654765fdf9020102460992a5..e43e052a7300ada8c2c795488fc928c8525b1f26 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 MenuButton:
flackr 2014/10/14 14:11:06 Overridden from MenuButton? Isn't this MenuButton?
jonross 2014/10/14 16:00:48 Yup, meant CustomButton.
+ virtual bool ShouldEnterPushedState(const ui::Event& event) OVERRIDE;
+
// Offset of the associated menu position.
gfx::Point menu_offset_;
« no previous file with comments | « no previous file | ui/views/controls/button/menu_button.cc » ('j') | ui/views/controls/button/menu_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698