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

Unified Diff: chrome/common/extensions/docs/examples/api/systemInfo/index.html

Issue 11312191: Update example code to show how to use systemInfo.cpu and systemInfo.memory API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 | « no previous file | chrome/common/extensions/docs/examples/api/systemInfo/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/api/systemInfo/index.html
diff --git a/chrome/common/extensions/docs/examples/api/systemInfo/index.html b/chrome/common/extensions/docs/examples/api/systemInfo/index.html
index aa6d7c63f7e0ae8f13a8c1125512bedc68d691af..356da3cd23473761dccad670d88650261358d295 100644
--- a/chrome/common/extensions/docs/examples/api/systemInfo/index.html
+++ b/chrome/common/extensions/docs/examples/api/systemInfo/index.html
@@ -4,14 +4,25 @@
<script src="main.js"></script>
</head>
<body>
-<div id="title"><b>Storage Information</b></div>
-<div id="storage-list">
- <i>Loading ...</i>
+<h2><b>CPU Information</b></h2>
+<div id="cpu-info">
+ <i> Loading ...</i>
+</div>
+<div id="cpu-cores">
+ <i> <br>Loading ...</i>
+</div>
+<h2><b>Memory Information</b></h2>
+<div id="memory-info">
+ <i>Loading...</i>
</div>
+<h2><b>Storage Information</b></h2>
<div>
- <i>Monitor free space change? </i>
- <input type="button" value="Start" id="start-btn"></input>
- <input type="button" value="Stop" id="stop-btn"></input>
+ <i>Monitor free space change? </i>
+ <input type="button" value="Start" id="start-btn"></input>
+ <input type="button" value="Stop" id="stop-btn"></input>
+</div>
+<div id="storage-list">
+ <i>Loading ...</i>
</div>
</body>
</html>
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/systemInfo/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698