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

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') | ui/views/controls/menu/menu_item_view.h » ('J')
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..209fc89fc7c89baf1d2e83c7a23c63056883adba 100644
--- a/ui/views/controls/menu/menu_delegate.h
+++ b/ui/views/controls/menu/menu_delegate.h
@@ -202,6 +202,12 @@ class VIEWS_EXPORT MenuDelegate {
// Invoked prior to a menu being hidden.
virtual void WillHideMenu(MenuItemView* menu);
+
+ // Returns menu border. Applicable only to a root menu item.
sky 2012/06/26 21:42:13 Creates and returns a new border for the menu, or
sky 2012/06/26 21:42:52 You should name these to match: CreateMenuBorder a
yefimt 2012/06/26 22:50:19 Done.
+ virtual Border* GetMenuBorder();
+
+ // Returns menu background. Applicable only to a root menu item.
sky 2012/06/26 21:42:13 Creates and returns a new background for the menu,
yefimt 2012/06/26 22:50:19 Done.
+ virtual Background* GetMenuBackground();
};
} // namespace views
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_delegate.cc » ('j') | ui/views/controls/menu/menu_item_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698