diff options
author | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 23:25:18 +0000 |
---|---|---|
committer | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 23:25:18 +0000 |
commit | 420f76b0d07168cdac87c28265d5c5e5798f5ac8 (patch) | |
tree | 9f842570fe4789ece1dda20faded74f9fe07cbb4 /chrome/browser/dom_ui | |
parent | d59ed76a953ca81570776b618cdafa202462f51f (diff) | |
download | chromium_src-420f76b0d07168cdac87c28265d5c5e5798f5ac8.zip chromium_src-420f76b0d07168cdac87c28265d5c5e5798f5ac8.tar.gz chromium_src-420f76b0d07168cdac87c28265d5c5e5798f5ac8.tar.bz2 |
NNTP: Remove tips and downloads and introduce a recently closed bar instead.
Make the list mode only show one column and make the items look like links.
BUG=None
TEST= On the new tab page try opening and closing tabs and windows.
The closed tabs and windows should appear in the recently closed bar at
the bottom.
Review URL: http://codereview.chromium.org/165095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.cc | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index 0489d23..e3f2f62 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -307,20 +307,8 @@ void NewTabHTMLSource::StartDataRequest(const std::string& path, l10n_util::GetString(IDS_NEW_TAB_RECENTLY_CLOSED_WINDOW_MULTIPLE)); localized_strings.SetString(L"attributionintro", l10n_util::GetString(IDS_NEW_TAB_ATTRIBUTION_INTRO)); - localized_strings.SetString(L"resourcecache", - l10n_util::GetString(IDS_NEW_TAB_WEB_RESOURCE_CACHE)); - localized_strings.SetString(L"recentactivities", - l10n_util::GetString(IDS_NEW_TAB_RECENT_ACTIVITIES)); - localized_strings.SetString(L"tipsandsuggestions", - l10n_util::GetString(IDS_NEW_TAB_EVEN_MORE_TITLE)); - localized_strings.SetString(L"defaulttipstitle", - l10n_util::GetString(IDS_NEW_TAB_EVEN_MORE_CONTENT)); - localized_strings.SetString(L"downloads", - l10n_util::GetString(IDS_NEW_TAB_DOWNLOADS)); localized_strings.SetString(L"viewfullhistory", l10n_util::GetString(IDS_NEW_TAB_VIEW_FULL_HISTORY)); - localized_strings.SetString(L"viewalldownloads", - l10n_util::GetString(IDS_NEW_TAB_VIEW_ALL_DOWNLOADS)); localized_strings.SetString(L"showthumbnails", l10n_util::GetString(IDS_NEW_TAB_SHOW_THUMBNAILS)); localized_strings.SetString(L"hidethumbnails", @@ -329,14 +317,10 @@ void NewTabHTMLSource::StartDataRequest(const std::string& path, l10n_util::GetString(IDS_NEW_TAB_SHOW_LIST)); localized_strings.SetString(L"hidelist", l10n_util::GetString(IDS_NEW_TAB_HIDE_LIST)); - localized_strings.SetString(L"showrecent", - l10n_util::GetString(IDS_NEW_TAB_SHOW_RECENT)); - localized_strings.SetString(L"hiderecent", - l10n_util::GetString(IDS_NEW_TAB_HIDE_RECENT)); - localized_strings.SetString(L"showtips", - l10n_util::GetString(IDS_NEW_TAB_SHOW_EVEN_MORE)); - localized_strings.SetString(L"hidetips", - l10n_util::GetString(IDS_NEW_TAB_HIDE_EVEN_MORE)); + localized_strings.SetString(L"showrecentlyclosedtabs", + l10n_util::GetString(IDS_NEW_TAB_SHOW_RECENTLY_CLOSED_TABS)); + localized_strings.SetString(L"hiderecentlyclosedtabs", + l10n_util::GetString(IDS_NEW_TAB_HIDE_RECENTLY_CLOSED_TABS)); localized_strings.SetString(L"thumbnailremovednotification", l10n_util::GetString(IDS_NEW_TAB_THUMBNAIL_REMOVED_NOTIFICATION)); localized_strings.SetString(L"undothumbnailremove", |