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

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

Issue 24647003: Redesign of the avatar menu button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix RTL button Created 7 years, 3 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 20cdb83316be83b5f34edbc3ec7cb3791c8149ea..ebd102112ab51bbcafce84226cc9af4bd22bc9cd 100644
--- a/ui/views/controls/button/menu_button.h
+++ b/ui/views/controls/button/menu_button.h
@@ -51,6 +51,9 @@ class VIEWS_EXPORT MenuButton : public TextButton {
// Activate the button (called when the button is pressed).
virtual bool Activate();
+ // Paint the menu marker image.
+ void PaintMenuMarker(gfx::Canvas* canvas);
sky 2013/09/26 20:21:39 Why is this public?
noms (inactive) 2013/10/01 17:42:21 I changed it to protected. On 2013/09/26 20:21:3
+
// Overridden from TextButton for the potential use of a drop marker.
virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698