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

Unified Diff: ui/base/webui/web_ui_util.h

Issue 2826643002: Convert Incognito New Tab Page from i18n-* (JS) to $i18n{} (C++) (Closed)
Patch Set: todo Created 3 years, 8 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/ui/webui/theme_handler.cc ('k') | ui/base/webui/web_ui_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/webui/web_ui_util.h
diff --git a/ui/base/webui/web_ui_util.h b/ui/base/webui/web_ui_util.h
index dc2483995fb6678a145e2c2ede4270bf57143762..7416ea71a8c08bb22aa3204d0e225bb35551a356 100644
--- a/ui/base/webui/web_ui_util.h
+++ b/ui/base/webui/web_ui_util.h
@@ -11,6 +11,7 @@
#include "base/strings/string_piece.h"
#include "base/values.h"
+#include "ui/base/template_expressions.h"
#include "ui/base/ui_base_export.h"
#include "ui/base/window_open_disposition.h"
@@ -49,6 +50,9 @@ UI_BASE_EXPORT void ParsePathAndScale(const GURL& url,
UI_BASE_EXPORT void SetLoadTimeDataDefaults(
const std::string& app_locale,
base::DictionaryValue* localized_strings);
+UI_BASE_EXPORT void SetLoadTimeDataDefaults(
+ const std::string& app_locale,
+ ui::TemplateReplacements* replacements);
// Get a CSS declaration for common text styles using provided template.
UI_BASE_EXPORT std::string GetWebUiCssTextDefaults(
« no previous file with comments | « chrome/browser/ui/webui/theme_handler.cc ('k') | ui/base/webui/web_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698