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

Side by Side Diff: chrome/browser/resources/settings/device_page/power.html

Issue 2629573006: chromeos: Add Power device page to chrome://md-settings. (Closed)
Patch Set: merge Created 3 years, 9 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 <link rel="import" href="chrome://resources/html/cr.html">
2 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
3 <link rel="import" href="chrome://resources/html/md_select_css.html">
4 <link rel="import" href="chrome://resources/html/polymer.html">
5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
6 <link rel="import" href="../route.html">
7 <link rel="import" href="../settings_shared_css.html">
8
9 <dom-module id="settings-power">
10 <template>
11 <style include="settings-shared md-select"></style>
12 <div id="powerSourceRow" class="settings-box first two-line">
13 <div class="start">
14 <div>[[powerSourceLabel_]]</div>
15 <div class="secondary">[[batteryStatus_.statusText]]</div>
16 </div>
17 <div class="md-select-wrapper" hidden$="[[!showPowerSourceDropdown_]]">
18 <select id="powerSource" class="md-select"
19 on-change="onPowerSourceChange_">
20 <option value="" selected$="[[isEqual_('', selectedPowerSourceId_)]]">
21 $i18n{powerSourceBattery}
22 </option>
23 <template is="dom-repeat" items="[[powerSources_]]">
24 <option value="[[item.id]]"
25 selected$="[[isEqual_(item.id, selectedPowerSourceId_)]]">
26 [[item.description]]
27 </option>
28 </template>
29 </select>
30 <span class="md-select-underline"></span>
31 </div>
32 <div hidden$="[[showPowerSourceDropdown_]]">
33 [[powerSourceName_]]
34 </div>
35 </div>
36 </template>
37 <script src="power.js"></script>
38 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698