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

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

Issue 123713002: [chromeos] Add an about:power UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 11 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/chromeos/power.html
diff --git a/chrome/browser/resources/chromeos/power.html b/chrome/browser/resources/chromeos/power.html
new file mode 100644
index 0000000000000000000000000000000000000000..743d1131df72528218894ae958d620312134f8ed
--- /dev/null
+++ b/chrome/browser/resources/chromeos/power.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title id="power" i18n-content="titleText"></title>
arv (Not doing code reviews) 2014/01/06 23:29:57 This ID is not needed. You can do `document.title
+ <link rel="stylesheet" href="chrome://power/power.css">
+ <script src="chrome://resources/js/load_time_data.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="chrome://power/strings.js"></script>
+ <script src="chrome://power/power.js"></script>
+<head>
Daniel Erat 2014/01/06 23:02:41 </head> (if this was copied from somewhere that a
Siva Chandra 2014/01/07 01:19:19 Done.
+<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
+ <div id="main-layout">
+ <div id="battery-charge-section">
+ <h3 i18n-content="batteryChargeHeader"></h3>
+ <div class="plot-canvas-div">
+ <canvas id="battery-charge-canvas" width=600 height=200></canvas>
arv (Not doing code reviews) 2014/01/06 23:29:57 Missing quotes around the attributes
Siva Chandra 2014/01/07 01:19:19 Done.
+ </div>
+ <button id="battery-charge-reload-button" class="reload-button"
+ i18n-content="reloadButton">
+ </button>
+ </div>
+
+ <hr class="section-boundary">
+ </div>
+ <script src="chrome://resources/js/i18n_template2.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698