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

Unified Diff: chrome/views/controls/menu/menu.h

Issue 100054: Added Undo close window to menu. Standardized capitalization for ... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/views/controls/menu/menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/controls/menu/menu.h
===================================================================
--- chrome/views/controls/menu/menu.h (revision 14849)
+++ chrome/views/controls/menu/menu.h (working copy)
@@ -268,6 +268,9 @@
void EnableMenuItemByID(int item_id, bool enabled);
void EnableMenuItemAt(int index, bool enabled);
+ // Sets menu label at specified index.
+ void SetMenuLabel(int item_id, const std::wstring& label);
+
// Sets an icon for an item with a given item_id. Calling this function
// also forces the Menu class to draw the menu, instead of relying on Windows.
// Returns false if the item with |item_id| is not found.
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/views/controls/menu/menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698