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

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

Issue 10796054: Adapt the linux about_memory page to better render on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and addressed comments. Created 8 years, 5 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
Index: chrome/browser/ui/webui/about_ui.cc
diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc
index 4d4376948bce0416fe4aa7d61fda1e55db3f4295..2bd4ca4217945e8414e88917cd01fc04d37bb6e8 100644
--- a/chrome/browser/ui/webui/about_ui.cc
+++ b/chrome/browser/ui/webui/about_ui.cc
@@ -1239,6 +1239,10 @@ void AboutMemoryHandler::OnDetailsAvailable() {
root.SetBoolean("show_other_browsers",
browser_defaults::kShowOtherBrowsersInAboutMemory);
+ root.SetString("summary_desc",
+ l10n_util::GetStringUTF16(IDS_MEMORY_USAGE_SUMMARY_DESC));
+
+ ChromeWebUIDataSource::SetFontAndTextDirection(&root);
std::string data;
jstemplate_builder::AppendJsonJS(&root, &data);
« chrome/app/google_chrome_strings.grd ('K') | « chrome/browser/resources/about_memory_linux.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698