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

Unified Diff: chrome/browser/resources/about_memory_linux.html

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: Use grd syntax for specifying android. 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
« no previous file with comments | « chrome/browser/defaults.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/about_memory_linux.html
diff --git a/chrome/browser/resources/about_memory_linux.html b/chrome/browser/resources/about_memory_linux.html
index 17b6e3aa73a2a2fb7f961cfeb8490a16751990e6..951db0753bf40415b60f3da936a93dadc053238c 100644
--- a/chrome/browser/resources/about_memory_linux.html
+++ b/chrome/browser/resources/about_memory_linux.html
@@ -10,6 +10,10 @@ about:memory template page
<style>
body {
font-family: Arial, Helvetica, sans-serif;
+<if expr="pp_ifdef('android')">
+ font-size: 22pt;
Evan Stade 2012/07/23 22:03:01 you should set the font-size on <body> like <body
Ted C 2012/07/23 22:18:00 I'm just overriding the values defined in about_me
Evan Stade 2012/07/23 22:44:27 it can be overridden by the page but usually we'd
Ted C 2012/07/24 20:51:50 The css file is shared across all platforms, so th
Evan Stade 2012/07/24 21:37:04 it's not your fault, but that is not a valid reaso
+ min-width: 30em;
+</if>
}
div#header select {
font-family: Arial, Helvetica, sans-serif;
@@ -47,11 +51,20 @@ table.list#memoryDetails tr.firstRow th:nth-child(2) {
<div class='help'>
<div>
<p>
+<if expr="not pp_ifdef('android')">
Summary of memory used by currently active browsers.
For browsers which use multiple processes, memory reflects
aggregate memory used across all browser processes.<p>
For Chromium, processes used to to display diagnostics
information (such as this "about:memory") are excluded.
+</if>
+<if expr="pp_ifdef('android')">
+ Summary of memory used by Chromium. Since Chromium uses
Evan Stade 2012/07/23 22:03:01 why did you change the string? The difference seem
Ted C 2012/07/23 22:18:00 The main reason is that this was what we had in th
Evan Stade 2012/07/23 22:44:27 OK, now I understand the difference. Still, I thin
Ted C 2012/07/24 20:51:50 Done...but it's worth nothing that Chromium is use
+ multiple processes, memory reflects
+ aggregate memory used across all browser processes.<p>
+ For Chromium, processes used to display diagnostics
+ information (such as this "about:memory") are excluded.
+</if>
</p>
</div>
</div>
« no previous file with comments | « chrome/browser/defaults.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698