summaryrefslogtreecommitdiffstats
path: root/app/menus
diff options
context:
space:
mode:
Diffstat (limited to 'app/menus')
-rw-r--r--app/menus/simple_menu_model.cc8
-rw-r--r--app/menus/simple_menu_model.h6
2 files changed, 0 insertions, 14 deletions
diff --git a/app/menus/simple_menu_model.cc b/app/menus/simple_menu_model.cc
index 0561c5a..8631666 100644
--- a/app/menus/simple_menu_model.cc
+++ b/app/menus/simple_menu_model.cc
@@ -28,10 +28,6 @@ void SimpleMenuModel::AddItemWithStringId(int command_id, int string_id) {
AddItem(command_id, l10n_util::GetStringUTF16(string_id));
}
-void SimpleMenuModel::AddItemIdentifiedByStringId(int string_id) {
- AddItemWithStringId(string_id, string_id);
-}
-
void SimpleMenuModel::AddSeparator() {
Item item = { kSeparatorId, string16(), SkBitmap(), TYPE_SEPARATOR, -1,
NULL };
@@ -47,10 +43,6 @@ void SimpleMenuModel::AddCheckItemWithStringId(int command_id, int string_id) {
AddCheckItem(command_id, l10n_util::GetStringUTF16(string_id));
}
-void SimpleMenuModel::AddCheckItemIdentifiedByStringId(int string_id) {
- AddCheckItemWithStringId(string_id, string_id);
-}
-
void SimpleMenuModel::AddRadioItem(int command_id, const string16& label,
int group_id) {
Item item = { command_id, label, SkBitmap(), TYPE_RADIO, group_id, NULL };
diff --git a/app/menus/simple_menu_model.h b/app/menus/simple_menu_model.h
index f183166b..8dd6c64 100644
--- a/app/menus/simple_menu_model.h
+++ b/app/menus/simple_menu_model.h
@@ -63,12 +63,6 @@ class SimpleMenuModel : public MenuModel {
void AddSubMenu(int command_id, const string16& label, MenuModel* model);
void AddSubMenuWithStringId(int command_id, int string_id, MenuModel* model);
- // Helpers for the above that use the |string_id| for the |command_id|
- // as well.
- // TODO(estade): remove these.
- void AddItemIdentifiedByStringId(int string_id);
- void AddCheckItemIdentifiedByStringId(int string_id);
-
// Methods for inserting items into the model.
void InsertItemAt(int index, int command_id, const string16& label);
void InsertItemWithStringIdAt(int index, int command_id, int string_id);