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

Unified Diff: chrome/browser/resources/chromeos/power.html

Issue 149973002: [chromeos/about:power] Collect cpuidle and cpufreq stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: read sysfs on blocking pool via a non-member function Created 6 years, 9 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/resources/chromeos/power.css ('k') | chrome/browser/resources/chromeos/power.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/power.html
diff --git a/chrome/browser/resources/chromeos/power.html b/chrome/browser/resources/chromeos/power.html
index 3eefcdf9959f58ffeea45105f62fc3ec2cec401c..fd34144443de194e8c205faf884ff44e3b4abb7b 100644
--- a/chrome/browser/resources/chromeos/power.html
+++ b/chrome/browser/resources/chromeos/power.html
@@ -10,28 +10,64 @@
<script src="chrome://power/power.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
- <div id="main-layout">
- <div id="battery-charge-section">
- <h3 i18n-content="batteryChargePercentageHeader"></h3>
- <div class="plot-canvas-div">
- <canvas id="battery-charge-percentage-canvas" width="600" height="200">
- </canvas>
- </div>
+ <table id="main-table">
+ <tr class="section-row">
+ <td class="title-cell">
+ <p i18n-content="batteryChargeSectionTitle" class="title-text"></p>
+ </td>
+ <td class="show-button-cell">
+ <button id="battery-charge-show-button" class="show-button"
+ i18n-content="showButton">
+ </button>
+ </td>
+ <td id="battery-charge-cell" class="plots-cell">
+ <div id="battery-charge-section" class="section-div">
+ <div class="plots-div" id="battery-charge-plots-div"></div>
+ <button id="battery-charge-reload-button" class="reload-button"
+ i18n-content="reloadButton">
+ </button>
+ </div>
+ </td>
+ </tr>
- <h3 i18n-content="batteryDischargeRateHeader"></h3>
- <p i18n-content="negativeDischargeRateInfo"></p>
- <div class="plot-canvas-div">
- <canvas id="battery-discharge-rate-canvas" width="600" height="200">
- </canvas>
- </div>
+ <tr class="section-row">
+ <td class="title-cell">
+ <p i18n-content="cpuIdleSectionTitle" class="title-text"></p>
+ </td>
+ <td class="show-button-cell">
+ <button id="cpu-idle-show-button" class="show-button"
+ i18n-content="showButton">
+ </button>
+ </td>
+ <td id="cpu-idle-cell" class="plots-cell">
+ <div id="cpu-idle-section" class="section-div">
+ <div class="plots-div" id="cpu-idle-plots-div"></div>
+ <button id="cpu-idle-reload-button" class="reload-button"
+ i18n-content="reloadButton">
+ </button>
+ </div>
+ </td>
+ </tr>
- <button id="battery-charge-reload-button" class="reload-button"
- i18n-content="reloadButton">
- </button>
- </div>
-
- <hr class="section-boundary">
- </div>
+ <tr class="section-row">
+ <td class="title-cell">
+ <p i18n-content="cpuFreqSectionTitle" class="title-text"></p>
+ </td>
+ <td class="show-button-cell">
+ <button id="cpu-freq-show-button" class="show-button"
+ i18n-content="showButton">
+ </button>
+ </td>
+ <td id="cpu-freq-cell" class="plots-cell">
+ <div id="cpu-freq-section" class="section-div">
+ <div class="plots-div" id="cpu-freq-plots-div"></div>
+ <button id="cpu-freq-reload-button" class="reload-button"
+ i18n-content="reloadButton">
+ </button>
+ </div>
+ </td>
+ </tr>
+ </table>
<script src="chrome://resources/js/i18n_template2.js"></script>
</body>
</html>
« no previous file with comments | « chrome/browser/resources/chromeos/power.css ('k') | chrome/browser/resources/chromeos/power.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698