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

Unified Diff: chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc

Issue 1130753007: Start axing NTP4 dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estade@ review Created 5 years, 7 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
Index: chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
index e53fa02f35d0bc3927116eae65959081e081f398..8b4a2f5759953e39851e8a4d03bf48a97dc59c9e 100644
--- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
@@ -395,11 +395,11 @@ void RecentTabsSubMenuModel::BuildLocalEntries() {
// teach users about this command.
InsertItemWithStringIdAt(++last_local_model_index_,
kDisabledRecentlyClosedHeaderCommandId,
- IDS_NEW_TAB_RECENTLY_CLOSED);
+ IDS_RECENTLY_CLOSED);
} else {
InsertItemWithStringIdAt(++last_local_model_index_,
kRecentlyClosedHeaderCommandId,
- IDS_NEW_TAB_RECENTLY_CLOSED);
+ IDS_RECENTLY_CLOSED);
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
SetIcon(last_local_model_index_,
rb.GetNativeImageNamed(IDR_RECENTLY_CLOSED_WINDOW));
@@ -535,7 +535,7 @@ void RecentTabsSubMenuModel::BuildLocalWindowItem(
int command_id = WindowVectorIndexToCommandId(local_window_items_.size());
// See comments in BuildLocalEntries() about usage of InsertItem*At().
InsertItemAt(curr_model_index, command_id, l10n_util::GetPluralStringFUTF16(
- IDS_NEW_TAB_RECENTLY_CLOSED_WINDOW, num_tabs));
+ IDS_RECENTLY_CLOSED_WINDOW, num_tabs));
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
SetIcon(curr_model_index, rb.GetNativeImageNamed(IDR_RECENTLY_CLOSED_WINDOW));
local_window_items_.push_back(window_id);
« no previous file with comments | « chrome/browser/ui/cocoa/history_menu_bridge.mm ('k') | chrome/browser/ui/views/frame/global_menu_bar_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698