| 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/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.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/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/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="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
| 8 <link rel="import" href="../i18n_setup.html"> | 8 <link rel="import" href="../i18n_setup.html"> |
| 9 <link rel="import" href="../icons.html"> | 9 <link rel="import" href="../icons.html"> |
| 10 <link rel="import" href="../prefs/prefs.html"> | 10 <link rel="import" href="../prefs/prefs.html"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 pref="[[prefs.cros.device.allow_bluetooth]]" | 31 pref="[[prefs.cros.device.allow_bluetooth]]" |
| 32 hidden="[[prefs.cros.device.allow_bluetooth.value]]"> | 32 hidden="[[prefs.cros.device.allow_bluetooth.value]]"> |
| 33 </cr-policy-pref-indicator> | 33 </cr-policy-pref-indicator> |
| 34 <button class="subpage-arrow" is="paper-icon-button-light" | 34 <button class="subpage-arrow" is="paper-icon-button-light" |
| 35 on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}" | 35 on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}" |
| 36 aria-describedby="bluetoothSecondary"> | 36 aria-describedby="bluetoothSecondary"> |
| 37 </button> | 37 </button> |
| 38 <div class="secondary-action"> | 38 <div class="secondary-action"> |
| 39 <paper-toggle-button id="enableBluetooth" | 39 <paper-toggle-button id="enableBluetooth" |
| 40 checked="{{bluetoothEnabled_}}" | 40 checked="{{bluetoothEnabled_}}" |
| 41 disabled="[[!adapterState_.available]]" on-tap="stopTap_"> | 41 disabled="[[!adapterState_.available]]" on-tap="stopTap_" |
| 42 aria-label="$i18n{bluetoothToggleA11yLabel}"> |
| 42 </paper-toggle-button> | 43 </paper-toggle-button> |
| 43 </div> | 44 </div> |
| 44 </div> | 45 </div> |
| 45 </neon-animatable> | 46 </neon-animatable> |
| 46 | 47 |
| 47 <template is="dom-if" route-path="/bluetoothDevices"> | 48 <template is="dom-if" route-path="/bluetoothDevices"> |
| 48 <settings-subpage associated-control="[[$$('#bluetoothDevices')]]" | 49 <settings-subpage associated-control="[[$$('#bluetoothDevices')]]" |
| 49 page-title="$i18n{bluetoothPageTitle}"> | 50 page-title="$i18n{bluetoothPageTitle}"> |
| 50 <settings-bluetooth-subpage | 51 <settings-bluetooth-subpage |
| 51 adapter-state="[[adapterState_]]" | 52 adapter-state="[[adapterState_]]" |
| 52 bluetooth-enabled="{{bluetoothEnabled_}}" | 53 bluetooth-enabled="{{bluetoothEnabled_}}" |
| 53 bluetooth="[[bluetooth]]" | 54 bluetooth="[[bluetooth]]" |
| 54 bluetooth-private="[[bluetoothPrivate]]"> | 55 bluetooth-private="[[bluetoothPrivate]]"> |
| 55 </settings-bluetooth-subpage> | 56 </settings-bluetooth-subpage> |
| 56 </settings-subpage> | 57 </settings-subpage> |
| 57 </template> | 58 </template> |
| 58 | 59 |
| 59 </settings-animated-pages> | 60 </settings-animated-pages> |
| 60 </template> | 61 </template> |
| 61 <script src="bluetooth_page.js"></script> | 62 <script src="bluetooth_page.js"></script> |
| 62 </dom-module> | 63 </dom-module> |
| OLD | NEW |