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

Unified Diff: ui/base/models/simple_menu_model.h

Issue 23530070: backup for dynamic recent tabs submenu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new RecentTabsMenuModelDelegate w/ new intf 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
« no previous file with comments | « ui/base/models/menu_model_delegate.h ('k') | ui/base/models/simple_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/simple_menu_model.h
diff --git a/ui/base/models/simple_menu_model.h b/ui/base/models/simple_menu_model.h
index 00c93b2a5c90b6c86b1ace315e3251b2a66a673b..69a227b2444e915f936f87b2aafe5d437ab3ec26 100644
--- a/ui/base/models/simple_menu_model.h
+++ b/ui/base/models/simple_menu_model.h
@@ -121,6 +121,9 @@ class UI_EXPORT SimpleMenuModel : public MenuModel {
void InsertSubMenuWithStringIdAt(
int index, int command_id, int string_id, MenuModel* model);
+ // Remove item at specified index from the model.
+ void RemoveItemAt(int index);
+
// Sets the icon for the item at |index|.
void SetIcon(int index, const gfx::Image& icon);
« no previous file with comments | « ui/base/models/menu_model_delegate.h ('k') | ui/base/models/simple_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698