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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js

Issue 1875413002: MD Settings: polish top-level bluetooth page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698