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..405d29b9cd0f386f6a675481e6f7805c0a3d2699 100644 |
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js |
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js |
@@ -197,6 +197,16 @@ Polymer({ |
}, |
/** |
+ * @param {boolean} bluetoothEnabled |
+ * @param {boolean} deviceListExpanded |
+ * @return {boolean} Whether the <iron-collapse> can be shown. |
+ * @private |
+ */ |
+ canShowDeviceList_: function(bluetoothEnabled, deviceListExpanded) { |
+ return bluetoothEnabled && deviceListExpanded; |
+ }, |
+ |
+ /** |
* If bluetooth is enabled, request the complete list of devices and update |
* |deviceList|. |
* @private |