Chromium Code Reviews| Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js |
| diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js |
| index 41ba307bde90b37e189e6bc0065722102514e0f7..e840d0085406700c3f0fd3c5930ef0a8bb9e7651 100644 |
| --- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js |
| +++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js |
| @@ -197,6 +197,14 @@ Polymer({ |
| }, |
| /** |
| + * @return {boolean} Whether the <iron-collapse> can be shown. |
| + * @private |
| + */ |
| + canShowDeviceList_: function() { |
|
stevenjb
2016/04/12 15:58:49
We never resolved this in the style guide, but we
Dan Beam
2016/04/12 19:51:02
Done.
|
| + return this.bluetoothEnabled && this.deviceListExpanded; |
| + }, |
| + |
| + /** |
| * If bluetooth is enabled, request the complete list of devices and update |
| * |deviceList|. |
| * @private |