| 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 e8ccb40afec92d21af4767801331d60381f45c60..7471ca5b5c651daafc005a8f4de23c61f441bef5 100644
|
| --- a/ui/base/models/simple_menu_model.h
|
| +++ b/ui/base/models/simple_menu_model.h
|
| @@ -100,6 +100,9 @@ class SimpleMenuModel : public MenuModel {
|
| // Clears all items. Note that it does not free MenuModel of submenu.
|
| void Clear();
|
|
|
| + // Removes the given item.
|
| + void RemoveItemAt(int index);
|
| +
|
| // Returns the index of the item that has the given |command_id|. Returns
|
| // -1 if not found.
|
| int GetIndexOfCommandId(int command_id);
|
|
|