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

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

Issue 1959163002: MD Settings: use custom iconset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SettingsIcons
Patch Set: rebase Created 4 years, 7 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/polymer/v1_0/iron-collapse/iron-coll apse.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons .html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
7 <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/neon-animation/neon-ani matable.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html">
9 <link rel="import" href="chrome://md-settings/icons.html">
10 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> 10 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
11 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 11 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
12 <link rel="import" href="bluetooth_device_list_item.html"> 12 <link rel="import" href="bluetooth_device_list_item.html">
13 <link rel="import" href="bluetooth_add_device_dialog.html"> 13 <link rel="import" href="bluetooth_add_device_dialog.html">
14 <link rel="import" href="bluetooth_pair_device_dialog.html"> 14 <link rel="import" href="bluetooth_pair_device_dialog.html">
15 15
16 <dom-module id="settings-bluetooth-page"> 16 <dom-module id="settings-bluetooth-page">
17 <template> 17 <template>
18 <style include="settings-shared"> 18 <style include="settings-shared">
19 iron-icon[icon="device:bluetooth"] { 19 iron-icon {
20 -webkit-margin-end: var(--iron-icon-spacing); 20 -webkit-margin-end: var(--iron-icon-spacing);
21 } 21 }
22 22
23 cr-expand-button { 23 cr-expand-button {
24 -webkit-margin-end: 10px; 24 -webkit-margin-end: 10px;
25 } 25 }
26 26
27 #deviceList { 27 #deviceList {
28 max-height: 300px; 28 max-height: 300px;
29 overflow-y: auto; 29 overflow-y: auto;
30 } 30 }
31 31
32 .no-devices { 32 .no-devices {
33 min-height: var(--settings-row-min-height); 33 min-height: var(--settings-row-min-height);
34 } 34 }
35 35
36 settings-bluetooth-add-device-dialog, 36 settings-bluetooth-add-device-dialog,
37 settings-bluetooth-pair-device-dialog { 37 settings-bluetooth-pair-device-dialog {
38 height: 400px; 38 height: 400px;
39 padding: 0; 39 padding: 0;
40 width: 500px; 40 width: 500px;
41 } 41 }
42 </style> 42 </style>
43 <settings-animated-pages id="pages" current-route="{{currentRoute}}" 43 <settings-animated-pages id="pages" current-route="{{currentRoute}}"
44 section="bluetooth"> 44 section="bluetooth">
45 <neon-animatable id="main"> 45 <neon-animatable id="main">
46 <div class="settings-box first"> 46 <div class="settings-box first">
47 <div class="layout horizontal center flex"> 47 <div class="layout horizontal center flex">
48 <iron-icon icon="device:bluetooth"></iron-icon> 48 <iron-icon icon="settings:bluetooth"></iron-icon>
49 <span class="flex" i18n-content="bluetoothEnable"></span> 49 <span class="flex" i18n-content="bluetoothEnable"></span>
50 <cr-expand-button id="expandListButton" 50 <cr-expand-button id="expandListButton"
51 hidden$="[[!bluetoothEnabled]]" 51 hidden$="[[!bluetoothEnabled]]"
52 expanded="{{deviceListExpanded}}"> 52 expanded="{{deviceListExpanded}}">
53 </cr-expand-button> 53 </cr-expand-button>
54 <paper-toggle-button id="enableBluetooth" 54 <paper-toggle-button id="enableBluetooth"
55 checked="{{bluetoothEnabled}}" 55 checked="{{bluetoothEnabled}}"
56 on-change="onBluetoothEnabledChange_"> 56 on-change="onBluetoothEnabledChange_">
57 </paper-toggle-button> 57 </paper-toggle-button>
58 </div> 58 </div>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 pairing-event="[[pairingEvent]]" 101 pairing-event="[[pairingEvent]]"
102 on-response="onResponse_" 102 on-response="onResponse_"
103 on-close-dialog="onCloseDialog_"> 103 on-close-dialog="onCloseDialog_">
104 </settings-bluetooth-pair-device-dialog> 104 </settings-bluetooth-pair-device-dialog>
105 </template> 105 </template>
106 </paper-dialog> 106 </paper-dialog>
107 107
108 </template> 108 </template>
109 <script src="bluetooth_page.js"></script> 109 <script src="bluetooth_page.js"></script>
110 </dom-module> 110 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698