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

Unified Diff: chrome/browser/ui/webui/flash_ui.cc

Issue 11746012: [webui] whittle down a few more uses of old-style templateData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move include Created 7 years, 12 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/flags_ui.cc ('k') | chrome/browser/ui/webui/nacl_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/flash_ui.cc
diff --git a/chrome/browser/ui/webui/flash_ui.cc b/chrome/browser/ui/webui/flash_ui.cc
index 76904f3ac9bda10a80dcb7d13091b751c713e651..ef589d03bf5675a6e4f1940b98b854a48049a4b2 100644
--- a/chrome/browser/ui/webui/flash_ui.cc
+++ b/chrome/browser/ui/webui/flash_ui.cc
@@ -62,6 +62,7 @@ ChromeWebUIDataSource* CreateFlashUIHTMLSource() {
ChromeWebUIDataSource* source =
new ChromeWebUIDataSource(chrome::kChromeUIFlashHost);
+ source->set_use_json_js_format_v2();
source->AddLocalizedString("loadingMessage", IDS_FLASH_LOADING_MESSAGE);
source->AddLocalizedString("flashLongTitle", IDS_FLASH_TITLE_MESSAGE);
source->set_json_path("strings.js");
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/nacl_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698