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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Device Emulator</title>
6 <link rel="stylesheet" href="device_emulator.css">
7 <script src="chrome://resources/js/cr.js"></script>
8 <script src="chrome://resources/js/load_time_data.js"></script>
9 <script src="chrome://resources/js/util.js"></script>
10 <script src="strings.js"></script>
11 <script src="device_emulator.js"></script>
12 </head>
13 <body>
14 <div class="container">
15 <h1>ChromeOS Device Emulator</h1>
16 <hr>
17
18 <div class="form-group">
19 <div class="group-header">
20 <h2>Battery/Power Settings</h2>
21 </div>
22 <div class="group-body">
23 <form id="power-settings-form">
24 <div class="control-group">
25 <label>
26 Battery Present
27 <input id="battery-present-checkbox" type="checkbox">
28 </label>
29 </div>
30
31 <div class="control-group">
32 <label>
33 Battery Percentage
34 <input id="battery-percent-slider" type="range" min="0" max="100">
35 </label>
36 <input id="battery-percent-text" type="number" min="0" max="100">
37 </div>
38
39 <div class="control-group">
40 <label>
41 Power Source
42 <select id="power-source-select">
43 </select>
44 </label>
45 </div>
46
47 <div class="control-group">
48 <label>
49 <p>Set Battery Timing</p>
50 <label>
51 <p>
52 <input id="time-until-empty-radio" type="radio" name="time-unt il-radio">
michaelpg 2015/06/26 17:45:59 Stick to 80-column limit: <inpu
rfrappier 2015/06/26 18:58:03 Done.
53 Time Until Battery Empty
54 </p>
55 </label>
56
57 <label>
58 <p>
59 <input id="time-until-full-radio" type="radio" name="time-unti l-radio">
michaelpg 2015/06/26 17:45:59 and here
rfrappier 2015/06/26 18:58:03 Done.
60 Time Until Battery Full
61 </p>
62 </label>
63 <input id="time-until-text" type="text">
64
65 </label>
66 </div>
67
68 </form>
69 </div>
70 </div>
71 </div>
72 </body>
73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698