OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in
dicator.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in
dicator.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-flex-layout/classe
s/iron-flex-layout.html"> | 3 <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/neon-animation/neon-ani
matable.html"> | 4 <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/paper-icon-button/paper
-icon-button-light.html"> | 5 <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-toggle-button/pap
er-toggle-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
7 <link rel="import" href="../i18n_setup.html"> | 7 <link rel="import" href="../i18n_setup.html"> |
8 <link rel="import" href="../icons.html"> | 8 <link rel="import" href="../icons.html"> |
9 <link rel="import" href="../prefs/prefs.html"> | 9 <link rel="import" href="../prefs/prefs.html"> |
10 <link rel="import" href="../settings_page/settings_animated_pages.html"> | 10 <link rel="import" href="../settings_page/settings_animated_pages.html"> |
(...skipping 10 matching lines...) Expand all Loading... |
21 <div id="bluetoothDevices" | 21 <div id="bluetoothDevices" |
22 class="settings-box two-line" actionable on-tap="onTap_"> | 22 class="settings-box two-line" actionable on-tap="onTap_"> |
23 <iron-icon icon="[[getIcon_(bluetoothEnabled_)]]"></iron-icon> | 23 <iron-icon icon="[[getIcon_(bluetoothEnabled_)]]"></iron-icon> |
24 <div class="middle"> | 24 <div class="middle"> |
25 $i18n{bluetoothPageTitle} | 25 $i18n{bluetoothPageTitle} |
26 <div class="secondary" id="bluetoothSecondary"> | 26 <div class="secondary" id="bluetoothSecondary"> |
27 [[getOnOffString_(bluetoothEnabled_, | 27 [[getOnOffString_(bluetoothEnabled_, |
28 '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]] | 28 '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]] |
29 </div> | 29 </div> |
30 </div> | 30 </div> |
31 <cr-policy-pref-indicator | 31 <cr-policy-pref-indicator icon-aria-label="$i18n{bluetoothPageTitle}" |
32 pref="[[prefs.cros.device.allow_bluetooth]]" | 32 pref="[[prefs.cros.device.allow_bluetooth]]" |
33 hidden="[[prefs.cros.device.allow_bluetooth.value]]"> | 33 hidden="[[prefs.cros.device.allow_bluetooth.value]]"> |
34 </cr-policy-pref-indicator> | 34 </cr-policy-pref-indicator> |
35 <button class="subpage-arrow" is="paper-icon-button-light" | 35 <button class="subpage-arrow" is="paper-icon-button-light" |
36 on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}" | 36 on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}" |
37 aria-describedby="bluetoothSecondary"> | 37 aria-describedby="bluetoothSecondary"> |
38 </button> | 38 </button> |
39 <div class="secondary-action"> | 39 <div class="secondary-action"> |
40 <paper-toggle-button id="enableBluetooth" | 40 <paper-toggle-button id="enableBluetooth" |
41 checked="{{bluetoothEnabled_}}" | 41 checked="{{bluetoothEnabled_}}" |
(...skipping 13 matching lines...) Expand all Loading... |
55 bluetooth="[[bluetooth]]" | 55 bluetooth="[[bluetooth]]" |
56 bluetooth-private="[[bluetoothPrivate]]"> | 56 bluetooth-private="[[bluetoothPrivate]]"> |
57 </settings-bluetooth-subpage> | 57 </settings-bluetooth-subpage> |
58 </settings-subpage> | 58 </settings-subpage> |
59 </template> | 59 </template> |
60 | 60 |
61 </settings-animated-pages> | 61 </settings-animated-pages> |
62 </template> | 62 </template> |
63 <script src="bluetooth_page.js"></script> | 63 <script src="bluetooth_page.js"></script> |
64 </dom-module> | 64 </dom-module> |
OLD | NEW |