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

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

Issue 2832823002: Update avatar button to MD (Closed)
Patch Set: Fixed ProfileChooserViewExtensionsTest browser tests Created 3 years, 8 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
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 b0ddf33115211df9b758287c852394687f50e738..819b9f81b36f961c742d73807b1198a6b2ff8800 100644
--- a/ui/views/controls/button/menu_button.h
+++ b/ui/views/controls/button/menu_button.h
@@ -32,7 +32,9 @@ class VIEWS_EXPORT MenuButton : public LabelButton {
class VIEWS_EXPORT PressedLock {
public:
explicit PressedLock(MenuButton* menu_button);
- PressedLock(MenuButton* menu_button, bool is_sibling_menu_show);
+ PressedLock(MenuButton* menu_button,
+ bool is_sibling_menu_show,
+ const ui::LocatedEvent* event);
~PressedLock();
private:
@@ -109,7 +111,8 @@ class VIEWS_EXPORT MenuButton : public LabelButton {
// set the state accordingly. The ink drop is snapped to the final ACTIVATED
// state if |snap_ink_drop_to_activated| is true, otherwise the ink drop will
// be animated to the ACTIVATED node_data.
- void IncrementPressedLocked(bool snap_ink_drop_to_activated);
+ void IncrementPressedLocked(bool snap_ink_drop_to_activated,
+ const ui::LocatedEvent* event);
void DecrementPressedLocked();
// Compute the maximum X coordinate for the current screen. MenuButtons

Powered by Google App Engine
This is Rietveld 408576698