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

Side by Side 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: Resolve nits 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- 3 <!--
4 about:memory template page 4 about:memory template page
5 --> 5 -->
6 <html id="t"> 6 <html id="t">
7 <head> 7 <head>
8 <title>About Memory</title> 8 <title>About Memory</title>
9 <if expr="pp_ifdef('android')">
10 <meta name="viewport" content="width=device-width"/>
11 </if>
9 <link rel="stylesheet" href="shared/css/about_memory.css"> 12 <link rel="stylesheet" href="shared/css/about_memory.css">
10 <style> 13 <link rel="stylesheet" href="about_memory_linux.css">
11 body { 14 <script src="chrome://memory-redirect/memory.js"></script>
12 font-family: Arial, Helvetica, sans-serif; 15 <script src="chrome://memory-redirect/strings.js"></script>
13 }
14 div#header select {
15 font-family: Arial, Helvetica, sans-serif;
16 }
17 div.otherbrowsers {
18 font-family: Arial, Helvetica, sans-serif;
19 }
20 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1),
21 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(4),
22 table.list#browserComparison tr.firstRow th:nth-child(1) {
23 border-right: 1px solid #b5c6de;
24 }
25 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2),
26 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(5),
27 table.list#memoryDetails tr.firstRow th:nth-child(2) {
28 border-right: 1px solid #b5c6de;
29 }
30 </style>
31 <script src="chrome://memory-redirect/memory.js"></script>
32 <script src="chrome://memory-redirect/strings.js"></script>
33 </head> 16 </head>
34 <body> 17 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
35 <div id='header'> 18 <div id='header'>
36 <h1> 19 <h1>
37 About memory 20 About memory
38 </h1> 21 </h1>
39 <p> 22 <p>
40 Measuring memory usage in a multi-process browser 23 Measuring memory usage in a multi-process browser
41 </p> 24 </p>
42 </div> 25 </div>
43 26
44 <div id='content'> 27 <div id='content'>
45 <h2> 28 <h2>
46 Summary 29 Summary
47 <div class='help'> 30 <div class='help'>
48 <div> 31 <div>
49 <p> 32 <p class='summary-desc' i18n-values=".innerHTML:summary_desc"></p>
50 Summary of memory used by currently active browsers.
51 For browsers which use multiple processes, memory reflects
52 aggregate memory used across all browser processes.<p>
53 For Chromium, processes used to to display diagnostics
54 information (such as this "about:memory") are excluded.
55 </p>
56 </div> 33 </div>
57 </div> 34 </div>
58 </h2> 35 </h2>
59 36
60 <table class='list' id='browserComparison'> 37 <table class='list' id='browserComparison'>
61 <colgroup> 38 <colgroup>
62 <col class='name' /> 39 <col class='name' />
63 <col class='number' /> 40 <col class='number' />
64 <col class='number' /> 41 <col class='number' />
65 </colgroup> 42 </colgroup>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 <tr class='noResults'> 191 <tr class='noResults'>
215 <td colspan='99'> 192 <td colspan='99'>
216 No results found. 193 No results found.
217 </td> 194 </td>
218 </tr> 195 </tr>
219 </table> 196 </table>
220 197
221 <div class="otherbrowsers">(The memory usage of our renderer processes is slightly less accurate when they are sandboxed.)</div> 198 <div class="otherbrowsers">(The memory usage of our renderer processes is slightly less accurate when they are sandboxed.)</div>
222 199
223 </div> 200 </div>
201 <script src="chrome://resources/js/i18n_template.js"></script>
202 <script src="chrome://resources/js/i18n_process.js"></script>
224 <script src="chrome://resources/js/jstemplate_compiled.js"></script> 203 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
225 </body> 204 </body>
226 </html> 205 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698