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

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

Issue 2629573006: chromeos: Add Power device page to chrome://md-settings. (Closed)
Patch Set: update copyright year Created 3 years, 11 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
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="/device_page/device_page_browser_proxy.html"> 7 <link rel="import" href="/device_page/device_page_browser_proxy.html">
8 <link rel="import" href="/device_page/display.html"> 8 <link rel="import" href="/device_page/display.html">
9 <link rel="import" href="/device_page/keyboard.html"> 9 <link rel="import" href="/device_page/keyboard.html">
10 <link rel="import" href="/device_page/pointers.html"> 10 <link rel="import" href="/device_page/pointers.html">
11 <link rel="import" href="/device_page/power.html">
11 <link rel="import" href="/device_page/storage.html"> 12 <link rel="import" href="/device_page/storage.html">
12 <link rel="import" href="/device_page/stylus.html"> 13 <link rel="import" href="/device_page/stylus.html">
13 <link rel="import" href="/icons.html"> 14 <link rel="import" href="/icons.html">
14 <link rel="import" href="/prefs/prefs.html"> 15 <link rel="import" href="/prefs/prefs.html">
15 <link rel="import" href="/route.html"> 16 <link rel="import" href="/route.html">
16 <link rel="import" href="/settings_page/settings_animated_pages.html"> 17 <link rel="import" href="/settings_page/settings_animated_pages.html">
17 <link rel="import" href="/settings_page/settings_subpage.html"> 18 <link rel="import" href="/settings_page/settings_subpage.html">
18 <link rel="import" href="/settings_shared_css.html"> 19 <link rel="import" href="/settings_shared_css.html">
19 20
20 <dom-module id="settings-device-page"> 21 <dom-module id="settings-device-page">
(...skipping 23 matching lines...) Expand all
44 <div class="middle">$i18n{stylusTitle}</div> 45 <div class="middle">$i18n{stylusTitle}</div>
45 <button class="subpage-arrow" is="paper-icon-button-light"></button> 46 <button class="subpage-arrow" is="paper-icon-button-light"></button>
46 </div> 47 </div>
47 </template> 48 </template>
48 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_" 49 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_"
49 actionable> 50 actionable>
50 <iron-icon icon="settings:desktop-windows"></iron-icon> 51 <iron-icon icon="settings:desktop-windows"></iron-icon>
51 <div class="middle">$i18n{displayTitle}</div> 52 <div class="middle">$i18n{displayTitle}</div>
52 <button class="subpage-arrow" is="paper-icon-button-light"></button> 53 <button class="subpage-arrow" is="paper-icon-button-light"></button>
53 </div> 54 </div>
55 <div id="powerRow" class="settings-box" on-tap="onPowerTap_" actionable>
56 <iron-icon icon="settings:power-settings-new"></iron-icon>
57 <div class="middle">$i18n{powerTitle}</div>
58 <button class="subpage-arrow" is="paper-icon-button-light"></button>
59 </div>
54 <div id="storageRow" class="settings-box" on-tap="onStorageTap_" 60 <div id="storageRow" class="settings-box" on-tap="onStorageTap_"
55 actionable> 61 actionable>
56 <iron-icon icon="settings:storage"></iron-icon> 62 <iron-icon icon="settings:storage"></iron-icon>
57 <div class="middle">$i18n{storageTitle}</div> 63 <div class="middle">$i18n{storageTitle}</div>
58 <button class="subpage-arrow" is="paper-icon-button-light"></button> 64 <button class="subpage-arrow" is="paper-icon-button-light"></button>
59 </div> 65 </div>
60 </neon-animatable> 66 </neon-animatable>
61 <template is="dom-if" route-path="/pointer-overlay"> 67 <template is="dom-if" route-path="/pointer-overlay">
62 <settings-subpage 68 <settings-subpage
63 associated-control="[[$$('#pointersRow')]]" 69 associated-control="[[$$('#pointersRow')]]"
(...skipping 19 matching lines...) Expand all
83 </settings-subpage> 89 </settings-subpage>
84 </template> 90 </template>
85 </template> 91 </template>
86 <template is="dom-if" route-path="/display"> 92 <template is="dom-if" route-path="/display">
87 <settings-subpage 93 <settings-subpage
88 associated-control="[[$$('#displayRow')]]" 94 associated-control="[[$$('#displayRow')]]"
89 page-title="$i18n{displayTitle}"> 95 page-title="$i18n{displayTitle}">
90 <settings-display></settings-display> 96 <settings-display></settings-display>
91 </settings-subpage> 97 </settings-subpage>
92 </template> 98 </template>
99 <template is="dom-if" route-path="/power">
100 <settings-subpage
101 associated-control="[[$$('#powerRow')]]"
102 page-title="$i18n{powerTitle}">
103 <settings-power></settings-power>
104 </settings-subpage>
105 </template>
93 <template is="dom-if" route-path="/storage"> 106 <template is="dom-if" route-path="/storage">
94 <settings-subpage 107 <settings-subpage
95 associated-control="[[$$('#storageRow')]]" 108 associated-control="[[$$('#storageRow')]]"
96 page-title="$i18n{storageTitle}"> 109 page-title="$i18n{storageTitle}">
97 <settings-storage></settings-storage> 110 <settings-storage></settings-storage>
98 </settings-subpage> 111 </settings-subpage>
99 </template> 112 </template>
100 </settings-animated-pages> 113 </settings-animated-pages>
101 </template> 114 </template>
102 <script src="device_page.js"></script> 115 <script src="device_page.js"></script>
103 </dom-module> 116 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698