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

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

Issue 2562123002: MD Settings: Bluetooth: Update icon and title to reflect state (Closed)
Patch Set: . Created 4 years 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.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
index 9bbffbca128eb7a9de9a327fd6a05d7c7579688c..2ef1a46b26c5fc977bf6c7e6ce4fcb32a5dc498b 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
@@ -42,8 +42,9 @@
<div class="settings-box first" actionable
on-tap="toggleDeviceListExpanded_">
<div class="start layout horizontal">
- <iron-icon icon="settings:bluetooth"></iron-icon>
- <span class="middle flex">$i18n{bluetoothEnable}</span>
+ <iron-icon icon="[[getIcon_(bluetoothEnabled_, deviceConnected_)]]">
+ </iron-icon>
+ <span class="middle flex">[[getTitle_(bluetoothEnabled_)]]</span>
dschuyler 2016/12/13 00:54:43 IIUC, when the toggle changes, the text for the to
stevenjb 2016/12/13 19:22:36 See the associated bug, filed by our UX designer :
<cr-policy-pref-indicator
pref="[[prefs.cros.device.allow_bluetooth]]"
hidden="[[prefs.cros.device.allow_bluetooth.value]]">
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698