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

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

Issue 38533006: Add a note in chrome://memory for other browsers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: does not --> don't Created 7 years, 2 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/resources/about_memory_linux.html
diff --git a/chrome/browser/resources/about_memory_linux.html b/chrome/browser/resources/about_memory_linux.html
index b1652cfcf7d9236212a28f161033d8c7ffcacf7d..7e314f8dbc607fdb3bf9662237a459a324a72fde 100644
--- a/chrome/browser/resources/about_memory_linux.html
+++ b/chrome/browser/resources/about_memory_linux.html
@@ -16,7 +16,7 @@ about:memory template page
<script src="chrome://memory-redirect/strings.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
- <div id='header'>
+ <div id="header">
<h1>
About memory
</h1>
@@ -25,28 +25,28 @@ about:memory template page
</p>
</div>
- <div id='content'>
+ <div id="content">
<h2>
Summary
- <div class='help'>
+ <div class="help">
<div>
- <p class='summary-desc' i18n-values=".innerHTML:summary_desc"></p>
+ <p class="summary-desc" i18n-values=".innerHTML:summary_desc"></p>
</div>
</div>
</h2>
- <table class='list' id='browserComparison'>
+ <table class="list" id="browserComparison">
<colgroup>
- <col class='name'>
- <col class='number'>
- <col class='number'>
+ <col class="name">
+ <col class="number">
+ <col class="number">
</colgroup>
- <tr class='firstRow doNotFilter'>
+ <tr class="firstRow doNotFilter">
<th>
</th>
- <th colspan='2'>
+ <th colspan="2">
Memory
- <div class='help'>
+ <div class="help">
<div>
<p>
<strong>Memory</strong>
@@ -69,41 +69,48 @@ about:memory template page
</div>
</th>
</tr>
- <tr class='secondRow doNotFilter'>
- <th class='name'>
+ <tr class="secondRow doNotFilter">
+ <th class="name">
Browser
</th>
- <th class='name'>
+ <th class="name">
Private
</th>
- <th class='number'>
+ <th class="number">
Proportional
</th>
</tr>
<tr jsselect="browsers">
- <td class='name'>
+ <td class="name">
<div>
<strong jscontent="name"></strong> <span jscontent="version"></span>
</div>
</td>
- <td class='number'>
- <span class='th' jscontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
</td>
- <td class='number'>
- <span class='th' jscontent="formatNumber(ws_shared)"></span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
</td>
</tr>
</table>
- <div class=otherbrowsers jsdisplay="show_other_browsers && browsers.length == 1">
+ <div class="otherbrowsers"
+ jsdisplay="show_other_browsers && browsers.length == 1">
Note: If other browsers (e.g. IE, Firefox, Safari) are running,
I'll show their memory details here.
</div>
+ <div class="otherbrowsers"
+ jsdisplay="show_other_browsers && browsers.length > 1">
+ Note: The memory details reported for some other browsers (e.g. IE,
+ Firefox, Safari) typically don't include the memory used by plugins such
+ as Flash.
+ </div>
- <br><br><br >
+ <br><br><br>
<h2>
Processes
- <div class='help'>
+ <div class="help">
<div>
<p>
Details of memory usage for each of Chromium's processes.
@@ -112,85 +119,85 @@ about:memory template page
</div>
</h2>
- <table class='list' id='memoryDetails'>
+ <table class="list" id="memoryDetails">
<colgroup>
- <col class='pid'>
- <col class='name' >
- <col class='number'>
- <col class='number'>
+ <col class="pid">
+ <col class="name" >
+ <col class="number">
+ <col class="number">
</colgroup>
- <tr class='firstRow doNotFilter'>
+ <tr class="firstRow doNotFilter">
<th>
</th>
<th>
</th>
- <th colspan='2'>
+ <th colspan="2">
Memory
</th>
</tr>
- <tr class='secondRow doNotFilter'>
- <th class='pid'>
+ <tr class="secondRow doNotFilter">
+ <th class="pid">
PID
</th>
- <th class='name'>
+ <th class="name">
Name
</th>
- <th class='number'>
+ <th class="number">
Private
</th>
- <th class='number'>
+ <th class="number">
Proportional
</th>
</tr>
<tr jsselect="browzr_data">
- <td class='pid'>
- <span class='th' jscontent="pid"></span>
+ <td class="pid">
+ <span class="th" jscontent="pid"></span>
</td>
- <td class='name'>
+ <td class="name">
<div>
Browser
</div>
</td>
- <td class='number'>
- <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv)" jscontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" jseval="addToSum("tot_ws_priv", $this.ws_priv)" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
</td>
- <td class='number'>
- <span class='th' jscontent="formatNumber(ws_shared)"></span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
</td>
</tr>
<tr jsselect="child_data">
- <td class='pid'>
- <span class='th' jscontent="pid"></span>
+ <td class="pid">
+ <span class="th" jscontent="pid"></span>
</td>
- <td class='name'>
+ <td class="name">
<div jscontent="child_name"></div>
<div jsselect="titles">
<span jscontent="$this"></span><br>
</div>
</td>
- <td class='number'>
- <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv)" jscontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" jseval="addToSum("tot_ws_priv", $this.ws_priv)" jscontent="formatNumber(ws_priv)"></span><span class="k">k</span>
</td>
- <td class='number'>
- <span class='th' jscontent="formatNumber(ws_shared)"></span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" jscontent="formatNumber(ws_shared)"></span><span class="k">k</span>
</td>
</tr>
- <tr class='total doNotFilter'>
- <td class='pid'>
+ <tr class="total doNotFilter">
+ <td class="pid">
</td>
- <td class='name'>
+ <td class="name">
&Sigma;
</td>
- <td class='number'>
- <span class='th' id="tot_ws_priv">0</span><span class='k'>k</span>
+ <td class="number">
+ <span class="th" id="tot_ws_priv">0</span><span class="k">k</span>
</td>
- <td class='number'>
+ <td class="number">
</td>
</tr>
- <tr class='noResults'>
- <td colspan='99'>
+ <tr class="noResults">
+ <td colspan="99">
No results found.
</td>
</tr>

Powered by Google App Engine
This is Rietveld 408576698