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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc

Issue 10831317: Upstream Android NTP resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved .png files to separate CL Created 8 years, 4 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 | « chrome/browser/resources/ntp_android/opentabs_tablet.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
index 34945e2575561eeff8d061db53de44bfab9e2722..6a3f0ebdc593fe182788a25b0593107b936af197 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
@@ -70,13 +70,40 @@ void NTPResourceCache::CreateNewTabHTML() {
l10n_util::GetStringUTF16(IDS_NEW_TAB_MOST_VISITED));
localized_strings.SetString("recentlyclosed",
l10n_util::GetStringUTF16(IDS_NEW_TAB_RECENTLY_CLOSED));
+ localized_strings.SetString("opentabslastsynced",
+ l10n_util::GetStringUTF16(IDS_SYNC_NTP_OPEN_TABS_LAST_SYNCED));
+ localized_strings.SetString("elementopeninnewtab",
+ l10n_util::GetStringUTF16(IDS_NEW_TAB_CONTEXT_MENU_OPEN_IN_NEW_TAB));
+ localized_strings.SetString("elementopeninincognitotab",
+ l10n_util::GetStringUTF16(
+ IDS_NEW_TAB_CONTEXT_MENU_OPEN_IN_INCOGNITO_TAB));
+ localized_strings.SetString("elementremove",
+ l10n_util::GetStringUTF16(IDS_NEW_TAB_CONTEXT_MENU_REMOVE));
+ localized_strings.SetString("bookmarkedit",
+ l10n_util::GetStringUTF16(IDS_NEW_TAB_CONTEXT_MENU_EDIT_BOOKMARK));
+ localized_strings.SetString("bookmarkdelete",
+ l10n_util::GetStringUTF16(IDS_NEW_TAB_CONTEXT_MENU_DELETE_BOOKMARK));
+ localized_strings.SetString("bookmarkshortcut",
+ l10n_util::GetStringUTF16(IDS_NEW_TAB_CONTEXT_MENU_BOOKMARK_SHORTCUT));
+ localized_strings.SetString("editfolder",
+ l10n_util::GetStringUTF16(IDS_BOOKMARK_EDIT_FOLDER));
+ localized_strings.SetString("deletefolder",
+ l10n_util::GetStringUTF16(IDS_BOOKMARK_REMOVE_FOLDER));
+ localized_strings.SetString("receivedDocuments",
+ l10n_util::GetStringUTF16(IDS_RECEIVED_DOCUMENTS));
+ localized_strings.SetString("syncPromo",
+ l10n_util::GetStringUTF16(IDS_SYNC_PROMO_DESKTOP_INSTRUCTIONS));
+ localized_strings.SetString("syncEnableSync",
+ l10n_util::GetStringUTF16(IDS_SYNC_ENABLE_SYNC));
+ localized_strings.SetString("bookmarkstitle",
+ l10n_util::GetStringUTF16(IDS_ACCNAME_BOOKMARKS));
NewTabPageHandler::GetLocalizedValues(profile_, &localized_strings);
ChromeURLDataManager::DataSource::SetFontAndTextDirection(&localized_strings);
base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance().
- GetRawDataResource(IDR_NEW_TAB_4_HTML,
+ GetRawDataResource(IDR_NEW_TAB_ANDROID_HTML,
ui::SCALE_FACTOR_NONE));
localized_strings.SetString(
"device",
« no previous file with comments | « chrome/browser/resources/ntp_android/opentabs_tablet.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698