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

Unified Diff: ui/views/controls/menu/menu_delegate.h

Issue 10532171: Added support for icon views (view used instead of icon in a menu item). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added support for icon views (view used instead of icon in a menu item). Created 8 years, 6 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/menu/menu_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_delegate.h
diff --git a/ui/views/controls/menu/menu_delegate.h b/ui/views/controls/menu/menu_delegate.h
index b88182b0cb72a5b9331399abc72c4c00f24a7663..501b0490eea5550e935d66ba0be27fcba9946035 100644
--- a/ui/views/controls/menu/menu_delegate.h
+++ b/ui/views/controls/menu/menu_delegate.h
@@ -202,6 +202,14 @@ class VIEWS_EXPORT MenuDelegate {
// Invoked prior to a menu being hidden.
virtual void WillHideMenu(MenuItemView* menu);
+
+ // Creates and returns a new border for the menu, or NULL if no border is
+ // needed. Caller owns the returned object.
+ virtual Border* CreateMenuBorder();
+
+ // Creates and returns a new background for the menu, or NULL if no
+ // background is needed. Caller owns the returned object.
+ virtual Background* CreateMenuBackground();
};
} // namespace views
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698