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

Unified Diff: chrome/browser/resources/chromeos/emulator/device_emulator.html

Issue 1205753002: Create chrome://device-emulator and add the ability to get a battery percentage and send an updated… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create chrome://device-emulator and add the ability to get a battery percentage and send an updated… Created 5 years, 6 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/emulator/device_emulator.html
diff --git a/chrome/browser/resources/chromeos/emulator/device_emulator.html b/chrome/browser/resources/chromeos/emulator/device_emulator.html
new file mode 100644
index 0000000000000000000000000000000000000000..8b7b3edfaa11538611a8d7791666aaa9e50bb432
--- /dev/null
+++ b/chrome/browser/resources/chromeos/emulator/device_emulator.html
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Device Emulator</title>
+ <link rel="stylesheet" href="device_emulator.css">
+ <script src="chrome://resources/js/cr.js"></script>
+ <script src="chrome://resources/js/load_time_data.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="strings.js"></script>
+ <script src="device_emulator.js"></script>
+</head>
+<body>
+ <div>
+ <h1>ChromeOS Device Emulator</h1>
+ <hr>
+
+ <div>
+ <div>
+ <h2>Battery/Power Settings</h2>
+ </div>
+ <div>
+ <form id="power-settings-form">
+ <label>
+ Battery Percentage
+ <input id="battery-percent-slider" type="range" min="0" max="100">
+ </label>
+ <input id="battery-percent-text" type="number" min="0" max="100">
+ </form>
+ </div>
+ </div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698