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

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 i18n-content="deviceEmulatorTitle"></title> -->
michaelpg 2015/06/24 23:33:48 Don't comment things out. Just use placeholder str
rfrappier 2015/06/25 17:09:20 Done.
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">
michaelpg 2015/06/24 23:33:48 throughout: don't use "class" until you need it (w
rfrappier 2015/06/25 17:09:20 Done.
15 <!-- <h1 i18n-content="deviceEmulatorTitle"></h1> -->
16 <h1>ChromeOS Device Emulator</h1>
17 <hr>
18
19 <div class="control-group">
20 <div class="title">
21 <h2>Battery/Power Settings</h2>
22 </div>
23 <div class="group-body">
24 <form class="power-settings-form">
25 <label>
26 Battery Percentage
27 <input id="batteryPercentSlider" type="range" min="0" max="100">
michaelpg 2015/06/24 23:33:48 Per the style guide, element IDs use-hyphen-form.
rfrappier 2015/06/25 17:09:20 Done.
28 </label>
29 <input id="batteryPercentText" type="number" min="0" max="100">
30 </form>
31 </div>
32 </div>
33 </div>
34
35 <!-- <script src="chrome://resources/js/i18n_template2.js"></script> -->
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698