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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1144963006: chrome/settings: Implement the 'get themes' button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/settings/appearance_page/appearance_page.js ('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/settings/md_settings_localized_strings_provider.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
index f02e8ce02334dea5f1645d0f4d39d2104f357186..8797961e6dd609d0ecd152e270db6e884a5efc69 100644
--- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.h"
#include "chrome/grit/generated_resources.h"
+#include "chrome/grit/locale_settings.h"
#include "content/public/browser/web_ui_data_source.h"
namespace {
@@ -91,6 +92,8 @@ void AddAppearanceStrings(content::WebUIDataSource* html_source) {
"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP);
html_source->AddLocalizedString(
"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE);
+ html_source->AddLocalizedString(
+ "themesGalleryUrl", IDS_THEMES_GALLERY_URL);
Jeremy Klein 2015/06/05 04:39:25 Should we pull this theme into our own grd? Not su
James Hawkins 2015/06/05 15:28:23 What is your concern with that dependency? locale
Jeremy Klein 2015/06/05 16:23:27 SGTM, I just wasn't sure how that file was used.
}
void AddCommonStrings(content::WebUIDataSource* html_source) {
« no previous file with comments | « chrome/browser/resources/settings/appearance_page/appearance_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698