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

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

Issue 2675383003: MD Settings: CrOS: Elim device page icons (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/device_page.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/md_select_css.html"> 2 <link rel="import" href="chrome://resources/html/md_select_css.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
6 <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">
7 <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">
8 <link rel="import" href="device_page_browser_proxy.html"> 7 <link rel="import" href="device_page_browser_proxy.html">
9 <link rel="import" href="display.html"> 8 <link rel="import" href="display.html">
10 <link rel="import" href="keyboard.html"> 9 <link rel="import" href="keyboard.html">
11 <link rel="import" href="pointers.html"> 10 <link rel="import" href="pointers.html">
12 <link rel="import" href="storage.html"> 11 <link rel="import" href="storage.html">
13 <link rel="import" href="stylus.html"> 12 <link rel="import" href="stylus.html">
14 <link rel="import" href="../icons.html">
15 <link rel="import" href="../prefs/prefs.html"> 13 <link rel="import" href="../prefs/prefs.html">
16 <link rel="import" href="../route.html"> 14 <link rel="import" href="../route.html">
17 <link rel="import" href="../settings_page/settings_animated_pages.html"> 15 <link rel="import" href="../settings_page/settings_animated_pages.html">
18 <link rel="import" href="../settings_page/settings_subpage.html"> 16 <link rel="import" href="../settings_page/settings_subpage.html">
19 <link rel="import" href="../settings_shared_css.html"> 17 <link rel="import" href="../settings_shared_css.html">
20 18
21 <dom-module id="settings-device-page"> 19 <dom-module id="settings-device-page">
22 <template> 20 <template>
23 <style include="settings-shared md-select"></style> 21 <style include="settings-shared md-select"></style>
24 <settings-animated-pages id="pages" section="device"> 22 <settings-animated-pages id="pages" section="device">
25 <neon-animatable id="main" route-path="default"> 23 <neon-animatable id="main" route-path="default">
26 <div id="pointersRow" class="settings-box first" 24 <div id="pointersRow" class="settings-box first"
27 on-tap="onPointersTap_" actionable> 25 on-tap="onPointersTap_" actionable>
28 <iron-icon icon="[[getPointersIcon_(hasMouse_, hasTouchpad_)]]">
29 </iron-icon>
30 <div class="middle"> 26 <div class="middle">
31 [[getPointersTitle_(hasMouse_, hasTouchpad_)]] 27 [[getPointersTitle_(hasMouse_, hasTouchpad_)]]
32 </div> 28 </div>
33 <button class="subpage-arrow" is="paper-icon-button-light"></button> 29 <button class="subpage-arrow" is="paper-icon-button-light"></button>
34 </div> 30 </div>
35 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_" 31 <div id="keyboardRow" class="settings-box" on-tap="onKeyboardTap_"
36 actionable> 32 actionable>
37 <iron-icon icon="settings:keyboard"></iron-icon>
38 <div class="middle">$i18n{keyboardTitle}</div> 33 <div class="middle">$i18n{keyboardTitle}</div>
39 <button class="subpage-arrow" is="paper-icon-button-light"></button> 34 <button class="subpage-arrow" is="paper-icon-button-light"></button>
40 </div> 35 </div>
41 <template is="dom-if" if="[[hasStylus_]]"> 36 <template is="dom-if" if="[[hasStylus_]]">
42 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_" 37 <div id="stylusRow" class="settings-box" on-tap="onStylusTap_"
43 actionable> 38 actionable>
44 <iron-icon icon="settings:note"></iron-icon>
45 <div class="middle">$i18n{stylusTitle}</div> 39 <div class="middle">$i18n{stylusTitle}</div>
46 <button class="subpage-arrow" is="paper-icon-button-light"></button> 40 <button class="subpage-arrow" is="paper-icon-button-light"></button>
47 </div> 41 </div>
48 </template> 42 </template>
49 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_" 43 <div id="displayRow" class="settings-box" on-tap="onDisplayTap_"
50 actionable> 44 actionable>
51 <iron-icon icon="settings:desktop-windows"></iron-icon>
52 <div class="middle">$i18n{displayTitle}</div> 45 <div class="middle">$i18n{displayTitle}</div>
53 <button class="subpage-arrow" is="paper-icon-button-light"></button> 46 <button class="subpage-arrow" is="paper-icon-button-light"></button>
54 </div> 47 </div>
55 <div id="storageRow" class="settings-box" on-tap="onStorageTap_" 48 <div id="storageRow" class="settings-box" on-tap="onStorageTap_"
56 actionable> 49 actionable>
57 <iron-icon icon="settings:storage"></iron-icon>
58 <div class="middle">$i18n{storageTitle}</div> 50 <div class="middle">$i18n{storageTitle}</div>
59 <button class="subpage-arrow" is="paper-icon-button-light"></button> 51 <button class="subpage-arrow" is="paper-icon-button-light"></button>
60 </div> 52 </div>
61 <template is="dom-if" if="[[enablePowerSettings_]]"> 53 <template is="dom-if" if="[[enablePowerSettings_]]">
62 <div id="powerRow" class="settings-box two-line"> 54 <div id="powerRow" class="settings-box two-line">
63 <iron-icon icon="[[batteryIcon_]]"></iron-icon>
64 <div class="middle"> 55 <div class="middle">
65 <div>[[powerLabel_]]</div> 56 <div>[[powerLabel_]]</div>
66 <div class="secondary">[[batteryStatus_.statusText]]</div> 57 <div class="secondary">[[batteryStatus_.statusText]]</div>
67 </div> 58 </div>
68 <div class="md-select-wrapper" 59 <div class="md-select-wrapper"
69 hidden$="[[!showPowerDropdown_]]"> 60 hidden$="[[!showPowerDropdown_]]">
70 <select id="powerSource" class="md-select" 61 <select id="powerSource" class="md-select"
71 on-change="onPowerSourceChange_"> 62 on-change="onPowerSourceChange_">
72 <option value="" 63 <option value=""
73 selected$="[[isEqual_('', selectedPowerSourceId_)]]"> 64 selected$="[[isEqual_('', selectedPowerSourceId_)]]">
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 <settings-subpage 113 <settings-subpage
123 associated-control="[[$$('#storageRow')]]" 114 associated-control="[[$$('#storageRow')]]"
124 page-title="$i18n{storageTitle}"> 115 page-title="$i18n{storageTitle}">
125 <settings-storage></settings-storage> 116 <settings-storage></settings-storage>
126 </settings-subpage> 117 </settings-subpage>
127 </template> 118 </template>
128 </settings-animated-pages> 119 </settings-animated-pages>
129 </template> 120 </template>
130 <script src="device_page.js"></script> 121 <script src="device_page.js"></script>
131 </dom-module> 122 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/device_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698