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

Unified Diff: chrome/browser/back_forward_menu_model.cc

Issue 57013: Display a title for files in the back/forward menu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/back_forward_menu_model.cc
===================================================================
--- chrome/browser/back_forward_menu_model.cc (revision 12779)
+++ chrome/browser/back_forward_menu_model.cc (working copy)
@@ -222,7 +222,7 @@
return L"";
NavigationEntry* entry = GetNavigationEntry(menu_id);
- return UTF16ToWideHack(entry->title());
+ return UTF16ToWideHack(entry->GetTitleForDisplay(NULL));
}
const SkBitmap& BackForwardMenuModel::GetItemIcon(int menu_id) const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698